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:32:38 -0700
Message-ID: <4FD67206.6070607@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’.

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 GMT

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