<?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>22051</bug_id>
          
          <creation_ts>2013-05-15 19:10:14 +0000</creation_ts>
          <short_desc>DOMTokenList clarifications</short_desc>
          <delta_ts>2013-09-06 15:24:50 +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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ms2ger">Ms2ger</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>mike</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>87735</commentid>
    <comment_count>0</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2013-05-15 19:10:14 +0000</bug_when>
    <thetext>&lt;Ms2ger&gt; DOMTokenList
&lt;Ms2ger&gt; I can&apos;t find the part where we say that it should be populated from the attribute value
&lt;annevk&gt; open bug iirc
&lt;Ms2ger&gt; Ah
&lt;annevk&gt; not entirely sure anymore what I thought the right solution for that would be at the time
&lt;annevk&gt; it should be pretty clear that setting it would just run the set parser
&lt;Ms2ger&gt; So, my main question is this
&lt;Ms2ger&gt; rel=&quot;test test&quot;
&lt;Ms2ger&gt; What is relList.length?
&lt;annevk&gt; 1
&lt;annevk&gt; note that this is a change from DOMTokenList&apos;s original design (we made that two months back or so)
&lt;annevk&gt; we changed it into a set for perf and simplicity
&lt;Ms2ger&gt; http://dom.spec.whatwg.org/#concept-set-serializer doesn&apos;t seem to be clear about the order
&lt;Ms2ger&gt; Also, &quot;running the set serializer for the [...] list&quot;?
&lt;annevk&gt; sorry, it&apos;s an ordered set
&lt;annevk&gt; I guess &quot;add the collected string&quot; should say &quot;append ...&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87888</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-05-20 03:18:09 +0000</bug_when>
    <thetext>https://github.com/whatwg/dom/commit/a318480b61924a0d30ab35a35e7e47df6852a2a3

Did we want to fix anything else as part of this bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87906</commentid>
    <comment_count>2</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2013-05-20 07:45:31 +0000</bug_when>
    <thetext>&lt;Ms2ger&gt; I can&apos;t find the part where we say that it should be populated from the attribute value</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87907</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-05-20 07:49:21 +0000</bug_when>
    <thetext>That part sounds like a duplicate of bug 20660.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93112</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-09-06 15:24:50 +0000</bug_when>
    <thetext>I think I fixed a bunch of this stuff recently. I&apos;m going to mark this FIXED given the open bug in comment 3 and these commits:

https://github.com/whatwg/dom/commit/52bec56bdbff045a9d0381d967b6c468ba19ff87
https://github.com/whatwg/dom/commit/bab1a08be1f823b72ea681f40f7ecb9c43a44400</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>