Bug 88219

Summary: Chaining multiple adjacent sibling combinators after the :target pseudo-class fails
Product: WebKit Reporter: Philippe Wittenbergh <phiw2>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: shanestephens
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
test case none

Philippe Wittenbergh
Reported 2012-06-04 02:06:04 PDT
Created attachment 145545 [details] test case The following type of selector fails in Webkit r119365, Safari 5.1, Chrome 19 (and older in both cases): E:target + #some-id + #some-other-id { /* something */ } In the test case: at the bottom of the page is a green block; when clicking the link ('link to addendum'), that block should: 1/ change background-color 2/ change width. This works in all other browsers. But chaining only one adj. sibling after the :target works. E:target + #some-id {}
Attachments
test case (971 bytes, text/html)
2012-06-04 02:06 PDT, Philippe Wittenbergh
no flags
Philippe Wittenbergh
Comment 1 2014-11-02 16:27:46 PST
Testing with r175461, this now works thanks to the work alluded to by B. Poulain in bug 12520. Marking as fixed.
Note You need to log in before you can comment on or make changes to this bug.