Bug 53819 - REGRESSION: CSS declarations in a rule with next sibling selector affects other elements
Summary: REGRESSION: CSS declarations in a rule with next sibling selector affects oth...
Status: RESOLVED DUPLICATE of bug 53610
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://software.hixie.ch/utilities/js...
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2011-02-04 15:16 PST by Simon Pieters (:zcorpan)
Modified: 2011-02-05 17:44 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Pieters (:zcorpan) 2011-02-04 15:16:28 PST
Chrome Version       : 10.0.648.18 (Official Build 73584) dev
URLs (if applicable) : http://software.hixie.ch/utilities/js/live-dom-viewer/saved/826
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
     Safari 5: PASS
  Firefox 3.x: dunno, but Firefox 4 (trunk) is PASS
       IE 7/8: dunno
(Opera 11 is PASS, and reportedly Chrome 9 is also PASS)

What steps will reproduce the problem?
1. Use a sibling selector like .a + p { clear:left }
2. Use markup like <div class=a></div><p></p><div class=b>foo</div><p>bar</p>
3.

What is the expected result?
The "bar" paragraph should not get the 'clear:left' style applied.

What happens instead?
The "bar" paragraph gets the 'clear:left' style applied. Devtools shows 'clear:left' among the inherited styles for the element.

Please provide any additional information below. Attach a screenshot if
possible.

chromium bug at http://code.google.com/p/chromium/issues/detail?id=72005
Comment 1 Alexey Proskuryakov 2011-02-04 19:26:10 PST
<rdar://problem/8963027>
Comment 2 Andy Estes 2011-02-05 17:14:17 PST
I can't reproduce this in the latest WebKit nightly build (r77734). Simon, are you able to?
Comment 3 Andy Estes 2011-02-05 17:23:57 PST
'bisect-builds -p' tells me:

Fails: r77618  Works: r77709

Unfortunately I don't have time right now to narrow it down any further.
Comment 4 Andy Estes 2011-02-05 17:44:00 PST
Ahh, found it. Fixed by http://trac.webkit.org/changeset/77664.

*** This bug has been marked as a duplicate of bug 53610 ***