Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / shapes / shape-outside-floats / shape-outside-image-too-big.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 body {
6     overflow: hidden;
7 }
8
9 #image-shape {
10     float: left;
11     shape-outside: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' fill='blue'/></svg>");
12     width: 40000px;
13     height: 40000px;
14 }
15
16 #content {
17     font: 50px/1 Ahem, sans-serif;
18     color: green;
19 }
20 </style>
21 <body>
22 <p>This test creates a shape-image image whose size is too large for this platform. The result should be the same as if shape-outside's size was 0.</p>
23 <div id="content">
24   <img id="image-shape" 
25     src="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' fill='blue'/></svg>"/>
26   X<br>X
27 </div>
28 </body>
29 </html>
30