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

Re: [css-regions] 4.2.1 and 4.2.2 - auto width and auto height resolution for regions

From: David Hyatt <hyatt@apple.com>
Date: Thu, 06 Oct 2011 03:42:16 -0500
Cc: "www-style@w3.org" <www-style@w3.org>
Message-id: <C772F532-78FD-45E4-B623-54A2F48F2D10@apple.com>
To: Vincent Hardy <vhardy@adobe.com>
The region's before/after.

dave

On Oct 5, 2011, at 5:28 PM, Vincent Hardy wrote:

> Hi Dave,
> 
> 
> ===
> I think this section is incorrect when you factor in generated content.
> For an auto:width, you want only the content that comes from the flow to
> resolve to a width of 0. The generated content should still be considered
> normally.
> 
> The same goes for auto height. "Children" can't just be the remaining
> content of the flow, since there is also generated content to consider.
> 
> dave
> ===
> 
> 
> Are you talking about the flow's generated content (:before, :after,
> bullets, quotes, counters etc..) or the region's :before and :after?
> 
> For width:auto, are you thinking that if I have:
> 
> #my_region {
>    width: auto;
>    float: left;
> }
> 
> #my_region:before {
>     content: "continuing ...";
> }
> 
> then the auto width computation should account for the :before pseudo
> element?
> 
> Likewise for height?
> 
> Cheers,
> Vincent
> 
> 
Received on Thursday, 6 October 2011 08:43:47 GMT

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