- From: MURAKAMI Shinyu <murakami@antenna.co.jp>
- Date: Sun, 21 Mar 2010 23:48:36 +0900
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: www-style@w3.org
"Tab Atkins Jr." <jackalmage@gmail.com> wrote on 2010/03/21 2:43:21
> I don't think Media Queries is correct here; you're just wanting to
> apply a set of rules only if another rule is supported. There have
> been suggestions on how to do that. For example:
>
> @requires {
> body {
> writing-mode: tb-rl !required;
> }
>
> blockquote {
> margin: 3em 0 0 0;
> }
> }
>
> Under this suggested syntax, the rules in the @required block would
> only be used if all the !required rules within the block are fully
> supported (both property and value are recognized by the browser).
> This would fulfill your use-case, along with a bunch of others which
> also have a bad fallback story.
Thanks for inform me, I'm sorry I missed the discussion about the
feature queries.
I am ok with this suggestion if CSSWG and implementors support this,
although I don't think it's a bad idea using MQ for feature queries.
--
ζδΈ ηι (MURAKAMI Shinyu)
http://twitter.com/MurakamiShinyu
Antenna House Formatter:
http://www.antenna.co.jp/AHF/
http://www.antennahouse.com
Received on Sunday, 21 March 2010 14:49:09 UTC