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

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.


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

Likewise for height?

Received on Wednesday, 5 October 2011 22:29:16 UTC

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