Chromium Code Reviews

Unified Diff: LayoutTests/fast/hidpi/image-srcset-simple-2x-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.
Jump to:
View side-by-side diff with in-line comments
Index: LayoutTests/fast/hidpi/image-srcset-simple-2x-expected.txt
diff --git a/LayoutTests/fast/hidpi/image-srcset-simple-2x-expected.txt b/LayoutTests/fast/hidpi/image-srcset-simple-2x-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b55c696f3321fcb9520ca3bb461a1a9538708f65
--- /dev/null
+++ b/LayoutTests/fast/hidpi/image-srcset-simple-2x-expected.txt
@@ -0,0 +1,3 @@
+PASS document.getElementById("foo").clientWidth==800 is true
+This test passes if the image below says 1x with a reddish background when the deviceScaleFactor is 1, and if says 2x with a greenish background when the deviceScaleFactor is 2.
+
« no previous file with comments | « LayoutTests/fast/hidpi/image-srcset-simple-2x.html ('k') | LayoutTests/fast/hidpi/image-srcset-src-selection-1x.html » ('j') | no next file with comments »

Powered by Google App Engine