[Mac] some track language tags are not recognized
[WebKit-https.git] / LayoutTests / media / track / track-cue-rendering-vertical.html
1 <!DOCTYPE html>
2 <html>
3     <head>
4         <meta charset="utf-8">
5         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
7         <script src=../media-file.js></script>
8         <script src=../media-controls.js></script>
9
10         <script>
11         var requirePixelDump = true;
12
13         function loaded()
14         {
15             consoleWrite("Rendering vertical line-positioned cues with Japanese text.");
16             findMediaElement();
17
18             testTrack = document.querySelector('track');
19             video.src = findMediaFile('video', '../content/test');
20
21             waitForEvent('seeked', endTest);
22             waitForEvent('canplaythrough', function() {
23                 video.currentTime = .75;
24             });
25         }
26
27         </script>
28
29         <script src=../video-test.js></script>
30         <script>
31             setCaptionDisplayMode('Automatic');
32         </script>
33     </head>
34     <body onload="loaded()">
35         <video>
36             <track src="captions-webvtt/captions-snap-to-lines-set.vtt" kind="captions" default>
37         </video>
38     </body>
39 </html>