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

Unified Diff: LayoutTests/fast/dom/HTMLImageElement/image-sizes-2x.html

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-sizes-2x.html
diff --git a/LayoutTests/fast/dom/HTMLImageElement/image-sizes-2x.html b/LayoutTests/fast/dom/HTMLImageElement/image-sizes-2x.html
index 7a3128c4d3f37c951db0b39a416d20acb5b1d993..1103b7d7e7059d79d1b5e77d0449637dffe74e63 100644
--- a/LayoutTests/fast/dom/HTMLImageElement/image-sizes-2x.html
+++ b/LayoutTests/fast/dom/HTMLImageElement/image-sizes-2x.html
@@ -41,7 +41,7 @@
<body id="body">
<img id="simple" src="" sizes="(max-width: 300px) 400px, 800px" srcset="../../hidpi/resources/image-set-1x.png 400w, ../../hidpi/resources/image-set-2x.png 800w">
<img id="small_sizes" src="" sizes="300px" srcset="../../hidpi/resources/image-set-1x.png 400w, ../../hidpi/resources/image-set-2x.png 800w">
- <!-- 'sizes' has no imapct on 'x' or 'src' resources -->
+ <!-- 'sizes' has no impact on 'x' or 'src' resources -->
<img id="sizes_x_descriptors" src="" sizes="50vw" srcset="../../hidpi/resources/image-set-1x.png 1x, ../../hidpi/resources/image-set-2x.png 2x">
<img id="sizes_src" src="../../hidpi/resources/image-set-1x.png" sizes="50vw">
<!-- Missing sizes or an invalid one, give a source size of 100vw -->

Powered by Google App Engine
This is Rietveld 408576698