W3C home > Mailing lists > Public > www-style@w3.org > March 2013

[css3-mediaqueries][mediaqueries4] "never necessary to apply the style sheet in order to evaluate expressions."

From: Simon Sapin <simon.sapin@exyr.org>
Date: Fri, 01 Mar 2013 14:58:36 +0100
Message-ID: <5130B40C.8020004@exyr.org>
To: www-style@w3.org

Both levels have the same paragraph at the end of section 2:

> To avoid circular dependencies, it is never necessary to apply the
> style sheet in order to evaluate expressions. For example, the aspect
> ratio of a printed document may be influenced by a style sheet, but
> expressions involving ‘device-aspect-ratio’ will be based on the
> default aspect ratio of the user agent.

This is not the case anymore. @viewport rules do influence MQs:

We’re discussing doing something similar in css3-page, which would make 
even the example quoted above wrong.

At least the word "never" needs to be changed in Level 4, but I would be 
in favor of rewriting the whole paragraph and errata the Level 3 REC.
Proposed wording:

     Unless otherwise specified, it is not necessary to apply
     stylesheets in order to evaluate expressions.

     <p class=note>Note: CSS Device Adaptation [[CSS-DEVICE-ADAPT]]]
     defines how '@viewport' rules interact with Media Queries.

Simon Sapin
Received on Friday, 1 March 2013 13:58:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:27 UTC