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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-controls-focus-movement-on-hide.html

Issue 2015503002: Move TODO(philipj) to TODO(foolip) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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 <html> 2 <html>
3 <title>Test focus movement when controls fade out with a button focused</title> 3 <title>Test focus movement when controls fade out with a button focused</title>
4 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 4 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956
5 (Please avoid writing new tests using video-test.js) --> 5 (Please avoid writing new tests using video-test.js) -->
6 <script src=video-test.js></script> 6 <script src=video-test.js></script>
7 <script src=media-controls.js></script> 7 <script src=media-controls.js></script>
8 <p> 8 <p>
9 Test that focus moves to the &lt;body>/document when controls fade out with a bu tton focused. 9 Test that focus moves to the &lt;body>/document when controls fade out with a bu tton focused.
10 </p> 10 </p>
11 <video controls src="content/test.ogv"></video> 11 <video controls src="content/test.ogv"></video>
12 <script> 12 <script>
13 var controls; 13 var controls;
14 var video = document.querySelector("video"); 14 var video = document.querySelector("video");
(...skipping 14 matching lines...) Expand all
29 testExpected("getComputedStyle(controls).opacity", 0); 29 testExpected("getComputedStyle(controls).opacity", 0);
30 30
31 testExpected("document.activeElement", document.body); 31 testExpected("document.activeElement", document.body);
32 32
33 consoleWrite(""); 33 consoleWrite("");
34 endTest(); 34 endTest();
35 }, video); 35 }, video);
36 }); 36 });
37 37
38 </script> 38 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698