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

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: Fixed a flaky test Created 7 years, 3 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-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
+
« no previous file with comments | « LayoutTests/fast/hidpi/image-srcset-src-selection-1x.html ('k') | LayoutTests/fast/hidpi/image-srcset-src-selection-2x.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698