<?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>25021</bug_id>
          
          <creation_ts>2014-03-12 19:45:50 +0000</creation_ts>
          <short_desc>Reintroduction of Attribute ownerElement</short_desc>
          <delta_ts>2014-04-16 12:40:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>DOM4</component>
          <version>unspecified</version>
          <rep_platform>Macintosh</rep_platform>
          <op_sys>MacOS X</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>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="William J. Edney">bedney</reporter>
          <assigned_to name="Robin Berjon">robin</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>102257</commentid>
    <comment_count>0</comment_count>
    <who name="William J. Edney">bedney</who>
    <bug_when>2014-03-12 19:45:50 +0000</bug_when>
    <thetext>In changing Attributes from being Nodes to being just regular objects, this property got dropped.

It seems to me that just because an Attribute is no longer a Node that that doesn&apos;t alter the fact that it still has an &apos;owning element&apos;.

I do have use cases whereby I am holding an Attribute (Node - for now, object - for the future) where I need to &apos;refer back&apos; to the owning element.

Browsers are starting to implement pieces of L4 and this is now a breaking change. I would propose it&apos;s reintroduction as a property of Attribute.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103163</commentid>
    <comment_count>1</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2014-03-31 12:49:47 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:

   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: Reintroduced ownerElement (from cherry-pick)
Rationale: This is implemented, useful, and used.

http://w3c.github.io/dom/index.html#dom-attr-ownerelement</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103961</commentid>
    <comment_count>2</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2014-04-16 12:40:33 +0000</bug_when>
    <thetext>Actually, I am going to have to revert this decision (I just did in fact). I mistakenly thought that the upstream spec had reintroduced ownerElement (as discussed on www-dom) and that this bug was because I&apos;d screwed up syncing with it.

But it turns out that it was indeed added, but then removed. We&apos;re committed to tracking the upstream specification (http://dom.spec.whatwg.org/) and only differing from it by subsetting or small non-normative blah like the boilerplate.

Please track the upstream bug (which is still open) for further discussion: https://www.w3.org/Bugs/Public/show_bug.cgi?id=25086.

Note that while it is supported in Gecko and WebKit, it has recently been removed from Blink which ought to indicate that it is not needed. If you have data indicating the contrary, it would be a great idea to share it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>