[Webkit-unassigned] [Bug 9840] last-child pseudo-class applied to all elements

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Jul 11 01:50:26 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9840


contact at nickshanks.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |contact at nickshanks.com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




------- Comment #2 from contact at nickshanks.com  2006-07-11 01:50 PDT -------
This occurs because the last-* styles are checked as each element is read in
(same as all styles) and at that point, each element *is* the last child since
nothing has been added after it yet :-)
When repainting, the child is no longer last, so all is fine.

I have been waiting for a year for hyatt to decide what he wants to do about
this, as the khtml solution used too much memory. No solution has yet been
proposed though.

I think we could get by with just setting the usesSiblingSelectors bit on any
:last-* pseudo-class (the bit currently used for ~ selector).


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list