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-intrinsic-size-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-intrinsic-size-expected.txt
diff --git a/LayoutTests/fast/hidpi/image-srcset-intrinsic-size-expected.txt b/LayoutTests/fast/hidpi/image-srcset-intrinsic-size-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95f23ac1ca041cd02f6a9bfacb002ef0f4ba6934
--- /dev/null
+++ b/LayoutTests/fast/hidpi/image-srcset-intrinsic-size-expected.txt
@@ -0,0 +1,9 @@
+PASS document.getElementById("foo").clientWidth==200 is true
+PASS document.getElementById("foo2").clientWidth==400 is true
+PASS document.getElementById("foo3").clientWidth==100 is true
+PASS document.getElementById("foo4").clientWidth==200 is true
+This test passes if the images are all displayed with appropriate dimensions.
« no previous file with comments | « LayoutTests/fast/hidpi/image-srcset-intrinsic-size.html ('k') | LayoutTests/fast/hidpi/image-srcset-invalid-descriptor.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698