This is a tracking bug for CSS3 selector implementation in Mozilla.
Initially, there is widespread desire for the :not() selector, please list
others desired and what we need them for in this bug.
Personally, I think that the :nth-child(an+b) and :nth-of-type(an+b) and their
related pseudos are extremely compelling and useful (table rows alternating
colors is the obvious example).
bug 57686 is reportedly blocked by lack of the :not() pseudo-class
Netscape's standard compliance QA team reorganised itself once again, so taking
remaining non-tables style bugs. Sorry about the spam. I tried to get this done
directly at the database level, but apparently that is "not easy because of the
shadow db", "plus it screws up the audit trail", so no can do...
Adding bug 68206 whcih requests the CSS3 ::selection pseudo-element for
Can anyone estimate when this work might be done? It would be appreciated for
mozilla 1.0 / NS 6.5
This is a tracking bug. Since you have bug 57686 which needs the :not selector,
I'm thinking that we should spin off a separate bug requesting that selector
specifically, and mark your bug dependent on that one instead of this one. It
could take *years* to do all of he CSS3 selectors...
I'm also reassigning this to Daniel since he will be taking over the new
selector implementations in all likelihood (if anyone disagrees, please make the
Adding dependency to ParseSelector() current cleanup.
trk: Adding dependency to bug 71647 for the :not() pseudo-class
setting to moz1.0 for now
Marking "meta" since this is a tracking bug. Let's file new bugs each time we
want to track the implementation of a particular part of CSS3 selectors, and
mark them as dependencies.
status of css3 selectors that did not already exist in css 2 :
substring matching attribute selectors
namespaces in type and attribute selectors (though buggy ;
RESERVED in nsCSSAtomList.h (by peter linss years ago !!!)
AND PARSED BUT NOT IMPLEMENTED
:checked, :enabled, :disabled, :selection
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1
(you can query for this string to delete spam or retrieve the list of bugs I've
CSS3 Selectors are now a candidate recommendation:
we don't have bugs for:
:lang() [CSS2, but still missing]
:first-of-type / :last-of-type
~ (indirect adjacent)
except this the CSS3 Selector-test shows a problem with *:not(:hover) [it's
ignored] and the :enabled and :disabled tests doesn't load. Also some problems
with namespaces I can't determine any further..
Added the bug for :target (bug 188734).
bug 75186 (:empty) is actually not fixed at all. There are other bugs where the
issues are reported: bug 157395, bug 98997 and bug 188953.
:contains would be very nice to have. One example is for table formatting of
empty cells, user you add background colour or even content to show it was
purposely empty, without the need for additional classes.
You can do this with :empty, which is already supported by Mozilla. bug 221981
is for contains(). Please don't comment on bugs without additional information.
It has been told to me that this is only slowing down the developers ;).
*** Bug 311039 has been marked as a duplicate of this bug. ***
Here is a nice test-suite for CSS3 selectors: http://www.css3.info/selectors-test/
Opera 9.5 and KHTML 3.5.6 have a full
oups, sorry for spam.
Opera 9.5 and KHTML 3.5.6 have a full implementation of css3 selectors.
KHTML 3.5.6 fails a bunch of the tests in http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/xhtml/index.html (I've been clicking on a bunch randomly (probably about 20% of them), and already noticed 57, 97b, 98b, 103, 115b, 150, 171, 172a, 172b, d5, and d5b.) And that test suite isn't complete (although probably more complete than the one in comment 18, which I'm guessing is what led to that claim).
(In reply to comment #18)
> Here is a nice test-suite for CSS3 selectors:
For the record, Firefox 3.1b2 passes this suite 100%. jresiq has another test suite available at the link below, which 3.1b2 is currently 99.3% passing.
The selectors draft is going back to last call shortly with ::selection removed, so we're done here.