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

Re: Substring matching attribute selectors (was [CSS2.1] 10.3.5 Floating, non-replaced elements)

From: Alan Gresley <alan@css-class.com>
Date: Sat, 21 Jun 2008 10:12:09 +1000
Message-ID: <485C4759.104@css-class.com>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: www-style@w3.org

Boris Zbarsky wrote:

> That sounds like <https://bugzilla.mozilla.org/show_bug.cgi?id=50630> to 
> me (note: fixed in Gecko 1.9.next trunk builds, so you could check one 
> of those to make sure).
> 
> -Boris


Just going the rounds with Gecko nightly 20 Jun 2008, I wondering what 
is happening with those attribute selectors with empty strings.


http://css-class.com/test/css/selectors/att/attribute-substring-match-empty.htm


Now class^="" and class$="" are showing non matches. No other 
implementation does this. The CSS WG last made a resolution [1] about 
empty substring selectors in April. This is what the latest nightly 
seems to be following.


BTW, Well done anyway, full support for structural pseudo-classes.


[1] http://lists.w3.org/Archives/Public/www-style/2008Apr/0019.html

Alan
Received on Saturday, 21 June 2008 00:13:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:07 GMT