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

Side by Side Diff: LayoutTests/http/tests/loading/promote-img-in-viewport-priority.html

Issue 673603002: Reland: Make the HTMLDocumentParser yield more aggressively (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased 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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="/js-test-resources/js-test.js"></script>
3 <script> 4 <script>
4 if (window.testRunner) { 5 if (window.testRunner) {
5 testRunner.dumpResourceRequestPriorities(); 6 testRunner.dumpResourceRequestPriorities();
6 testRunner.dumpAsText(); 7 testRunner.dumpAsText();
7 } 8 }
8 </script> 9 </script>
9 <script src="/js-test-resources/js-test.js"></script>
10 </head> 10 </head>
11 <body> 11 <body>
12 <div style="width: 100%"> 12 <div style="width: 100%">
13 <img style="width: 10px; height: 10px" src="../misc/resources/image-s low.pl"/> 13 <img style="width: 10px; height: 10px" src="../misc/resources/image-s low.pl"/>
14 <img style="width: 20px; height: 10px" src="../misc/resources/image-s low.pl"/> 14 <img style="width: 20px; height: 10px" src="../misc/resources/image-s low.pl"/>
15 </div> 15 </div>
16 <div style="height: 99999px; width: 100%" id="view_div"></div> 16 <div style="height: 99999px; width: 100%" id="view_div"></div>
17 <div style="width: 100%"> 17 <div style="width: 100%">
18 <img style="width: 10px; height: 10px" src="../misc/resources/image-sl ow-out-of-viewport.pl"> 18 <img style="width: 10px; height: 10px" src="../misc/resources/image-sl ow-out-of-viewport.pl">
19 </div> 19 </div>
20 <script> 20 <script>
21 document.body.offsetTop; // Force a layout. 21 document.body.offsetTop; // Force a layout.
22 </script> 22 </script>
23 <div style="width: 100%"> 23 <div style="width: 100%">
24 <img src="../misc/resources/image-slow.pl"/> 24 <img src="../misc/resources/image-slow.pl"/>
25 </div> 25 </div>
26 <script> 26 <script>
27 document.body.offsetTop; // Force a layout. 27 document.body.offsetTop; // Force a layout.
28 </script> 28 </script>
29 </body> 29 </body>
30 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698