<?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>123565</bug_id>
          
          <creation_ts>2013-10-31 04:40:22 -0700</creation_ts>
          <short_desc>Expose DOM4 ParentNode API on Document, Element, and DocumentFragment</short_desc>
          <delta_ts>2016-04-11 08:16:18 -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>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, WebExposed</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne van Kesteren">annevk</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>barraclough</cc>
    
    <cc>benjamin</cc>
    
    <cc>cdumez</cc>
    
    <cc>eoconnor</cc>
    
    <cc>ggaren</cc>
    
    <cc>kling</cc>
    
    <cc>koivisto</cc>
    
    <cc>rniwa</cc>
    
    <cc>syoichi</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>945486</commentid>
    <comment_count>0</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2013-10-31 04:40:22 -0700</bug_when>
    <thetext>And remove SVGSVGElement.prototype.getElementById while you&apos;re at it, if you have that.

See: http://dom.spec.whatwg.org/#parentnode</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>945998</commentid>
    <comment_count>1</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2013-11-01 13:38:24 -0700</bug_when>
    <thetext>Are we really calling this thing ParentNode? That is a terrible name.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>946000</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-11-01 13:39:34 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Are we really calling this thing ParentNode? That is a terrible name.

Indeed!  I&apos;ve filed https://www.w3.org/Bugs/Public/show_bug.cgi?id=23698 to that end.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>946005</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-11-01 13:45:05 -0700</bug_when>
    <thetext>Oops, editors closed the bug :(

Oh well, we&apos;ll never use DOM4 naming then.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>976792</commentid>
    <comment_count>4</comment_count>
    <who name="Theresa O&apos;Connor">eoconnor</who>
    <bug_when>2014-02-05 10:10:05 -0800</bug_when>
    <thetext>Note that Gecko exposes .children etc. on DocumentFragment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>976795</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-02-05 10:11:07 -0800</bug_when>
    <thetext>&lt;rdar://problem/15991023&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1182629</commentid>
    <comment_count>6</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2016-04-11 01:13:19 -0700</bug_when>
    <thetext>Chris, didn&apos;t you do this already?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1182700</commentid>
    <comment_count>7</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2016-04-11 08:16:18 -0700</bug_when>
    <thetext>I have just compared our implementation with the specification and it does appear that:
- Our ParentNode.idl matches the DOM spec at https://dom.spec.whatwg.org/#parentnode
- Document, DocumentFragment and Element implement ParentNode

So I think we can close this bug.

Also not that actual naming we use does not matter that much since the &apos;ParentNode&apos; naming is not web-exposed. That said, there are advantages to matching the naming in the spec.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>