OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
| 3 <script> |
| 4 if (window.internals.settings) |
| 5 { |
| 6 // This should not be necessary, but due to crbug.com/372245 style |
| 7 // gets dirtied during layout in LayoutTextTrackContainer which |
| 8 // causes assertions to fail when Document::scrollingElement is |
| 9 // queried during compositing update (a valid request). |
| 10 window.internals.settings.setCompositorWorkerEnabled(false); |
| 11 } |
| 12 </script> |
3 <script src=../media-file.js></script> | 13 <script src=../media-file.js></script> |
4 <script src=../video-test.js></script> | 14 <script src=../video-test.js></script> |
5 <script src=../media-controls.js></script> | 15 <script src=../media-controls.js></script> |
6 <script> | 16 <script> |
7 | 17 |
8 var singleLineRect; | 18 var singleLineRect; |
9 | 19 |
10 function testUnbreakableLine() | 20 function testUnbreakableLine() |
11 { | 21 { |
12 var multiLineRect = textTrackDisplayElement(video).firstChild.firstC
hild.getBoundingClientRect(); | 22 var multiLineRect = textTrackDisplayElement(video).firstChild.firstC
hild.getBoundingClientRect(); |
(...skipping 19 matching lines...) Expand all Loading... |
32 } | 42 } |
33 | 43 |
34 </script> | 44 </script> |
35 </head> | 45 </head> |
36 <body onload="loaded()"> | 46 <body onload="loaded()"> |
37 <video controls > | 47 <video controls > |
38 <track src="captions-webvtt/long-word.vtt" kind="captions" default> | 48 <track src="captions-webvtt/long-word.vtt" kind="captions" default> |
39 </video> | 49 </video> |
40 </body> | 50 </body> |
41 </html> | 51 </html> |
OLD | NEW |