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

Unified Diff: LayoutTests/fast/hidpi/image-srcset-change-dynamically-src-first-2x-expected.txt

Issue 136693020: Add image loading spec related tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed expectation for origin header test Created 6 years, 10 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: LayoutTests/fast/hidpi/image-srcset-change-dynamically-src-first-2x-expected.txt
diff --git a/LayoutTests/fast/hidpi/image-srcset-change-resource-dpr-expected.txt b/LayoutTests/fast/hidpi/image-srcset-change-dynamically-src-first-2x-expected.txt
similarity index 74%
copy from LayoutTests/fast/hidpi/image-srcset-change-resource-dpr-expected.txt
copy to LayoutTests/fast/hidpi/image-srcset-change-dynamically-src-first-2x-expected.txt
index 50722fe9645148f215c965087e65051585aae874..d7da1f39aed1e0a3481cc7bd3967b2774b3bbd91 100644
--- a/LayoutTests/fast/hidpi/image-srcset-change-resource-dpr-expected.txt
+++ b/LayoutTests/fast/hidpi/image-srcset-change-dynamically-src-first-2x-expected.txt
@@ -1,7 +1,8 @@
+main frame - img requested 'blue-100-px-square.png'
+main frame - img requested 'green-400-px-square.png'
PASS successfullyParsed is true
TEST COMPLETE
PASS document.getElementById("foo").clientWidth==200 is true
-PASS document.getElementById("foo").clientWidth==400 is false
This test passes if this img tag below is a green square when the scale factor is 2. It ensures that attributes can be changed dynamically from javascript, and that only the correct resource is loaded.

Powered by Google App Engine
This is Rietveld 408576698