W3C home > Mailing lists > Public > www-style@w3.org > June 2012

Re: [css3-page] Instantiating a margin box

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Tue, 12 Jun 2012 10:41:13 +0200
Message-ID: <4FD700A9.3080908@kozea.fr>
To: fantasai <fantasai.lists@inkedblade.net>
CC: www-style@w3.org
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'.


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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:00 UTC