[whatwg/dom] Make the DOMTokenList creation steps use "get an attribute value" (#673)

This makes it so that if the `DOMTokenList`'s associated element has an attribute that is the associated attribute's local name, at creation time, it will use the "get an attribute value" steps, which will always return a string. Previously, the this used the "get an attribute by namespace and local name" steps, which would return an `Attr` node if the associated element had an attribute that is the associated attribute's local name. Fixes #666.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/dom/pull/673

-- Commit Summary --

  * Make the DOMTokenList creation steps use "get an attribute value"

-- File Changes --

    M dom.bs (5)

-- Patch Links --

https://github.com/whatwg/dom/pull/673.patch
https://github.com/whatwg/dom/pull/673.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/673

Received on Wednesday, 1 August 2018 00:31:34 UTC