- From: John Daggett <jdaggett@mozilla.com>
- Date: Mon, 25 Oct 2010 01:20:41 -0700 (PDT)
- To: David Hyatt <hyatt@apple.com>
- Cc: HÃ¥kon Wium Lie <howcome@opera.com>, "L. David Baron" <dbaron@dbaron.org>, www-style@w3.org, Yasuo Kida <kida@apple.com>
David Hyatt wrote:
> > 2. A new @writing-mode rule that would enclose style rules only used with
> > user agents that fully support all writing-mode modes defined in
> > CSS3 Writing Modes.
> >
> > /* styles used for fallback horizontal layout */
> > .rounded { border-radius: 1em 2em; }
> >
> > @writing-mode {
> > /* styles used when writing modes are supported */
> > .rounded { border-radius: 2em 1em; }
> > }
> >
>
> Any reason this couldn't just be a media query? I think the ability
> to select on the presence of writing-mode support in general is
> valuable, so I'm in favor of this idea also. It seems like it could
> just be a media query rather than a specialized @-rule though.
Mainly because this isn't really something related to a given media
type, it's effectively a browser capability test. I'm sure it's
possible to implement it with MQ but it feels incongruent.
John Daggett
Received on Monday, 25 October 2010 08:21:14 UTC