WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
14200
Child descendant CSS selectors don't match nested elements
https://bugs.webkit.org/show_bug.cgi?id=14200
Summary
Child descendant CSS selectors don't match nested elements
Philip Taylor
Reported
2007-06-17 11:06:54 PDT
See the attached test case, which has a div>span>span>b structure. The "div > span" part of the CSS rule should match the first span, and "div > span b" should match the b descendant. Expected results: The text should have a green background. Actual results: The text has a red background. The test passes in IE7, FF2, Opera 9, and Konq 3.5.
Attachments
testcase
(209 bytes, text/html)
2007-06-17 11:08 PDT
,
Philip Taylor
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Philip Taylor
Comment 1
2007-06-17 11:08:37 PDT
Created
attachment 15089
[details]
testcase
David Kilzer (:ddkilzer)
Comment 2
2007-06-17 12:08:16 PDT
Confirmed with Safari 3.0 (522.11) with a local debug build of WebKit
r23546
on Mac OS X 10.4.9 (8P135). Works with both Opera 9.21 and Firefox 2.0.0.4 on Mac OS X 10.4.9 (8P135).
Philip Taylor
Comment 3
2007-11-03 15:13:42 PDT
Works for me with
r27386
- I presume it was fixed elsewhere.
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