Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / object-fit-video-poster-expected.html
blob968fcbdd1c235f3b76b8be476cc5cc4ee29703eb
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <title>object-fit on video poster</title>
6 <style type="text/css">
7 .group > div {
8 display: inline-block;
9 overflow: hidden;
10 width: 72px;
11 height: 72px;
12 margin: 2px 10px;
13 border: 1px solid black;
14 background-color: gray;
17 .group > * > * { display: block; }
18 .group > *:nth-child(1) * { width:100%; height:100%; }
19 .group > *:nth-child(2) * { width:100%; margin-top:25%; }
20 .group > *:nth-child(3) * { height:100%; margin-left:-50%; }
21 .group > *:nth-child(4) * { width:288px; margin-left:-108px; margin-top:-36px; }
22 .group > *:nth-child(5) * { width:100%; margin-top:25%; }
23 .group > *:nth-child(6) * { width:100%; margin-top:25%; }
24 .group > *:nth-child(7) * { width:100%; height:100%; }
25 </style>
26 </head>
27 <body>
29 <div class="group">
30 <!-- Note about the first video here: There's no way to unlock a video from its
31 aspect ratio without using object-fit:fill, so we have to use it here as well
32 as in the test file. In order to actually being able to detect failures, use a
33 different background color. -->
34 <div style="background:salmon;"><video poster="resources/circles-landscape.png" style="object-fit:fill;"></video></div>
35 <div><video poster="resources/circles-landscape.png"></video></div>
36 <div><video poster="resources/circles-landscape.png"></video></div>
37 <div><video poster="resources/circles-landscape.png"></video></div>
38 <div><video poster="resources/circles-landscape.png"></video></div>
39 <div><video poster="resources/circles-landscape.png"></video></div>
40 <div><video poster="resources/circles-landscape.png" style="width:100%; height:auto; margin:25% 0 0;"></video></div> <!-- default is contain for video -->
41 </div>
43 </body>
44 </html>