<?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>16426</bug_id>
          
          <creation_ts>2012-03-19 05:17:59 +0000</creation_ts>
          <short_desc>Non-existent reference to a &apos;child&apos; in the pre-remove algorithm</short_desc>
          <delta_ts>2012-03-19 09:18:30 +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>All</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>manish.tripathi.777</reporter>
          <assigned_to name="Ms2ger">Ms2ger</assigned_to>
          <cc>mike</cc>
    
    <cc>Ms2ger</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>65722</commentid>
    <comment_count>0</comment_count>
    <who name="">manish.tripathi.777</who>
    <bug_when>2012-03-19 05:17:59 +0000</bug_when>
    <thetext>http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-pre-remove

Either all instances of the word &apos;child&apos; in items 1,2,3 should be replaced by the word &apos;node&apos;, or the word &apos;node&apos; should be replaced by the word &apos;child&apos; in the title of the algorithm. 

As it stands now, the algorithm announces that it takes a &apos;node&apos; as an input, but later references it as a &apos;child&apos; (shown in the extract below by embedding the respective words in ****):

=======================================================
To pre-remove a **node** from a parent, run these steps:
    1. If **child&apos;s** parent is not parent, throw a &quot;NotFoundError&quot; exception and terminate these steps.
    2. Remove **child** from parent.
    3. Return **child**. 
=======================================================</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65735</commentid>
    <comment_count>1</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2012-03-19 09:18:30 +0000</bug_when>
    <thetext>Thanks;

https://bitbucket.org/ms2ger/dom-core/changeset/cb9797d99cf3
https://dvcs.w3.org/hg/domcore/rev/cb9797d99cf3</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>