Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: LayoutTests/fast/hidpi/image-srcset-change-resource-dpr-expected.txt

Issue 25105004: Use srcset's resource pixel density to determine intrinsic size (Closed) Base URL:
Patch Set: Fixed crash+rebased Created 7 years, 2 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-resource-dpr-expected.txt
diff --git a/LayoutTests/fast/hidpi/image-srcset-change-dynamically-from-js-2x-expected.txt b/LayoutTests/fast/hidpi/image-srcset-change-resource-dpr-expected.txt
similarity index 78%
copy from LayoutTests/fast/hidpi/image-srcset-change-dynamically-from-js-2x-expected.txt
copy to LayoutTests/fast/hidpi/image-srcset-change-resource-dpr-expected.txt
index a298f6c02d755a6cfa13be31e367932232a77132..fd2eba7e90c06e9c0901f3bcb5d44e4e0fcb1333 100644
--- a/LayoutTests/fast/hidpi/image-srcset-change-dynamically-from-js-2x-expected.txt
+++ b/LayoutTests/fast/hidpi/image-srcset-change-resource-dpr-expected.txt
@@ -1,4 +1,4 @@
-PASS internals.isPreloaded("resources/blue-100-px-square.png") is false
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.
« no previous file with comments | « LayoutTests/fast/hidpi/image-srcset-change-resource-dpr.html ('k') | LayoutTests/fast/hidpi/image-srcset-data-src.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698