Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: LayoutTests/media/track/track-cue-rendering-wider-than-controls.html

Issue 1156993013: New media playback UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: manual rebaseline. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src=../media-file.js></script> 2 <script src=../media-file.js></script>
3 <script src=../video-test.js></script> 3 <script src=../video-test.js></script>
4 <script src=../media-controls.js></script> 4 <script src=../media-controls.js></script>
5 <style>
6 /* enforce a max width on the controls enclosure, so
7 * that it doesn't fill the entire player width.
8 */
9 video::-webkit-media-controls-enclosure {
philipj_slow 2015/07/08 10:31:51 A bit odd, but I guess this test can just be remov
liberato (no reviews please) 2015/07/09 12:10:53 yeah, i was unsure whether to remove it now or wai
10 max-width: 800;
11 }
12 </style>
5 <script> 13 <script>
6 var controlsContainer; 14 var controlsContainer;
7 var cueRoot; 15 var cueRoot;
8 16
9 window.onload = function() { 17 window.onload = function() {
10 consoleWrite("Test that the cue root is not constrained by the controls/over lay."); 18 consoleWrite("Test that the cue root is not constrained by the controls/over lay.");
11 findMediaElement(); 19 findMediaElement();
12 video.src = findMediaFile('video', '../content/test'); 20 video.src = findMediaFile('video', '../content/test');
13 waitForEvent('seeked', function() { 21 waitForEvent('seeked', function() {
14 // The width of the controls depends on UA style, so verify that our ass umption holds. 22 // The width of the controls depends on UA style, so verify that our ass umption holds.
(...skipping 11 matching lines...) Expand all
26 </script> 34 </script>
27 <style> 35 <style>
28 video { 36 video {
29 width: 2000px; 37 width: 2000px;
30 height: 750px; 38 height: 750px;
31 } 39 }
32 </style> 40 </style>
33 <video controls> 41 <video controls>
34 <track src="captions-webvtt/long-word.vtt" default> 42 <track src="captions-webvtt/long-word.vtt" default>
35 </video> 43 </video>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698