OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html class="reftest-wait"> |
3 <title>WebVTT rendering, ::cue(*), css properties with value inherit should inhe
rit from media element</title> | 3 <title>WebVTT rendering, ::cue(*), css properties with value inherit should inhe
rit from media element</title> |
4 <link rel="match" href="inherit_values_from_media_element-ref.html"> | 4 <link rel="match" href="inherit_values_from_media_element-ref.html"> |
5 <style> | 5 <style> |
6 video { | 6 video { |
7 color: #f0f; | 7 color: #f0f; |
8 white-space: pre-wrap; | 8 white-space: pre-wrap; |
9 font: italic small-caps bold 36px/72px sans-serif; | 9 font: italic small-caps bold 9px/18px sans-serif; |
10 text-decoration: overline underline line-through; | 10 text-decoration: overline underline line-through; |
11 text-shadow: 0px 0px 5px #0f0; | 11 text-shadow: 0px 0px 5px #0f0; |
12 background: #0f0 url('../../media/background.gif') repeat-x top left; | 12 background: #0f0 url('../../media/background.gif') repeat-x top left; |
13 outline: solid #00f 2px; | 13 outline: solid #00f 2px; |
14 } | 14 } |
15 ::cue(*) { | 15 ::cue(*) { |
16 white-space: inherit; | 16 white-space: inherit; |
17 font: inherit; | 17 font: inherit; |
18 color: inherit; | 18 color: inherit; |
19 text-decoration: inherit; | 19 text-decoration: inherit; |
20 text-shadow: inherit; | 20 text-shadow: inherit; |
21 background: inherit; | 21 background: inherit; |
22 outline: inherit; | 22 outline: inherit; |
23 } | 23 } |
24 </style> | 24 </style> |
25 <script src="/common/reftest-wait.js"></script> | 25 <script src="/common/reftest-wait.js"></script> |
26 <video width="1280" height="720" autoplay onplaying="this.onplaying = null; this
.pause(); takeScreenshot();"> | 26 <video width="320" height="180" autoplay onplaying="this.onplaying = null; this.
pause(); takeScreenshot();"> |
27 <source src="/media/white.webm" type="video/webm"> | 27 <source src="/media/white.webm" type="video/webm"> |
28 <source src="/media/white.mp4" type="video/mp4"> | 28 <source src="/media/white.mp4" type="video/mp4"> |
29 <track src="../../support/white-spaces_long.vtt"> | 29 <track src="../../support/white-spaces_long.vtt"> |
30 <script> | 30 <script> |
31 document.getElementsByTagName('track')[0].track.mode = 'showing'; | 31 document.getElementsByTagName('track')[0].track.mode = 'showing'; |
32 </script> | 32 </script> |
33 </video> | 33 </video> |
34 </html> | 34 </html> |
OLD | NEW |