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: Mon, 11 Jun 2012 15:27:09 -0700
Message-ID: <4FD670BD.4040605@inkedblade.net>
To: www-style@w3.org
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 GMT

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