18944fb3f97449bad740f2fa1d45062c70db6c4b
[WebKit-https.git] / LayoutTests / media / track / track-cue-css.html
1 <!DOCTYPE html>
2 <html>
3     <head>
4         <script>var requirePixelDump = true;</script>
5         <script src=../media-file.js></script>
6         <script src=../video-test.js></script>
7         <script src=../media-controls.js></script>
8         <script>
9         function loaded()
10         {
11             consoleWrite("Test that CSS in VTT file is applied correctly.");
12             findMediaElement();
13             video.src = findMediaFile('video', '../content/test');
14             waitForEvent('canplaythrough', endTest);
15         }
16
17         setCaptionDisplayMode('Automatic');
18         </script>
19     </head>
20     <body onload="loaded()">
21         <video controls >
22             <track src="captions-webvtt/css-styling.vtt" kind="captions" default>
23         </video>
24     </body>
25 </html>