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

Re: [mediaqueries] Trying to understand the syntax design

From: Håkon Wium Lie <howcome@opera.com>
Date: Wed, 6 May 2015 17:18:39 +0200
Message-ID: <21834.12495.809968.816925@opera.com>
To: Florian Rivoal <florian@rivoal.net>
Cc: Lucas Wiener <lucas@wiener.se>, "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Florian Rivoal wrote:

 > > Do you perhaps have any sources that states that MQ was designed with min/max-width due to that, and that >=/<= is really preferred?
 >  >=/<= is new. It could have been introduced a long time ago,
 > but it wasn't

Actually, the first MQ draft used <>:


An objection was quickly raised:

 | All the HTML examples are invalid since the ampersand character must
 | be escaped (&amp;). Solution: either that's ok, or we use the word
 | 'and' or the symbol '+'. Similarly with the '<' and '>' symbols.

To which I replied:

 | Can't we just change the parsing rules of HTML instead?

Alas, we couldn't change the rules at the time (year 2000), but we are
now more powerful :-)

 > As for sources, I'm sure there's some old mails somewhere
 > discussing this, but I am not sure where they are.

For those with W3C member access, the discussion is here:


              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Wednesday, 6 May 2015 15:19:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:54 UTC