<?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>53819</bug_id>
          
          <creation_ts>2011-02-04 15:16:28 -0800</creation_ts>
          <short_desc>REGRESSION: CSS declarations in a rule with next sibling selector affects other elements</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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>53610</dup_id>
          
          <bug_file_loc>http://software.hixie.ch/utilities/js/live-dom-viewer/saved/826</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Simon Pieters (:zcorpan)">zcorpan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aestes</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>345846</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Pieters (:zcorpan)">zcorpan</who>
    <bug_when>2011-02-04 15:16:28 -0800</bug_when>
    <thetext>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 &lt;div class=a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=b&gt;foo&lt;/div&gt;&lt;p&gt;bar&lt;/p&gt;
3.

What is the expected result?
The &quot;bar&quot; paragraph should not get the &apos;clear:left&apos; style applied.

What happens instead?
The &quot;bar&quot; paragraph gets the &apos;clear:left&apos; style applied. Devtools shows &apos;clear:left&apos; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>346012</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-02-04 19:26:10 -0800</bug_when>
    <thetext>&lt;rdar://problem/8963027&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>346216</commentid>
    <comment_count>2</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2011-02-05 17:14:17 -0800</bug_when>
    <thetext>I can&apos;t reproduce this in the latest WebKit nightly build (r77734). Simon, are you able to?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>346217</commentid>
    <comment_count>3</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2011-02-05 17:23:57 -0800</bug_when>
    <thetext>&apos;bisect-builds -p&apos; tells me:

Fails: r77618  Works: r77709

Unfortunately I don&apos;t have time right now to narrow it down any further.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>346218</commentid>
    <comment_count>4</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2011-02-05 17:44:00 -0800</bug_when>
    <thetext>Ahh, found it. Fixed by http://trac.webkit.org/changeset/77664.

*** This bug has been marked as a duplicate of bug 53610 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>