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

Side by Side Diff: LayoutTests/http/tests/fouc/scroll-left-while-loading.html

Issue 679863002: Revert "Prepare blink to unify definitions of load completion" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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> 2 <script>
3 if (window.testRunner) { 3 if (window.testRunner) {
4 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
5 testRunner.waitUntilDone(); 5 testRunner.waitUntilDone();
6 } 6 }
7 setTimeout(function(){ 7 setTimeout(function(){
8 document.body.scrollLeft; 8 document.body.scrollLeft;
9 // Check that ignoreLayoutWithPendingStylesheets will return true if we did a 9 // Check that ignoreLayoutWithPendingStylesheets will return true if we did a
10 // forced repaint after the access to scrollLeft. We should not since the de layed 10 // forced repaint after the access to scrollLeft. We should not since the de layed
11 // stylesheet below is pending. 11 // stylesheet below is pending.
12 if (!window.internals || internals.ignoreLayoutWithPendingStylesheets(docume nt)) 12 if (!window.internals || internals.ignoreLayoutWithPendingStylesheets(docume nt))
13 document.write("FAIL"); 13 document.write("FAIL");
14 else 14 else
15 document.write("PASS"); 15 document.write("PASS");
16 document.close();
17 if (window.testRunner) 16 if (window.testRunner)
18 testRunner.notifyDone(); 17 testRunner.notifyDone();
19 }, 0); 18 }, 0);
20 </script> 19 </script>
21 <link rel="stylesheet" href="/resources/slow-script.pl?delay=100"> 20 <link rel="stylesheet" href="/resources/slow-script.pl?delay=100">
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698