<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>53610</bug_id>
          
          <creation_ts>2011-02-02 11:30:41 -0800</creation_ts>
          <short_desc>Regression: adjacent sibling selector not working as expected</short_desc>
          <delta_ts>2011-02-05 17:44:00 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://peter.sh/files/adjacent-sibling-selector-regression.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>52370</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Peter Beverloo">peter</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>eric</cc>
    
    <cc>koivisto</cc>
    
    <cc>phiw2</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit.review.bot</cc>
    
    <cc>zcorpan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>344082</commentid>
    <comment_count>0</comment_count>
      <attachid>80935</attachid>
    <who name="Peter Beverloo">peter</who>
    <bug_when>2011-02-02 11:30:41 -0800</bug_when>
    <thetext>Created attachment 80935
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; }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>344096</commentid>
    <comment_count>1</comment_count>
    <who name="Peter Beverloo">peter</who>
    <bug_when>2011-02-02 11:51:26 -0800</bug_when>
    <thetext>Revision 76012 obviously, issue 52370.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>345629</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-02-04 11:18:10 -0800</bug_when>
    <thetext>&lt;rdar://problem/8960033&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>345721</commentid>
    <comment_count>3</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2011-02-04 13:10:10 -0800</bug_when>
    <thetext>Bug 53574 has a patch that will fix this one too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>345729</commentid>
    <comment_count>4</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2011-02-04 13:16:47 -0800</bug_when>
    <thetext>http://trac.webkit.org/changeset/77664</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>345945</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-02-04 17:28:47 -0800</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>346219</commentid>
    <comment_count>6</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2011-02-05 17:44:00 -0800</bug_when>
    <thetext>*** Bug 53819 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>80935</attachid>
            <date>2011-02-02 11:30:41 -0800</date>
            <delta_ts>2011-02-02 11:30:41 -0800</delta_ts>
            <desc>Text-case</desc>
            <filename>adjacent-sibling-webkit-breakage.html</filename>
            <type>text/html</type>
            <size>336</size>
            <attacher name="Peter Beverloo">peter</attacher>
            
              <data encoding="base64">PCFkb2N0eXBlIGh0bWw+IA0KPGh0bWwgbGFuZz0iZW4iPiANCiAgPGhlYWQ+IA0KICAgIDxtZXRh
IGNoYXJzZXQ9InV0Zi04IiAvPiANCiAgICA8dGl0bGU+PC90aXRsZT4gDQogICAgPHN0eWxlPiAN
CiAgICAgIHAuZm9vICsgcCB7IGNvbG9yOiByZWQ7IH0NCiAgICA8L3N0eWxlPiANCiAgPC9oZWFk
PiANCiAgPGJvZHk+IA0KICAgIDxwIGNsYXNzPSJmb28iPlRoaXMgdGV4dCBzaG91bGQgYmUgYmxh
Y2suPC9wPiANCiAgICA8cD5UaGlzIHRleHQgc2hvdWxkIGJlIHJlZC48L3A+IA0KICAgIDxwPlRo
aXMgdGV4dCBzaG91bGQgYmUgYmxhY2suPC9wPiANCiAgPC9ib2R5PiANCjwvaHRtbD4g
</data>

          </attachment>
      

    </bug>

</bugzilla>