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

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 
important...

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

-Boris

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