Closed Bug 46638 Opened 24 years ago Closed 24 years ago

CSS 3 Selectors

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

x86
All
enhancement

Tracking

()

VERIFIED INVALID

People

(Reporter: hand, Assigned: pierre)

Details

Want CSS3 Selectors implemented in mozilla.  Of particular importance is the 
last-child pseudo class, followed by the subject pseudo class.  May have 
potential uses in XUL widgets.
Um, CSS3 is not yet complete. Unless you have a magic crystal ball to tell the
future, we cannot implement CSS3 selectors, since we don't know what they are.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Verified invalid.
Status: RESOLVED → VERIFIED
Yeah, CSS3 isn't finish yet - and perhaps CSS3 selectors like :subject will 
change by the time CSS3 is finished, so it probably isn't wise to implement 
that just yet.

However, since "last-child" pseudo class already has a corresponding "first-
child" pseudo class in CSS2, I think there is an extremely good chance that 
this particular CSS3 selector will remain the same in the final 
recommendation.  The implementation of "last-child" should be so similar 
to "first-child" there shouldn't be any design issues preventing it from being 
implementing now either.

http://www.w3.org/TR/css3-selectors.html
In that case file a bug for that separately. Note however that we have passed 
the feature-freeze stage so it won't be added in this release.
You need to log in before you can comment on or make changes to this bug.