Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / shapes / shape-outside-floats / shape-outside-image-fit-006-expected.html
blob26a134adf06f850c4f9c52bbb3d2b6d129c627d5
1 <html>
2 <head>
3 <style>
4 /*
5 The aspect-ratio preserving object-fit:cover property causes the 10x100 image to be scaled to 100x1000 and then centered.
6 The shape-outside is clipped to the image-shape's margin-box, which means that most of the scaled image will be clipped away.
7 */
8 #image-shape {
9 float: left;
10 width: 100px;
11 height: 200px;
12 object-fit: cover;
13 margin-top: 50px;
14 margin-bottom: 50px;
17 #content {
18 font: 50px/1 Ahem, sans-serif;
19 color: green;
21 </style>
22 <div id="content">
23 <img id="image-shape"
24 src="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10px' height='100px'><rect width='10' height='100' fill='blue'/></svg>">
25 </img>
26 X<br>X<br>X<br>X<br>X<br>X<br>X
27 </div>
28 </body>
29 </html>