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

"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