OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html class="reftest-wait"> |
3 <title>WebVTT rendering, bold object animation with timestamp, ::cue(b:past) sel
ector</title> | 3 <title>WebVTT rendering, bold object animation with timestamp, ::cue(b:past) sel
ector</title> |
4 <link rel="match" href="bold_animation_with_timestamp-ref.html"> | 4 <link rel="match" href="bold_animation_with_timestamp-ref.html"> |
5 <style> | 5 <style> |
6 html { overflow:hidden } | 6 html { overflow:hidden } |
7 body { margin:0 } | 7 body { margin:0 } |
8 ::cue(b:past) { | 8 ::cue(b:past) { |
9 -o-animation: test 9s steps(2, start); | 9 -o-animation: test 9s steps(2, start); |
10 animation: test 9s steps(2, start); | 10 animation: test 9s steps(2, start); |
11 } | 11 } |
12 @-o-keyframes test { | 12 @-o-keyframes test { |
13 0% { | 13 0% { |
14 color: #ffffff; | 14 color: #ffffff; |
15 } | 15 } |
16 100% { | 16 100% { |
17 color: #00ff00; | 17 color: #00ff00; |
18 } | 18 } |
19 } | 19 } |
20 @keyframes test { | 20 @keyframes test { |
21 0% { | 21 0% { |
22 color: #ffffff; | 22 color: #ffffff; |
23 } | 23 } |
24 100% { | 24 100% { |
25 color: #00ff00; | 25 color: #00ff00; |
26 } | 26 } |
27 } | 27 } |
28 </style> | 28 </style> |
29 <script src="/common/reftest-wait.js"></script> | 29 <script src="/common/reftest-wait.js"></script> |
30 <video width="1280" height="720" autoplay onplaying="this.onplaying = null; take
ScreenshotDelayed(200);"> | 30 <video width="320" height="180" autoplay onplaying="this.onplaying = null; this.
pause(); this.currentTime = 0.2; takeScreenshotDelayed(1000);"> |
31 <source src="/media/white.webm" type="video/webm"> | 31 <source src="/media/white.webm" type="video/webm"> |
32 <source src="/media/white.mp4" type="video/mp4"> | 32 <source src="/media/white.mp4" type="video/mp4"> |
33 <track src="../../../support/bold_with_timestamp.vtt"> | 33 <track src="../../../support/bold_with_timestamp.vtt"> |
34 <script> | 34 <script> |
35 document.getElementsByTagName('track')[0].track.mode = 'showing'; | 35 document.getElementsByTagName('track')[0].track.mode = 'showing'; |
36 </script> | 36 </script> |
37 </video> | 37 </video> |
38 </html> | 38 </html> |
OLD | NEW |