W3C home > Mailing lists > Public > www-style@w3.org > April 2009

Re: [css21][css3-selectors] case-insensitive attribute values

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 13 Apr 2009 17:29:46 -0700
Message-ID: <49E3D8FA.9050706@inkedblade.net>
To: Anne van Kesteren <annevk@opera.com>
CC: www-style@w3.org
Anne van Kesteren wrote:
> I was wondering if there was any chance I could convince implementors to 
> remove the magic list of attribute names whose values are matched again 
> in an ASCII case-insensitive way when the style sheet is associated with 
> an HTML document. The list mainly consists of obsolete presentational 
> attributes though every time we'd add a new attribute to HTML it would 
> have to be added here too (e.g. contenteditable, spellcheck, required, 
> etc.) and would have to be tested, et cetera, while there is no real 
> benefit for developers.
> 
> Also we allow other languages to be embedded in HTML documents these 
> days through the DOM and in the future MathML and SVG can be embedded 
> through syntax as well. This increases the chance that one of the ASCII 
> case-insensitive HTML attributes will clash with a case-sensitive 
> attribute there though the latter will still be matched in an ASCII 
> case-insensitive way.

I thought case-insensitivity of attributes was a language-wide feature
of HTML. Why are we using magic lists? (Also making attribute-matching
of HTML attributes case-sensitive would violate the Selectors spec.)

~fantasai
Received on Tuesday, 14 April 2009 00:30:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:46:58 GMT