W3C home > Mailing lists > Public > www-style@w3.org > July 2011

[Selectors4] case-insensitive attribute value matching (in XML)

From: Anne van Kesteren <annevk@opera.com>
Date: Sun, 24 Jul 2011 15:05:15 -0700
To: "CSS WG" <www-style@w3.org>
Message-ID: <op.vy48y1mf64w2qv@annevk-macbookpro.local>
Hi,

For user agent style sheets HTML now has a number of "/* case-insensitive  
*/" annotations in its rendering section indicating the attribute value  
needs to be matched ASCII case-insensitively (so no Turkish dotloss i  
business). This is because these attribute values need to be matched ASCII  
case-insensitively in HTML and XML.

Authors might want that ability too in case they write CSS against  
"unknown" markup.

Unfortunately I have no good idea for syntax. Only crappy ideas:

   [att=/val/i]

   [att=val flag]

   [att=ascii-case-insensitive(val)]

Cheers,


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Sunday, 24 July 2011 22:05:55 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:42 GMT