W3C home > Mailing lists > Public > www-style@w3.org > September 2011

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 09 Sep 2011 12:23:41 -0400
Message-ID: <4E6A3D8D.8020707@mit.edu>
To: www-style@w3.org
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 

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?  ;)

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

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:03 UTC