To reproduce: navigate to the URL. Expected: the image to render at a width of 96 CSS pixels Actual: the image renders at a much bigger width
<rdar://problem/28896267>
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.
At the moment it seems we're using 100vw (or something like that).
Working URL: data:text/html,<img%20srcset="https://webkit.org/favicon.png%2096w"%20sizes="96px">
WebKit seems to do the same thing as Chrome in this error case.
As does Firefox.