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

Unified Diff: third_party/WebKit/Source/web/tests/data/promote_img_in_viewport_priority.html

Issue 2211283004: Drop test-only WebFrameClient params/functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/tests/data/promote_img_in_viewport_priority.html
diff --git a/third_party/WebKit/Source/web/tests/data/promote_img_in_viewport_priority.html b/third_party/WebKit/Source/web/tests/data/promote_img_in_viewport_priority.html
new file mode 100644
index 0000000000000000000000000000000000000000..3e4c538895806078547e3adedc227ed2950c7b05
--- /dev/null
+++ b/third_party/WebKit/Source/web/tests/data/promote_img_in_viewport_priority.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<div style="width: 100%">
+ <img style="width: 10px; height: 10px" src="image_slow.pl"/>
+ <img style="width: 20px; height: 10px" src="image_slow.pl"/>
+</div>
+<div style="height: 99999px; width: 100%" id="view_div"></div>
+<div style="width: 100%">
+ <img style="width: 10px; height: 10px" src="image_slow_out_of_viewport.pl">
+</div>
+<script>
+document.body.offsetTop; // Force a layout.
+</script>
+<div style="width: 100%">
+ <img src="image_slow.pl"/>
+</div>
+<script>
+document.body.offsetTop; // Force a layout.
+</script>

Powered by Google App Engine
This is Rietveld 408576698