Re: Shadow DOM and Fallback contents for images

On Oct 29, 2013, at 6:04 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 10/14/13 12:11 AM, Ryosuke Niwa wrote:
>> If I'm not mistaken, how alternative text is presented is up to UA vendors.
> 
> You're mistaken. The HTML spec actually defines the behavior here, in standards mode: it's presented as text inside a non-replaced inline (effectively as if content: attr(alt) had been used).

Interesting.  Could you point me to the part of the spec. that mandates this behavior?

As far as I checked, Firefox is the only browser that exhibits this behavior.  Chrome, Internet Explorer, and Safari all show a missing-image box.

- R. Niwa

Received on Wednesday, 30 October 2013 21:56:44 UTC