W3C home > Mailing lists > Public > www-style@w3.org > October 2012

[css3-conditional] "and" vs. "{A}{N}{D}"

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Thu, 04 Oct 2012 00:11:38 +0200
Message-ID: <506CB81A.30305@kozea.fr>
To: www-style@w3.org
Hi,

The @support at-keywork is defined in the grammar as
@{S}{U}{P}{P}{O}{R}{T}{S}
in order to make it case-insensitive and accept escaping:

S	s|\\0{0,4}(53|73)(\r\n|[ \t\r\n\f])?|\\s

(By the way, should it link to css21 Appendix G for these definitions?)


Media queries does something similar in their grammar for 'and', 'only', 
and 'not'. css3-conditional should do the same for @support’s 'and', 
'or' and 'not' operators, and generally all keywords in a grammar.

-- 
Simon Sapin
Received on Wednesday, 3 October 2012 22:12:14 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:01 GMT