W3C home > Mailing lists > Public > www-style@w3.org > April 2015

[mediaqueries] Use custom media queries in custom media query definitions?

From: Glen Huang <curvedmark@gmail.com>
Date: Mon, 13 Apr 2015 10:14:04 +0800
Message-Id: <069CF98D-11FD-4B8F-B2E6-295FCE690305@gmail.com>
To: www-style list <www-style@w3.org>
The spec didn't say if this is possible:

@custom-media --foo (width < 10em);
@custom-media --bar (--foo);

And what happens when there are circular references:

@custom-media --foo (--foo);
@custom-media --bar (--baz);
@custom-media --baz (--bar);

I hope reusing custom media queries is possible, and circular references evaluate to false.
Received on Monday, 13 April 2015 02:14:39 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:50 UTC