Closed
Bug 1347998
Opened 7 years ago
Closed 7 years ago
Align DOMTokenList with the DOM Standard
Categories
(Core :: DOM: Core & HTML, enhancement, P2)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 869788
People
(Reporter: annevk, Unassigned)
Details
Comment 1•7 years ago
|
||
It looks per those tests the DOMTokenList can't just be built directly on top of our attribute value, because the former doesn't have duplicates but the latter does. In particular, computing its length is actually a potentially expensive operation in the spec, unlike what we have right now. :(
Updated•7 years ago
|
Priority: -- → P2
Comment 2•7 years ago
|
||
Reference: https://github.com/whatwg/dom/issues/105 Anne, why is this not a duplicate of bug 869788? It looks like the spec requires that all operations get rid of duplicates/whitespace, which seems exactly the same as bug 869788?
Flags: needinfo?(annevk)
Comment 3•7 years ago
|
||
Okay, so stringification does not get rid of duplicates/whitespace, that's what's different. Is that all? It's still basically the same change as bug 869788, it just needs tweaking.
Reporter | ||
Comment 4•7 years ago
|
||
I think that's all yes. I could probably have refocused that bug instead. Do you want me to reopen it and add comment 0 there?
Flags: needinfo?(annevk)
Comment 5•7 years ago
|
||
I'll do that, yes, since there was a whole bunch of technical work that already went on in that bug.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•