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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/hidpi/video-controls-in-hidpi.html

Issue 1908463002: Modernize fast/hidpi layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add NeedsManualRebaseline Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/hidpi/resize-corner-hidpi.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <!DOCTYPE html>
2 <div>This test passes if the video controls are non-blurry and properly position ed in HiDPI.</div>
3 <video controls></video>
2 <script> 4 <script>
3 function startTest() {
4 if (window.testRunner) {
5 testRunner.waitUntilDone();
6 testRunner.setBackingScaleFactor(2, finishTest);
7 }
8 }
9
10 function finishTest() { 5 function finishTest() {
11 setTimeout(function() { testRunner.notifyDone(); }, 0); 6 setTimeout(function() { testRunner.notifyDone(); }, 0);
12 } 7 }
13 </script> 8 if (window.testRunner) {
14 </head> 9 testRunner.waitUntilDone();
15 <body onload="startTest();"> 10 testRunner.setBackingScaleFactor(2, finishTest);
16 <div>This test passes if the video controls are non-blurry and properly posi tioned in HiDPI.</div> 11 }
17 <video controls></video> 12 </script>
18 </body>
19 </html>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/hidpi/resize-corner-hidpi.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698