<?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>16453</bug_id>
          
          <creation_ts>2012-03-20 17:31:40 +0000</creation_ts>
          <short_desc>Rename &quot;node document&quot;</short_desc>
          <delta_ts>2012-03-20 20:14:36 +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>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Pieters">zcorpan</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>bzbarsky</cc>
    
    <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>65853</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-03-20 17:31:40 +0000</bug_when>
    <thetext>I think the name &quot;node document&quot; is confusing. It would be easier to read various specs that use it if it was instead called &quot;owner document&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65857</commentid>
    <comment_count>1</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2012-03-20 18:09:47 +0000</bug_when>
    <thetext>I think the problem is that node.ownerDocument is null when node is a Document, but the uses that call it &quot;node document&quot; want node itself when node is a Document, right?

Maybe we should just add a realOwnerDocument property that does the sane thing for a Document of returning that same Document?  ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65859</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-03-20 18:25:01 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; I think the problem is that node.ownerDocument is null when node is a Document,
&gt; but the uses that call it &quot;node document&quot; want node itself when node is a
&gt; Document, right?

I don&apos;t see why that&apos;s a problem (and it&apos;s not the reason it&apos;s currently called &quot;node document&quot;).

&gt; Maybe we should just add a realOwnerDocument property that does the sane thing
&gt; for a Document of returning that same Document?  ;)

Not without a use case. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65861</commentid>
    <comment_count>3</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2012-03-20 18:28:04 +0000</bug_when>
    <thetext>&gt; I don&apos;t see why that&apos;s a problem 

Because having &quot;owner document&quot; mean something different from .ownerDocument seems really confusing to me...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65874</commentid>
    <comment_count>4</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2012-03-20 20:07:12 +0000</bug_when>
    <thetext>What bz said</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65875</commentid>
    <comment_count>5</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-03-20 20:14:36 +0000</bug_when>
    <thetext>Oh yeah, I forgot about that. Consider that reason #2 Simon. :-) The other was consistency with &quot;XMLHttpRequest document&quot;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>