Re: [css3-page] Instantiating a margin box

On 06/11/2012 12:38 PM, Simon Sapin wrote:
> In 6.2. Populating margin boxes:
>
> I think it would be unexpected that 'content: none' paints more (backgrounds, borders) than 'content: normal'. I suggest changing
>
> # A margin box is instantiated if and only if the computed value of
> # its ‘content’ property does not match that of its initial value.
>
> to
>
> | A margin box is instantiated if and only if the computed value of
> | its ‘content’ property is not ‘normal’ or ‘none’.
>
>
> 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'.

~fantasai

Received on Monday, 11 June 2012 22:27:40 UTC