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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>23268</bug_id>
          
          <creation_ts>2013-09-17 20:07:57 +0000</creation_ts>
          <short_desc>Cannot describe NodeIterator in terms of &quot;node is removed&quot;</short_desc>
          <delta_ts>2014-08-14 14:55:38 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>DOM</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>24653</dependson>
          <blocked>25430</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne">annevk</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>crimsteam</cc>
    
    <cc>mike</cc>
    
    <cc>www-dom</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>93504</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-09-17 20:07:57 +0000</bug_when>
    <thetext>http://dom.spec.whatwg.org/#interface-nodeiterator

[[
Before a node is removed from the iterator collection, these steps must be run: 
]]

Not entirely sure how to hook this into the mutation algorithms.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100409</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-02-12 17:03:52 +0000</bug_when>
    <thetext>Basically, the current setup is wrong.

The node is removed hook needs to be passed removedNode, oldParent, and oldPreviousSibling as arguments. Those can then be used to do various things.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100422</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-02-12 18:50:57 +0000</bug_when>
    <thetext>To be clear, the steps are in fact run after the node is removed. http://mxr.mozilla.org/mozilla-central/source/content/base/src/NodeIterator.cpp#71 has details from Gecko.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110183</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-08-14 14:55:38 +0000</bug_when>
    <thetext>https://github.com/whatwg/dom/commit/4937f1a5e39c0914ad2f0a3a35558cf1678e8b89</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>