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

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

Issue 109153003: Raise the loading priority of in-viewport images. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: . Created 7 years 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
(Empty)
1 <html>
2 <head>
3 <script>
4 if (window.testRunner) {
5 testRunner.dumpResourceRequestPriorities();
6 testRunner.dumpAsText();
7 }
8 </script>
9 <script src="/js-test-resources/js-test.js"></script>
10 </head>
11 <body>
12 <div style="width: 100%">
13 <img src="../misc/resources/image-slow.pl"/>
14 </div>
15 <div style="height: 99999px; width: 100%" id="view_div"></div>
16 <div style="width: 100%">
17 <img src="../misc/resources/image-slow-out-of-viewport.pl">
18 </div>
19 <script>
20 document.body.offsetTop; // Force a layout.
21 </script>
22 </body>
23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698