W3C home > Mailing lists > Public > www-style@w3.org > June 2016

Re: @else in Media Queries

From: Sebastian Zartner <sebastianzartner@gmail.com>
Date: Tue, 14 Jun 2016 16:12:10 +0200
Message-ID: <CAERejNY_n5tYMnbOdMXt=g7oJON7j0pdv-Om67zQNi4m1WiFVg@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Daniel Glazman <daniel.glazman@disruptive-innovations.com>, W3C www-style mailing list <www-style@w3.org>
On 14 June 2016 at 15:09, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> On Tue, Jun 14, 2016 at 3:28 AM, Sebastian Zartner
> <sebastianzartner@gmail.com> wrote:
>> One question to the presented syntax. 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?
> I'm not entirely sure what you're asking, because it *sounds* like
> it's something well-defined by the spec: @when and @else have a
> genericized condition language that covers both MQs and support
> queries.

Which specification are you talking about? @when and @else are not defined yet
in Media Queries Level 4[1] yet. Or do you mean the syntaxes for the
@media and @supports rules in the different specs.[2][3]?


[1] https://drafts.csswg.org/mediaqueries/
[2] https://drafts.csswg.org/mediaqueries/#typedef-media-query
[3] https://drafts.csswg.org/css-conditional-3/#supports_condition
Received on Tuesday, 14 June 2016 14:13:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:47 UTC