<?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>7964</bug_id>
          
          <creation_ts>2009-10-18 22:48:21 +0000</creation_ts>
          <short_desc>Either change the &quot;properties of an item&quot; algorithm to be tree-order or HTMLPropertyCollection.values to be algorithm-order</short_desc>
          <delta_ts>2010-10-04 14:57:14 +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>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#dom-propertynodelist-values</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>NE</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>LC</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>28480</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2009-10-18 22:48:21 +0000</bug_when>
    <thetext>Section: http://www.whatwg.org/specs/web-apps/current-work/#dom-propertynodelist-values

Comment:
Either change the &quot;properties of an item&quot; algorithm to be tree-order or HTMLPropertyCollection.values to be algorithm-order

Posted from: 79.136.63.95</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28482</commentid>
    <comment_count>1</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2009-10-18 22:52:06 +0000</bug_when>
    <thetext>IRC discussion logged at http://krijnhoetmer.nl/irc-logs/whatwg/20091019#l-24

Which should be changed depends on which is easier to implement. Unless there&apos;s a hurry, perhaps we can wait for the first implementors to give feedback before deciding.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28497</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2009-10-19 11:36:05 +0000</bug_when>
    <thetext>Of course it&apos;s PropertyNodeList.values, not HTMLPropertyCollection.values.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28736</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-10-21 10:10:34 +0000</bug_when>
    <thetext>Did you ever decide which was easier to implement?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28739</commentid>
    <comment_count>4</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2009-10-21 10:43:56 +0000</bug_when>
    <thetext>No, I&apos;m waiting for some kind of conclusion on the discussion started at http://lists.w3.org/Archives/Public/public-html/2009Oct/0581.html

As it stands:

Using algorithm-order requires a fair bit of complexity to avoid loops and cannot reuse general collection code which only supports document-order.

Using document-order would require either first doing the above and then sorting, or first doing a more limited traversal to determine which id&apos;s should be included and after that walking the entire document.

Both are more complex than any other type of collection, neither is impossible, but my guesstimate is that algorithm-order for everything (including the NodeList returned by .getItems()) would be easier, but as I said I&apos;m waiting for the conclusion of the above discussion to see if there can&apos;t be an &lt;itemref&gt;-free solution.

Leaving as NEEDSINFO, myself being the one who needs info.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28771</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-10-21 12:16:02 +0000</bug_when>
    <thetext>Reopening — I&apos;ll change the spec to be consistent, at least, and then we can change it to the other option once we know which is best.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28832</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-10-22 23:15:29 +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: Rejected
Change Description: no spec change
Rationale: This is irrelevant now that &lt;itemref&gt; is replaced by itemref=&quot;&quot;, since itemref=&quot;&quot; always gets processed in tree order.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>