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: Thu, 6 Oct 2011 08:45:32 -0700
To: David Hyatt <hyatt@apple.com>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <CAB31AD0.1B95A%vhardy@adobe.com>
Hi Dave,

ok. So, along with the other discussion that we had about the width:auto
and height:auto and circular dependency, I'll change the draft to say that
the intrinsic size of the region is based on its generated content only.

Thanks,
Vincent

From:  David Hyatt <hyatt@apple.com>
Date:  Thu, 6 Oct 2011 01:42:16 -0700
To:  Adobe Systems <vhardy@adobe.com>
Cc:  "www-style@w3.org" <www-style@w3.org>
Subject:  Re: [css-regions] 4.2.1 and 4.2.2 - auto width and auto height
resolution  for regions


>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 15:46:00 GMT

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