<?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>16706</bug_id>
          
          <creation_ts>2008-01-01 22:21:18 -0800</creation_ts>
          <short_desc>CSS3: &quot;#div1 ~ div div + div &gt; div&quot; fails to update after dom change (Acid3 bug)</short_desc>
          <delta_ts>2008-01-29 04:42:37 -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>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>11384</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>NeedsReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>17064</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bdakin</cc>
    
    <cc>webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65993</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-01-01 22:21:18 -0800</bug_when>
    <thetext>CSS3: &quot;#div1 ~ div div + div &gt; div&quot; fails to update after dom change (Acid3 bug)

    function () {
      // test 41: +, ~, &gt;, and &apos; &apos; in dynamic situations
      selectorTest(function (doc, add, expect) {
        var div1 = doc.createElement(&apos;div&apos;);
        div1.id = &quot;div1&quot;;
        doc.body.appendChild(div1);
        var div2 = doc.createElement(&apos;div&apos;);
        doc.body.appendChild(div2);
        var div3 = doc.createElement(&apos;div&apos;);
        doc.body.appendChild(div3);
        var div31 = doc.createElement(&apos;div&apos;);
        div3.appendChild(div31);
        var div311 = doc.createElement(&apos;div&apos;);
        div31.appendChild(div311);
        var div3111 = doc.createElement(&apos;div&apos;);
        div311.appendChild(div3111);
        var match = add(&quot;#div1 ~ div div + div &gt; div&quot;);
        expect(div1, 0, &quot;failure 1&quot;);
        expect(div2, 0, &quot;failure 2&quot;);
        expect(div3, 0, &quot;failure 3&quot;);
        expect(div31, 0, &quot;failure 4&quot;);
        expect(div311, 0, &quot;failure 5&quot;);
        expect(div3111, 0, &quot;failure 6&quot;);
        var div310 = doc.createElement(&apos;div&apos;);
        div31.insertBefore(div310, div311);
        expect(div1, 0, &quot;failure 7&quot;);
        expect(div2, 0, &quot;failure 8&quot;);
        expect(div3, 0, &quot;failure 9&quot;);
        expect(div31, 0, &quot;failure 10&quot;);
        expect(div310, 0, &quot;failure 11&quot;);
        expect(div311, 0, &quot;failure 12&quot;);
        expect(div3111, match, &quot;rule did not start matching after change&quot;);
      });

We fail the last expect:
expect(div3111, match, &quot;rule did not start matching after change&quot;);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68435</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-01-28 08:25:58 -0800</bug_when>
    <thetext>I think it&apos;s a duplication of a bug 11384, isn&apos;t it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68570</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-01-29 04:42:37 -0800</bug_when>
    <thetext>

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

    </bug>

</bugzilla>