W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2012

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

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 20 Jan 2012 22:31:01 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1201202230220.16982@ps20323.dreamhostps.com>
On Tue, 26 Jul 2011, Christoph P?per wrote:
>
> Anne van Kesteren:
> > I'm still trying to get HTML and browsers to change so that attribute 
> > values always match case-sensitively, irrespective of markup language. 
> > The current magic attribute list in HTML whose values needs to be 
> > matched ASCII case-insensitively is just ugly.
> 
> Can?t that be changed to something like the following?
> 
>   When an attribute takes as a value
>   ? a single keyword or
>   ? a whitespace-separated list of keywords,
>   where all valid keywords are defined in this spexcification,
>   these keywords are ASCII case-insensitive.
>   All other attribute values are case-sensitive.
> 
> or just
> 
>   All element names, attribute names and attribute value keywords
>   defined in this specification are ASCII case-insensitive.
>   All other attribute values are case-sensitive.

The spec changed recently in response to Anne's efforts here. If this is 
an area of interest, I encourage you to study the specification to see if 
the current requirements are satisfactory.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 20 January 2012 14:31:01 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:39 UTC