Re: [mediaqueries] Trying to understand the syntax design

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 <>:

  http://people.opera.com/howcome/2000/css3/media-oct-23.html

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:

  https://lists.w3.org/Archives/Member/w3c-css-wg/2000OctDec/0082.html

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome

Received on Wednesday, 6 May 2015 15:19:08 UTC