<?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>26596</bug_id>
          
          <creation_ts>2014-08-18 12:09:13 +0000</creation_ts>
          <short_desc>Attr.value cannot be readonly</short_desc>
          <delta_ts>2014-08-18 14:21:26 +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>Linux</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philip Jägenstedt">philipj</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>bugs</cc>
    
    <cc>crimsteam</cc>
    
    <cc>jonas</cc>
    
    <cc>justinut2010</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>110227</commentid>
    <comment_count>0</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2014-08-18 12:09:13 +0000</bug_when>
    <thetext>http://www.chromestatus.com/metrics/feature/timeline/popularity/299
http://www.chromestatus.com/metrics/feature/timeline/popularity/303

The use counters for the setter are a bit too high, even if only counting when actually attached to an element.

:(

Background:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21986#c9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110231</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-08-18 13:33:49 +0000</bug_when>
    <thetext>Also need to add Attr.prototype.textContent as alias per http://www.chromestatus.com/metrics/feature/timeline/popularity/349</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110232</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2014-08-18 14:06:40 +0000</bug_when>
    <thetext>First I think we should determine if making Attr not inherit Node and not have child nodes is going to fly. Unfortunately there are lots of APIs that expose the fact that Attr is a Node and has children, at least:

childNodes
firstChild
lastChild
insertBefore
replaceChild
removeChild
appendChild
hasChildNodes
cloneNode
normalize
contains

... and probably more. The best I can think of is to try to separate these into buckets AttrChildNodeAccess and AttrChildNodeModification and see if usage is low enough. Am I missing something?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110234</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-08-18 14:13:52 +0000</bug_when>
    <thetext>That seems correct. Whether Attr needs to be a Node we should probably track separately from whether Attr should have a settable value and textContent though. Would be really sad if that was required.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110236</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-08-18 14:17:38 +0000</bug_when>
    <thetext>*** Bug 25086 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110240</commentid>
    <comment_count>5</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-08-18 14:21:26 +0000</bug_when>
    <thetext>https://github.com/whatwg/dom/commit/f64b0c82896d68ad534544ed8109ac41c175840d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>