[Webkit-unassigned] [Bug 163808] img with srcset with width descriptor has incorrect intrinsic size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 14 17:29:18 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=163808

--- Comment #2 from Dean Jackson <dino at apple.com> ---
According to the HTML specification:

If the srcset attribute is present and has any image candidate strings using a width descriptor, the sizes attribute must also be present, and is a sizes attribute. The sizes attribute contributes the source size to the source set (if no source element was selected).

https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-sizes

However, the specification doesn't seem to say what we should do when we don't have a sizes attribute.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161115/498f4e93/attachment.html>


More information about the webkit-unassigned mailing list