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

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

Issue 339573005: Wrong pending sheets test causing FOUC. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added test Created 6 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/fouc/scroll-left-while-loading-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script>
3 if (window.testRunner) {
4 testRunner.dumpAsText();
5 testRunner.waitUntilDone();
6 }
7 setTimeout(function(){
8 document.body.scrollLeft;
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
11 // stylesheet below is pending.
12 if (!window.internals || internals.ignoreLayoutWithPendingStylesheets(docume nt))
13 document.write("FAIL");
14 else
15 document.write("PASS");
16 if (window.testRunner)
17 testRunner.notifyDone();
18 }, 0);
19 </script>
esprehn 2014/06/17 23:16:56 This might technically be racing since the parser
20 <link rel="stylesheet" href="/resources/slow-script.pl?delay=100">
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/fouc/scroll-left-while-loading-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698