Closed
Bug 46916
Opened 24 years ago
Closed 23 years ago
:last-child pseudoclass
Categories
(Core :: CSS Parsing and Computation, enhancement, P3)
Core
CSS Parsing and Computation
Tracking
()
VERIFIED
FIXED
mozilla0.9
People
(Reporter: hand, Assigned: ian)
References
()
Details
(Keywords: css3)
Attachments
(2 files)
3.18 KB,
patch
|
Details | Diff | Splinter Review | |
1.24 KB,
text/html
|
Details |
Please implement the CSS3 last-child pseudoclass selector.
Comment 1•24 years ago
|
||
This bug is related to bug 46638. Marking Future/easy fix. Maybe it will make it before we ship. The reporter also wanted the 'subject' pseudo-class.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Whiteboard: [easy fix]
Target Milestone: --- → Future
Assignee | ||
Comment 2•24 years ago
|
||
This would be a great one to implement if, as you say, it is easy, especially considering the alleged feature set of our future competition...
Keywords: mozilla0.9,
nsbeta1
Summary: last-child pseudoclass → :last-child pseudoclass
About the ":subject" thing : it has been dropped in the last version of the draft. It has a huge performance side effect and its syntax was not clear. (just as a reminder : I am the original proposer and implementor of this pseudo).
Assignee | ||
Comment 4•24 years ago
|
||
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...
QA Contact: chrisd → ian
Assignee | ||
Updated•23 years ago
|
Blocks: selectors3
Assignee | ||
Comment 6•23 years ago
|
||
Assignee | ||
Comment 7•23 years ago
|
||
Attached patch adds code to mirror what we do with :first-child and :first-node, but for :last-child and :last-node. Pierre: Could I have r= and moa= please? Attinasi: Could I have sr= please? Thanks...
Assignee: pierre → ian
Status: ASSIGNED → NEW
Keywords: patch
QA Contact: ian → dbaron
Hardware: PC → All
Whiteboard: [easy fix] → [fix in hand]
Target Milestone: Future → mozilla0.9
Please run the test I attached above. You'll see that we have a problem with elements not loosing pseudo-classes...
Assignee | ||
Comment 10•23 years ago
|
||
Yep. Seems like we're not recomputing enough of the style. That's another bug though (would you like me to file it?).
Comment 11•23 years ago
|
||
This patch is good, r=pierre. Open a separate bug report with dependency on this one for the problem with DHTML. Thanks to Daniel for the excellent testcase...
Created 73586 with detected reflow bug
Comment 13•23 years ago
|
||
when are you checking this in?
Assignee | ||
Comment 14•23 years ago
|
||
As soon as I get a super review, why? I haven't been pushing for one, if you need this urgently then I can see about speeding up the process...
Comment 15•23 years ago
|
||
Well to tell you the truth I could really use this for a website I help run... www.mutualfundsnet.com. I use the :first-child but it would be better to also use the :last-child. This would make my life easier with the boss... ;-) thanks hixie
Assignee | ||
Comment 16•23 years ago
|
||
Marc sent me sr=attinasi by mail (thanks Marc). Any volunteers for checkin?
Comment 17•23 years ago
|
||
glazman@netscape.com checked it in this morning.
Checked in for Ian
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 19•23 years ago
|
||
I just checked my testcases with win 03-30-04 build and :last-child works great! THanks Ian.
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 20•23 years ago
|
||
Daniel: Thanks for checking it in. James: Thanks for verifying the fix.
Whiteboard: [fix in hand]
You need to log in
before you can comment on or make changes to this bug.
Description
•