W3C home > Mailing lists > Public > www-style@w3.org > June 2012

Re: [css3-page] Instantiating a margin box

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 12 Jun 2012 15:38:50 -0700
Message-ID: <4FD7C4FA.3010605@inkedblade.net>
To: www-style@w3.org
On 06/12/2012 01:41 AM, Simon Sapin wrote:
> Le 12/06/2012 00:27, fantasai a écrit :
>>> >Also, this section should clarify what "instantiated" means.
>>> >Add a paragraph
>>> >
>>> >| A margin box that is not instantiated does not paint anything.
>> How about if I change 'instantiated' to 'generated'?
>>
>>> Finally, should the margins, borders, padding and width/height box not-instantiated box still take up space for the purpose of
>>> Variable Dimension Computation Rules?
>> No, the box is effectively 'display: none'. I'll clarify that... How's this?
>>
>> | A margin box is generated if and only if the computed value of its
>> | 'content' property does not match that of its initial value.
>> | Otherwise it behaves as if it had 'display: none'.
>
>
> Perfect.
>
> This affects 6.3.2. Margin Box Variable Dimension Computation Rules. I suggest something like this:
>
> | For the purpose of these rules, a box that is not
> | <a href="#populating-margin-boxes">generated</a> behaves as if
> | its margin-{left,right}, border-{left,right}-width,
> | padding-{left,right} and width property all had a computed value
> | of zero.

I think that's covered by
   # If a margin box is not generated, then the used values of its width,
   # left and right padding, and left and right border width in these
   # formulas are all 0.
No?

~fantasai
Received on Tuesday, 12 June 2012 22:39:21 GMT

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