| OLD | NEW | 
|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> | 
| 2 <html> | 2 <html> | 
| 3     <head> | 3     <head> | 
| 4         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 4         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 
| 5 | 5 | 
| 6         <script src=../media-file.js></script> | 6         <script src=../media-file.js></script> | 
| 7         <script src=../video-test.js></script> | 7         <script src=../video-test.js></script> | 
| 8         <script src=../media-controls.js></script> | 8         <script src=../media-controls.js></script> | 
| 9 | 9 | 
| 10         <script> | 10         <script> | 
| 11 | 11 | 
| 12         var testTrack; | 12         var testTrack; | 
| 13         var testCueDisplayBox; | 13         var testCueDisplayBox; | 
| 14         var seekedCount = 0; | 14         var seekedCount = 0; | 
| 15         var direction; | 15         var direction; | 
| 16 | 16 | 
| 17         var info = ["تجربة", | 17         var info = ["تجربة", | 
| 18                     "\t1234", | 18                     "\t1234", | 
| 19                     "تجربة\nLTR new line, but cue should be RTL", | 19                     "تجربة\nLTR new line, but cue should be RTL", | 
| 20                     "LTR cue تجربة", | 20                     "LTR cue تجربة", | 
| 21                     ";1234تجربة", | 21                     ";1234تجربة", | 
| 22                     "\t०१२३४५६७८९  \t"]; | 22                     "\t०१२३४५६७८९  \t", | 
|  | 23                     "𐡘 (Imperial Aramaic number one, U+10858) strong RTL, non-BM
    P", | 
|  | 24                     "𝅘𝅥 (Musical symbol quarter note, U+1D15F) strong LTR, non-BM
    P"]; | 
| 23 | 25 | 
| 24         function testCueStyle() | 26         function testCueStyle() | 
| 25         { | 27         { | 
| 26             endTest(); | 28             endTest(); | 
| 27         } | 29         } | 
| 28 | 30 | 
| 29         function seeked() | 31         function seeked() | 
| 30         { | 32         { | 
| 31             testCueDisplayBox = textTrackDisplayElement(video, 'display'); | 33             testCueDisplayBox = textTrackDisplayElement(video, 'display'); | 
| 32 | 34 | 
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 68             waitForEventOnce('canplaythrough', function() { video.currentTime = 
    .25; }); | 70             waitForEventOnce('canplaythrough', function() { video.currentTime = 
    .25; }); | 
| 69         } | 71         } | 
| 70         </script> | 72         </script> | 
| 71     </head> | 73     </head> | 
| 72     <body onload="loaded()"> | 74     <body onload="loaded()"> | 
| 73         <video controls > | 75         <video controls > | 
| 74             <track src="captions-webvtt/captions-rtl.vtt" kind="captions" defaul
    t> | 76             <track src="captions-webvtt/captions-rtl.vtt" kind="captions" defaul
    t> | 
| 75         </video> | 77         </video> | 
| 76     </body> | 78     </body> | 
| 77 </html> | 79 </html> | 
| OLD | NEW | 
|---|