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

Unified Diff: LayoutTests/fast/hidpi/image-srcset-invalid-descriptor-expected.txt

Issue 293423002: Refactor srcset parser to align it with spec changes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review comments 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/hidpi/image-srcset-invalid-descriptor-expected.txt
diff --git a/LayoutTests/fast/hidpi/image-srcset-invalid-descriptor-expected.txt b/LayoutTests/fast/hidpi/image-srcset-invalid-descriptor-expected.txt
index 6db5bc14bae4e4899d83bd66360b86153140e78f..4ea19269d9d9262b342e809483c58880400736c5 100644
--- a/LayoutTests/fast/hidpi/image-srcset-invalid-descriptor-expected.txt
+++ b/LayoutTests/fast/hidpi/image-srcset-invalid-descriptor-expected.txt
@@ -2,7 +2,7 @@ PASS successfullyParsed is true
TEST COMPLETE
PASS document.getElementById("foo").clientWidth==100 is true
-PASS document.getElementById("foo2").clientWidth==200 is true
+PASS document.getElementById("foo2").clientWidth==100 is true
This test passes if the image below is a 100px blue square when the deviceScaleFactor is 1.
It tests that even though the 1x resource contains many invalid descriptors, only the invalid descriptors are ignored (according to the spec).

Powered by Google App Engine
This is Rietveld 408576698