-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
To my reading <img src=''>
falls into the part of https://html.spec.whatwg.org/multipage/embedded-content.html#the-img-element that says: "If the src attribute is set and the alt attribute is not.. the user agent should display some sort of indicator that there is an image that is not being rendered".
In https://bugs.chromium.org/p/chromium/issues/detail?id=793206 we encountered interoperability issues because Blink now renders a fallback image in that case, rather then 'nothing' like other browsers.
As far as I can see Blink is following the spec here, unless src is not considered 'set' when src=''.
Have I misunderstood the meaning of 'set' in this case? And if not, should the spec be changed to allow rendering 'nothing' in this case as it is what all browsers do (apart from Blink since Chrome M63)? (Although FF is the only other browser that currently attempts to follow this part of the spec, and it seems to treat src='' as 'not set'.