W3C home > Mailing lists > Public > www-style@w3.org > December 2011

Feedback about @media -o-paged

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 20 Dec 2011 15:16:56 +0200
Message-ID: <CAJQvAudjD5iC8Lathcxs-0OwELLm54z2b+XonwpPbDzrfiBFSw@mail.gmail.com>
To: www-style@w3.org
A while ago, Opera released Opera Reader with pagination support for
interactive screen media. @media -o-paged { ... } is used for
targeting only the builds of Opera that have this capability--the
capability being support for overflow: -o-paged-x;, etc.

For authoring style sheets that make sense for both UAs that support
overflow: paged-x; and UAs that don't, I think having some kind of
at-rule mechanism for targeting rules only to UAs that support paged
overflow is very important. However, it seems strange and conceptually
incorrect to have a special media query medium for this.

It would be more appropriate to use @supports (overflow: paged-x) {
... }, since conceptually the at-rule block is all about targeting
rules to UAs that support the paged overflow feature.

(Of course, without @media paged {...}, it would be an authorability
disaster for an UA to ship with paged overflow support without also
having @supports support.)

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Tuesday, 20 December 2011 13:17:23 GMT

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