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

On 07/24/2011 03:05 PM, Anne van Kesteren wrote:
> 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)]

Added
   http://dev.w3.org/csswg/selectors4/#attribute-case

Let me know if you have any suggestions for making it better. :)

~fantasai

Received on Monday, 25 July 2011 17:03:46 UTC