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

[css3-page] Inheritance in the page and margin contexts

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Thu, 26 Jan 2012 16:31:19 +0100
Message-ID: <4F2171C7.2090002@kozea.fr>
To: www-style@w3.org

Section 5.4 "Cascading in the page context" of the current Paged Media
ED says:

> Properties that are not explicitly set within the page or margin
> context take their initial values and do not inherit from any
> element.

... while section 7 "Page Properties" say

> Margin boxes inherit from the page context. The page context
> inherits from the root element.

These are in contradiction, but section 7 then continue:

> However, since the previous revision of CSS Paged Media Level 3 did
> not specify this point, an implementation that sets inherited
> properties in the page context to their initial values (as for the
> root element) is also conformant to CSS Paged Media Level 3.

So although I do not have all the historical context, I think that the 
later option (@page inherits from :root) is correct, and section 5.4 
should be updated.

Simon Sapin
Received on Thursday, 26 January 2012 15:31:54 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:09 UTC