summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/italic_object/italic_transition_with_timestamp.html
blob: a6028a367c8b89a69a3025d0459d8d41139d1256 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html>
<title>WebVTT rendering, italic object transition with timestamp, ::cue(i:past) selector</title>
<link rel="match" href="italic_transition_with_timestamp-ref.html">
<style>
html { overflow:hidden }
body { margin:0 }
::cue(i) {
    -o-transition: color 9s steps(2, start);
    transition: color 9s steps(2, start);
}
::cue(i:past) {
    color: #00ff00;
}
</style>
<script src="/common/reftest-wait.js"></script>
<video width="1280" height="720" autoplay onplaying="this.onplaying = null; takeScreenshotDelayed(200);">
    <source src="/media/white.webm" type="video/webm">
    <source src="/media/white.mp4" type="video/mp4">
    <track src="../../../support/italic_with_timestamp.vtt">
    <script>
    document.getElementsByTagName('track')[0].track.mode = 'showing';
    </script>
</video>
</html>