Chromium Code Reviews

Unified Diff: LayoutTests/fast/hidpi/image-srcset-src-selection-1x-expected.txt

Issue 23861003: Enable srcset support in HTMLImageElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix issues raised in review Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: LayoutTests/fast/hidpi/image-srcset-src-selection-1x-expected.txt
diff --git a/LayoutTests/fast/hidpi/image-srcset-src-selection-1x-expected.txt b/LayoutTests/fast/hidpi/image-srcset-src-selection-1x-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15da620618dd7c7bb725ca7cfc4a1bcbad89b4b3
--- /dev/null
+++ b/LayoutTests/fast/hidpi/image-srcset-src-selection-1x-expected.txt
@@ -0,0 +1,3 @@
+PASS document.getElementById("foo").clientWidth==100 is true
+This test passes if the div below is a blue 100px square when the deviceScaleFactor is 1. It simply ensures that the src attribute is taken into account by the selection algorithm when this one is processing the images candidates
+

Powered by Google App Engine