W3C home > Mailing lists > Public > www-style@w3.org > March 2008

Re: [CSS21] [css3-selectors] attribute selectors

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 11 Mar 2008 18:17:31 -0500
Message-ID: <47D7130B.1010308@mit.edu>
To: fantasai <fantasai.lists@inkedblade.net>
CC: www-style@w3.org

fantasai wrote:
> Finally, wrt the resolution in
>   http://lists.w3.org/Archives/Public/www-style/2008Feb/0331.html
> about making empty string substring match selectors invalid, I'll note that
> Firefox, Opera, and IE7 all treat [attr~=""] as valid but not matching 
> anything

It sounded to me like all browsers other than Gecko matched that selector to any 
nonempty attribute value.  If that's not the case, then it makes more sense to 
specify what most UAs implement.  In the end, this corner case is just not that 

What about [attr^=""] and [attr$=""]?

Received on Tuesday, 11 March 2008 23:18:00 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:34 UTC