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

Re: [css3-regions][css3-gcpm] Thoughts on Plan A and Plan B

From: Florian Rivoal <florianr@opera.com>
Date: Tue, 21 Feb 2012 13:37:35 +0100
To: www-style@w3.org
Message-ID: <op.v9030xnr4p7avi@localhost.localdomain>
On Tue, 21 Feb 2012 12:46:37 +0100, HÃ¥kon Wium Lie <howcome@opera.com>  

> In Opera's implemenation, we have recently changed from a media type:
>    @media paged { ... }
> to a media feature:
>    @media (paged) { ... }
> In both cases, the query asks whether the implementation supports
> paged mode (and not whether the document/element is in paged mode).

I think that this is an acceptable temporary solution, but should
really be replaced eventually by @supports from css-conditionals.

> We can't really query 'settings', can we?

MQ 3 state "To avoid circular dependencies, it is never necessary
to apply the style sheet in order to evaluate expressions."

So we can't make a media query to detect if overflow: paged is
applied, as that's done through the style sheet that isn't applied

  - Florian
Received on Tuesday, 21 February 2012 12:38:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:56 UTC