Re: Proposing content-hidden for background-image and img content

On 9/9/11 11:53 AM, Brad Kemper wrote:
> I'm thinking layout shouldn't be altered for cases like below:
>
> <img src='spacer.gif' alt='I was put here by an author who's never heard of margin:1px' width=1 height=1>

Yes, this is why in quirks mode Gecko would preserve the layout in that 
situation.

In standards mode people don't use spacer gifs much; we've had very few 
reports of compat issues from not preserving layout in that setup in 
standards mode.

> <img src='g.gif' alt='tracking beacon for xyz.com' width=1 height=1>

Find me a tracking beacon people actually put alt text on?  ;)

-Boris

Received on Friday, 9 September 2011 16:24:10 UTC