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

Re: [css3-text-layout][css3-mediaqueries] Proposal: writing-mode media feature

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
Message-Id: <20100321234836.4BA3.C598BCD7@antenna.co.jp>
"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 GMT

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