OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html class="reftest-wait"> |
3 <title>WebVTT rendering, ::cue(i), font properties</title> | 3 <title>WebVTT rendering, ::cue(i), font properties</title> |
4 <link rel="match" href="italic_font_properties-ref.html"> | 4 <link rel="match" href="italic_font_properties-ref.html"> |
5 <style> | 5 <style> |
6 html { overflow:hidden } | 6 html { overflow:hidden } |
7 body { margin:0 } | 7 body { margin:0 } |
8 ::cue(i) { | 8 ::cue(i) { |
9 font-style: italic; | 9 font-style: italic; |
10 font-variant: small-caps; | 10 font-variant: small-caps; |
11 font-weight: bold; | 11 font-weight: bold; |
12 font-size: 36px; | 12 font-size: 9px; |
13 line-height: 72px; | 13 line-height: 18px; |
14 font-family: sans-serif; | 14 font-family: sans-serif; |
15 } | 15 } |
16 </style> | 16 </style> |
17 <script src="/common/reftest-wait.js"></script> | 17 <script src="/common/reftest-wait.js"></script> |
18 <video width="1280" height="720" autoplay onplaying="this.onplaying = null; this
.pause(); takeScreenshot();"> | 18 <video width="320" height="180" autoplay onplaying="this.onplaying = null; this.
pause(); takeScreenshot();"> |
19 <source src="/media/white.webm" type="video/webm"> | 19 <source src="/media/white.webm" type="video/webm"> |
20 <source src="/media/white.mp4" type="video/mp4"> | 20 <source src="/media/white.mp4" type="video/mp4"> |
21 <track src="../../../support/test_italic.vtt"> | 21 <track src="../../../support/test_italic.vtt"> |
22 <script> | 22 <script> |
23 document.getElementsByTagName('track')[0].track.mode = 'showing'; | 23 document.getElementsByTagName('track')[0].track.mode = 'showing'; |
24 </script> | 24 </script> |
25 </video> | 25 </video> |
26 </html> | 26 </html> |
OLD | NEW |