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

Unified Diff: LayoutTests/fast/dom/HTMLImageElement/image-picture-1x-expected.txt

Issue 288033018: Add HTMLPictureElement-based source selection to HTMLImageElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review nits Created 6 years, 7 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/dom/HTMLImageElement/image-picture-1x-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLImageElement/image-picture-1x-expected.txt b/LayoutTests/fast/dom/HTMLImageElement/image-picture-1x-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dae611288f04726372160e9e985d87212867159b
--- /dev/null
+++ b/LayoutTests/fast/dom/HTMLImageElement/image-picture-1x-expected.txt
@@ -0,0 +1,22 @@
+PASS successfullyParsed is true
+
+TEST COMPLETE
+PASS document.getElementById("canary").clientWidth is 75
+PASS document.getElementById("canary").currentSrc is "resources/blue_rect.jpg?0"
+PASS document.getElementById("simple").clientWidth is 800
+PASS document.getElementById("simple").currentSrc is "../../hidpi/resources/image-set-2x.png?2"
+PASS document.getElementById("multiple").clientWidth is 800
+PASS document.getElementById("multiple").currentSrc is "../../hidpi/resources/image-set-2x.png?2"
+PASS document.getElementById("other_children").clientWidth is 800
+PASS document.getElementById("other_children").currentSrc is "../../hidpi/resources/image-set-2x.png?2"
+PASS document.getElementById("img_before_source").clientWidth is 75
+PASS document.getElementById("img_before_source").currentSrc is "resources/blue_rect.jpg?1"
+PASS document.getElementById("unknown_type").clientWidth is 1600
+PASS document.getElementById("unknown_type").currentSrc is "resources/image-set-4x.png?3"
+PASS document.getElementById("empty_srcset").clientWidth is 1600
+PASS document.getElementById("empty_srcset").currentSrc is "resources/image-set-4x.png?3"
+PASS document.getElementById("no_srcset").clientWidth is 1600
+PASS document.getElementById("no_srcset").currentSrc is "resources/image-set-4x.png?3"
+
+some text
+

Powered by Google App Engine
This is Rietveld 408576698