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

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

From: Alan Gresley <alan@css-class.com>
Date: Fri, 09 Sep 2011 11:07:54 +1000
Message-ID: <4E6966EA.6070901@css-class.com>
To: Charles Pritchard <chuck@jumis.com>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
On 9/09/2011 3:44 AM, Charles Pritchard wrote:
> On 9/8/2011 10:21 AM, Tab Atkins Jr. wrote:

>> (We've also discussed a display:transparent that would be thematically
>> similar to HTML's notion of "transparent" - the element wouldn't
>> generate a box in the box tree (similar to display:none), but its
>> children still would.)
>
> It would maintain the content box sizing, while not-showing any elements.
> Basically, the same thing that <canvas> does.
>
> canvas { content: transparent; }
>
>
> -Charles


<img src="image-x50px-y50px" alt="this is some alt text that is rather 
quite long">


If we were to hide the image and show the alt text while maintaining the 
box sizing, what becomes of the overflow?

Normally when images are disabled, a box expands (vertically I believe, 
never really tested) to contain all the alt text.



-- 
Alan Gresley
http://css-3d.org/
http://css-class.com/
Received on Friday, 9 September 2011 01:07:37 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:44 GMT