Bug 53610

Summary: Regression: adjacent sibling selector not working as expected
Product: WebKit Reporter: Peter Beverloo <peter>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, eric, koivisto, phiw2, simon.fraser, webkit.review.bot, zcorpan
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
URL: http://peter.sh/files/adjacent-sibling-selector-regression.html
Bug Depends on:    
Bug Blocks: 52370    
Attachments:
Description Flags
Text-case none

Description Peter Beverloo 2011-02-02 11:30:41 PST
Created attachment 80935 [details]
Text-case

Test-case attached.  Likely to be caused by r52370.

Expected:
  Black text
  Red text
  Black text

Actual:
  Black text
  Red text
  Red text

The CSS rule which breaks (adjacent sibling) is:

p.foo + p { color: red; }
Comment 1 Peter Beverloo 2011-02-02 11:51:26 PST
Revision 76012 obviously, issue 52370.
Comment 2 Simon Fraser (smfr) 2011-02-04 11:18:10 PST
<rdar://problem/8960033>
Comment 3 Antti Koivisto 2011-02-04 13:10:10 PST
Bug 53574 has a patch that will fix this one too.
Comment 4 Antti Koivisto 2011-02-04 13:16:47 PST
http://trac.webkit.org/changeset/77664
Comment 5 WebKit Review Bot 2011-02-04 17:28:47 PST
http://trac.webkit.org/changeset/77664 might have broken GTK Linux 32-bit Debug and GTK Linux 64-bit Debug
The following tests are not passing:
fast/blockflow/Kusa-Makura-background-canvas.html
fast/blockflow/japanese-ruby-horizontal-bt.html
fast/blockflow/japanese-ruby-vertical-lr.html
fast/blockflow/japanese-ruby-vertical-rl.html
fast/ruby/nested-ruby.html
fast/text/emphasis-avoid-ruby.html
Comment 6 Andy Estes 2011-02-05 17:44:00 PST
*** Bug 53819 has been marked as a duplicate of this bug. ***