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

Side by Side Diff: LayoutTests/media/controls-restrained-media-controller-expected.html

Issue 262463003: Sync "restrained media controller" with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test Created 6 years, 2 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>video with -webkit-appearance media-play-button</title> 2 <title>controls of a non-blocked media element slaved to a media controller</tit le>
3 <script src="media-file.js"></script> 3 <script src="media-file.js"></script>
4 <video></video> 4 <video controls></video>
5 <script> 5 <script>
6 var video = document.querySelector('video'); 6 var video = document.querySelector('video[controls]');
7 video.src = findMediaFile('video', 'content/test'); 7 video.src = findMediaFile('video', 'content/test');
8 8
9 if (window.testRunner) { 9 if (window.testRunner) {
10 testRunner.waitUntilDone(); 10 testRunner.waitUntilDone();
11 video.addEventListener('loadedmetadata', function() { 11 video.addEventListener('canplay', function() {
12 testRunner.notifyDone(); 12 testRunner.notifyDone();
13 }); 13 });
14 } 14 }
15 </script> 15 </script>
OLDNEW
« no previous file with comments | « LayoutTests/media/controls-restrained-media-controller.html ('k') | Source/core/html/MediaController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698