<?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>15219</bug_id>
          
          <creation_ts>2007-09-14 16:50:24 -0700</creation_ts>
          <short_desc>fast/dom/replaceChild and clientWidthAfterDocumentIsRemoved have invalid expected output</short_desc>
          <delta_ts>2007-09-18 08:36:26 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matt Perry">mpComplete</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>463</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Perry">mpComplete</who>
    <bug_when>2007-09-14 16:50:24 -0700</bug_when>
    <thetext>Both of these tests remove a child iframe from the document.  Inside ContainerNode::removeChild, a call to willRemoveChild dispatches some events that leads to a load-completed event being fired, and the render tree is dumped prematurely (ie, before the child nodes are removed from the tree).  The DRT expected output contains the nodes that have been removed, which is clearly incorrect.

The scary thing here is that a load completed event is being fired from within a removeChild call!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>371</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-09-18 08:29:58 -0700</bug_when>
    <thetext>Also, LayoutTests/fast/dom/resources/replaceChildHelper.html is not well-formatted (&lt;body&gt; tag does not immediately follow &lt;/head&gt; tag).

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>372</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-09-18 08:35:13 -0700</bug_when>
    <thetext>Confirmed with a local debug build of WebKit r25545 on Safari 3 Public Beta v. 3.0.3 (522.12.1) on Mac OS X 10.4.10 (8R218).

Viewing the test with the Web Inspector shows no &lt;iframe&gt; element left in the DOM.  However, the render tree dump clearly shows an &lt;iframe&gt; element in the DOM.

http://trac.webkit.org/projects/webkit/browser/trunk/LayoutTests/fast/dom/replaceChild-expected.txt#L7

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>373</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-09-18 08:36:26 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Also, LayoutTests/fast/dom/resources/replaceChildHelper.html is not
&gt; well-formatted (&lt;body&gt; tag does not immediately follow &lt;/head&gt; tag).

Or &quot;well-formed&quot;.

http://trac.webkit.org/projects/webkit/browser/trunk/LayoutTests/fast/dom/resources/replaceChildHelper.html#L16

</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>