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: Vincent Hardy <vhardy@adobe.com>
Date: Wed, 5 Oct 2011 15:28:49 -0700
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <CAB22831.1B7C5%vhardy@adobe.com>
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 Wednesday, 5 October 2011 22:29:16 GMT

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