[Webkit-unassigned] [Bug 5468] CSS3: last-child, last-of-type, only-child and only-of-type pseudo-selectors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 7 15:31:13 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=5468


hyatt at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #12999|review?                     |review-
               Flag|                            |




------- Comment #9 from hyatt at apple.com  2007-02-07 15:31 PDT -------
(From update of attachment 12999)
Yeah, I agree with removing support for these.

You haven't adequately removed them unless the rules are rejected.  You need to
go further and actually yank the names from the list of pseudo types
completely.

For  example:

:last-child, div { color: red }

should be rejected since last-child is unrecognized.

Also,

:not(:last-child)

needs to also be rejected.  With your patch :last-child just always returns a
failed match, which will cause :not(:last-child) to always match.


-- 
Configure bugmail: http://bugs.webkit.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