Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / css / object-fit-delayed-img-svg.html
blob6c638b568f480afa4f194d27bdfbf6a656918e26
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <title>object-fit on SVG images that load slowly</title>
6 <style type="text/css">
7 img, embed, object, input, canvas, video {
8 height: 72px;
9 width: 144px;
10 margin: 2px 10px;
11 border: 1px solid black;
12 background-color: gray;
15 .group { object-fit: contain; }
16 .group > *:nth-child(1) { object-fit: fill; }
17 .group > *:nth-child(2) { object-fit: contain; }
18 .group > *:nth-child(3) { object-fit: cover; }
19 .group > *:nth-child(4) { object-fit: none; }
20 .group > *:nth-child(5) { object-fit: scale-down; }
21 .group > *:nth-child(6) { object-fit: inherit; }
22 .group > *:nth-child(7) { }
23 </style>
24 </head>
25 <body>
27 <div class="group">
28 <img id="hest" src="resources/delayedCircle.php" type="image/svg+xml">
29 <img src="resources/delayedCircle.php" type="image/svg+xml">
30 <img src="resources/delayedCircle.php" type="image/svg+xml">
31 <img src="resources/delayedCircle.php" type="image/svg+xml">
32 <img src="resources/delayedCircle.php" type="image/svg+xml">
33 <img src="resources/delayedCircle.php" type="image/svg+xml">
34 <img src="resources/delayedCircle.php" type="image/svg+xml">
35 </div>
37 <script>
38 document.body.offsetLeft; // Lay out now!
39 </script>
41 </body>
42 </html>