Re: [css3-page] Instantiating a margin box

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 UTC