W3C home > Mailing lists > Public > www-style@w3.org > December 2007

Re: [css3-mediaqueries] Request for feedback on syntax

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sat, 22 Dec 2007 11:45:10 -0500
Message-ID: <476D3F16.600@inkedblade.net>
To: Anne van Kesteren <annevk@opera.com>
CC: www-style@w3.org

Anne van Kesteren wrote:
> 
> On Wed, 12 Dec 2007 22:04:24 +0100, fantasai 
> <fantasai.lists@inkedblade.net> wrote:
>>    - CSS backslash escapes are not allowed. The host language's escapes
>>      can of course be used. Consider that if you embed Media Queries or
>>      Selectors in a language that uses backslashes for its escapes. If
>>      we imported CSS backslash escapes the situation would be very
>>      confusing there. Also I don't see a use case.
> 
> I think we should consider realistic host languages, not theoretical 
> ones. Also, even in theoretical ones you'd like to able to express every 
> character sequence (including a CSS escape) otherwise we already have 
> issues in theoretical host languages. (Those who use comma's, 
> parenthesis or ASCII characters for syntax.)

If you kept the media query in a string, then you wouldn't have a problem
with the other punctuation. But character escapes usually work in string
literals, too.

~fantasai
Received on Saturday, 22 December 2007 16:45:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:57 GMT