OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html class="reftest-wait"> |
3 <title>WebVTT rendering, class object transition with timestamp, ::cue(c:past) s
elector</title> | 3 <title>WebVTT rendering, class object transition with timestamp, ::cue(c:past) s
elector</title> |
4 <link rel="match" href="class_transition_with_timestamp-ref.html"> | 4 <link rel="match" href="class_transition_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(c) { | 8 ::cue(c) { |
9 -o-transition: color 9s steps(2, start); | 9 -o-transition: color 9s steps(2, start); |
10 transition: color 9s steps(2, start); | 10 transition: color 9s steps(2, start); |
11 } | 11 } |
12 ::cue(c:past) { | 12 ::cue(c:past) { |
13 color: #00ff00; | 13 color: #00ff00; |
14 } | 14 } |
15 </style> | 15 </style> |
16 <script src="/common/reftest-wait.js"></script> | 16 <script src="/common/reftest-wait.js"></script> |
17 <video width="1280" height="720" autoplay onplaying="this.onplaying = null; take
ScreenshotDelayed(200);"> | 17 <video width="320" height="180" autoplay onplaying="this.onplaying = null; this.
pause(); this.currentTime = 0.2; takeScreenshotDelayed(1000);"> |
18 <source src="/media/white.webm" type="video/webm"> | 18 <source src="/media/white.webm" type="video/webm"> |
19 <source src="/media/white.mp4" type="video/mp4"> | 19 <source src="/media/white.mp4" type="video/mp4"> |
20 <track src="../../../support/class_with_timestamp.vtt"> | 20 <track src="../../../support/class_with_timestamp.vtt"> |
21 <script> | 21 <script> |
22 document.getElementsByTagName('track')[0].track.mode = 'showing'; | 22 document.getElementsByTagName('track')[0].track.mode = 'showing'; |
23 </script> | 23 </script> |
24 </video> | 24 </video> |
25 </html> | 25 </html> |
OLD | NEW |