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

Unified Diff: LayoutTests/fast/hidpi/image-srcset-intrinsic-size-zero-expected.txt

Issue 305643006: Enable a srcset 0x descriptor (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase and unflake the layout test 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
« no previous file with comments | « LayoutTests/fast/hidpi/image-srcset-intrinsic-size-zero.html ('k') | Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/hidpi/image-srcset-intrinsic-size-zero-expected.txt
diff --git a/LayoutTests/fast/hidpi/image-srcset-intrinsic-size-zero-expected.txt b/LayoutTests/fast/hidpi/image-srcset-intrinsic-size-zero-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3f239d25fc20848c32348482bf316acfd3607a2
--- /dev/null
+++ b/LayoutTests/fast/hidpi/image-srcset-intrinsic-size-zero-expected.txt
@@ -0,0 +1,6 @@
+PASS successfullyParsed is true
+
+TEST COMPLETE
+PASS imgWidth == 33554432 || imgWidth == 0 is true
+This test passes if the image is displayed with infinite dimensions. Because of a flaky bug with infinite intrinsic dimensions, It also accepts zero width.
+
« no previous file with comments | « LayoutTests/fast/hidpi/image-srcset-intrinsic-size-zero.html ('k') | Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698