Bug 53610 - Regression: adjacent sibling selector not working as expected
Summary: Regression: adjacent sibling selector not working as expected
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://peter.sh/files/adjacent-siblin...
Keywords: InRadar
: 53819 (view as bug list)
Depends on:
Blocks: 52370
  Show dependency treegraph
 
Reported: 2011-02-02 11:30 PST by Peter Beverloo
Modified: 2011-02-05 17:44 PST (History)
7 users (show)

See Also:


Attachments
Text-case (336 bytes, text/html)
2011-02-02 11:30 PST, Peter Beverloo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***