[Bug 22051] New: DOMTokenList clarifications

[email protected]
Newsgroups gmane.comp.web.dom.general
Message-ID <[email protected]/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22051

            Bug ID: 22051
           Summary: DOMTokenList clarifications
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

<Ms2ger> DOMTokenList
<Ms2ger> I can't find the part where we say that it should be populated from
the attribute value
<annevk> open bug iirc
<Ms2ger> Ah
<annevk> not entirely sure anymore what I thought the right solution for that
would be at the time
<annevk> it should be pretty clear that setting it would just run the set
parser
<Ms2ger> So, my main question is this
<Ms2ger> rel="test test"
<Ms2ger> What is relList.length?
<annevk> 1
<annevk> note that this is a change from DOMTokenList's original design (we
made that two months back or so)
<annevk> we changed it into a set for perf and simplicity
<Ms2ger> http://dom.spec.whatwg.org/#concept-set-serializer doesn't seem to be
clear about the order
<Ms2ger> Also, "running the set serializer for the [...] list"?
<annevk> sorry, it's an ordered set
<annevk> I guess "add the collected string" should say "append ..."

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.