RESOLVED FIXED 17320
CSS li:last-child:after
https://bugs.webkit.org/show_bug.cgi?id=17320
Summary CSS li:last-child:after
Matthew Mohrman
Reported 2008-02-11 19:55:29 PST
The styling for li:last-child:after is ignored by WebKit (nightly build 30153) if more than one li exists within the ul. Please see the attached file for an example.
Attachments
Sample List (555 bytes, application/xhtml+xml)
2008-02-11 19:56 PST, Matthew Mohrman
no flags
Call setUsesSiblingRules(true) for all CSS3 selectors that require it (10.57 KB, patch)
2008-02-11 21:55 PST, mitz
hyatt: review+
Matthew Mohrman
Comment 1 2008-02-11 19:56:56 PST
Created attachment 19086 [details] Sample List
mitz
Comment 2 2008-02-11 21:29:56 PST
The problem goes away if you add a dummy :first-child rule: li:first-child {} So perhaps the problem is that the "affected by" bits are not set correctly.
mitz
Comment 3 2008-02-11 21:43:01 PST
mitz
Comment 4 2008-02-11 21:55:36 PST
Created attachment 19087 [details] Call setUsesSiblingRules(true) for all CSS3 selectors that require it
Dave Hyatt
Comment 5 2008-02-11 21:58:51 PST
Comment on attachment 19087 [details] Call setUsesSiblingRules(true) for all CSS3 selectors that require it r=me
mitz
Comment 6 2008-02-11 22:03:53 PST
Note You need to log in before you can comment on or make changes to this bug.