Re: [css3-page] Instantiating a margin box

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.

-- 
Simon Sapin

Received on Tuesday, 12 June 2012 08:42:48 UTC