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’.

Sorry, forgot to reply to this bit... Changed the first paragraph to:

   | As with the '':before'' and '':after'' pseudo-elements,
   | a specified 'content' of ''normal'' on a margin box computes to ''none'',
   | and the margin box is generated if and only if the computed value of its
   | 'content' property is not 'none'.
   | Otherwise it behaves as if it had ''display: none''.

Let me know if that makes sense to you.

~fantasai

Received on Monday, 11 June 2012 22:33:09 UTC