[Webkit-unassigned] [Bug 147185] Webkit renders the alt text of images w/o src property and using width:auto incorrectly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 25 16:48:25 PDT 2021


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

Sam Sneddon [:gsnedders] <gsnedders at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gsnedders at apple.com,
                   |                            |simon.fraser at apple.com,
                   |                            |zalan at apple.com

--- Comment #1 from Sam Sneddon [:gsnedders] <gsnedders at apple.com> ---
Sounds like we're using the width of the line box as the intrinsic width.

https://html.spec.whatwg.org/multipage/rendering.html#images-3 is the relevant part of the HMTL spec, specifically with:

> The user agent is expected to treat the element as a non-replaced phrasing element whose content is the text, optionally with an icon indicating that an image is missing, so that the user can request the image be displayed or investigate why it is not rendering. In non-graphical contexts, such an icon should be omitted.

where:

> The icons mentioned above are expected to be relatively small so as not to disrupt most text but be easily clickable. In a visual environment, for instance, icons could be 16 pixels by 16 pixels square, or 1em by 1em if the images are scalable. In an audio environment, the icon could be a short bleep. The icons are intended to indicate to the user that they can be used to get to whatever options the UA provides for images, and, where appropriate, are expected to provide access to the context menu that would have come up if the user interacted with the actual image.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210325/571f7c40/attachment-0001.htm>


More information about the webkit-unassigned mailing list