WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Call setUsesSiblingRules(true) for all CSS3 selectors that require it
(10.57 KB, patch)
2008-02-11 21:55 PST
,
mitz
hyatt
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
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
<
rdar://problem/5736953
>
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
Fixed in <
http://trac.webkit.org/projects/webkit/changeset/30162
>.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug