- From: Marat Tanalin <mtanalin@yandex.ru>
- Date: Tue, 14 Jun 2016 22:45:03 +0300
- To: Sebastian Zartner <sebastianzartner@gmail.com>, Tab Atkins Jr. <jackalmage@gmail.com>
- Cc: Daniel Glazman <daniel.glazman@disruptive-innovations.com>, W3C www-style mailing list <www-style@w3.org>
14.06.2016, 13:32, "Sebastian Zartner" <sebastianzartner@gmail.com>:
> You came up with an @when rule additionally to the @else rule.
> Should these rules directly take a condition? If so, they would
> need to cover media queries and support queries (and maybe other
> conditional types in the future). Or should they support @media
> and @supports rules inside their condition, somehow?
Corresponding functions are supposed to be used:
@when media(...) and supports(...) {...}
See:
[1] https://tabatkins.github.io/specs/css-when-else/
[2] https://github.com/w3c/csswg-drafts/issues/112
Received on Tuesday, 14 June 2016 19:45:35 UTC