Small (or zero) pixel densities yield incorrect naturalWidth/Height |
||
Issue descriptionSubtests: <img srcset="/images/green-256x256.png 10000x" data-expect="0"> and <img srcset="/images/green-256x256.png 256w" sizes="0px" data-expect="0"> of http://wpt.fyi/html/semantics/embedded-content/the-img-element/current-pixel-density/basic.html , fails because empty sizes can not be returned from ImageResourceContent::ImageSize (it clamps pre-scaling non-empty dimensions to 1.)
,
Oct 13 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Oct 13 2017