[whatwg] [html5] r3306 - [] (0) Define interaction with CSS case-sensitivity rules.

On Tue, 23 Jun 2009, Simon Pieters wrote:
> > +
> > +  <p>Classes from the <code title="attr-class">class</code> attribute
> > +  of <span>HTML elements</span> in documents that are in <span>quirks
> > +  mode</span> must be treated as case-insensitive.</p>
> 
> This is the case for SVG classes, too, but maybe it's up to the SVG spec 
> to define that.

Yeah, I'd rather not poke any more fingers into SVG than I already have...


> > +  <p>Attribute selectors on an <span title="HTML elements">HTML
> > +  element</span> in an <span title="HTML documents">HTML
> > +  document</span> must treat the <em>values</em> of attributes with
> > +  the following names as case-insensitive:</p>
> 
> Why are values case-insensitive only in HTML documents? The values are
> case-insensitive in XHTML, too.

Do we really want to have anything case-insensitive in XML docs?


> This list is missing charset and ismap

As far as I can tell, those are not case-insensitive in Selectors in 
either Gecko or WebKit.


> and presumably the new attributes in HTML5: [...]

Why would we want to add anything to this list?


I'd rather keep this list as small as possible.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 13 July 2009 23:26:37 UTC