DOMSettableTokenList

DOMSettableTokenList

仕様書

状態

[14] 次の状態を持ちます。

関連付けられた要素
関連付けられた要素です。
関連付けられた属性局所名
関連付けられた要素属性局所名です。 (対象となる属性はすべてnull名前空間に属するので、局所名だけで識別できます。)

文脈

[46] DOMTokenList インターフェイス文書環境ワーカー環境晒されています >>6

[5] DOMTokenList は次の場所で使われています。

[41] すべて、内容属性反映するIDL属性です。

反映参照。

関連

[4] 似たインターフェイスとして DOMStringList がありましたが、特に継承等の関係はありません。

歴史

HTML Standard

XXX

DOM Standard

[1] classList、relList - 素人がプログラミングを勉強するブログ ( 版) <http://d.hatena.ne.jp/javascripter/20090111/1231685097>

対応値検査の導入

[10] IRC logs: freenode / #whatwg / 20151103 ( 版) <http://krijnhoetmer.nl/irc-logs/whatwg/20151103>

[11] IRC logs: freenode / #whatwg / 20151113 ( 版) <http://krijnhoetmer.nl/irc-logs/whatwg/20151113>

[12] Attempt to generalize the DOMTokenList requirements · whatwg/dom@ff81234 ( 版) <https://github.com/whatwg/dom/commit/ff812344b45d6e256c5479f533897eca260d04b4>

[13] Fix #91: DOMTokenList has an associated attribute's local name · whatwg/dom@ad73dc5 ( 版) <https://github.com/whatwg/dom/commit/ad73dc520c16115c156cbd810a369ba02eb89072>

[15] Fix #93: use less loops · whatwg/dom@244f66f ( 版) <https://github.com/whatwg/dom/commit/244f66fba9eb32f77d9454ae06ad7214f79fbc40>

[16] Fix #105: sad DOMTokenList serialization is sad · whatwg/dom@2920fc1 ( 版) <https://github.com/whatwg/dom/commit/2920fc15b9e894c45ff84c5d3bb77f7513ff50e5>

[17] Add DOMTokenList hook to validate to added token · whatwg/dom@4674ad0 ( 版) <https://github.com/whatwg/dom/commit/4674ad0caa3bb1841d07fa8dda3f80204f795dbc>

[18] Add supported tokens to relList and sandbox · whatwg/html@f7a66ed ( 版) <https://github.com/whatwg/html/commit/f7a66ed52a93d3b63304f4a669e868684dc95b56>

[19] Editorial tweak around "supported tokens" · whatwg/html@9a530ce ( 版) <https://github.com/whatwg/html/commit/9a530ce14e2537bd2a4bbec06a7a25c0fa4bb027>

[20] Add DOMTokenList hook to validate to added token · whatwg/dom@4674ad0 ( 版) <https://github.com/whatwg/dom/commit/4674ad0caa3bb1841d07fa8dda3f80204f795dbc>

[21] Add a validation step when a new DOMTokenList is created · whatwg/dom@63a0302 ( 版) <https://github.com/whatwg/dom/commit/63a030265fc3dac400a99f729fd5874490ae335c>

[22] Fix #28: introduce DOMTokenList's replace() · whatwg/dom@f7dfc82 ( 版) <https://github.com/whatwg/dom/commit/f7dfc82f34426cb9f626af252a693d05ea933dc8>

[23] Close #123: remove feature detection from add() and add supports() · whatwg/dom@ff4f0e8 ( 版) <https://github.com/whatwg/dom/commit/ff4f0e8bf0a1ef5829411fc5988f94a75118f73b>

[24] 28796 – Feature testing for <link rel> ( 版) <https://www.w3.org/Bugs/Public/show_bug.cgi?id=28796>

[25] 29061 – iframe@sandbox support should be feature-detectable. ( 版) <https://www.w3.org/Bugs/Public/show_bug.cgi?id=29061>

DOMSettableTokenList

[29] DOMSettableTokenList has an associated attribute too · whatwg/dom@e48ced4 ( 版) <https://github.com/whatwg/dom/commit/e48ced42e68ce540c8d7c05d43868082f9d86f11>

[30] DOMSettableTokenList needs an associated content attribute · Issue #81 · whatwg/dom ( 版) <https://github.com/whatwg/dom/issues/81>

[31] IRC logs: freenode / #whatwg / 20151125 ( 版) <http://krijnhoetmer.nl/irc-logs/whatwg/20151125>

[32] IRC logs: freenode / #whatwg / 20151126 ( 版) <http://krijnhoetmer.nl/irc-logs/whatwg/20151126>

DOMTokenListDOMSettableTokenList の統合

[27] relListclassListDOMTokenList、それ以外はその子インターフェイスDOMSettableTokenList とされていましたが、 2015年11月に両者は統合されました。

[33] Fix #358: use DOMTokenList exclusively · whatwg/html@98183f9 ( 版) <https://github.com/whatwg/html/commit/98183f98c609d61e508bbec46b7ab86d37b99b47>

[34] Adding [SameObject] to DOMTokenLists · whatwg/html@ec1dc4d ( 版) <https://github.com/whatwg/html/commit/ec1dc4d4571c61cf0c0dfe3e562898635886b412>

[35] Shadow: define superglobal slot content attribute · whatwg/dom@e3d8291 ( 版) <https://github.com/whatwg/dom/commit/e3d82914676ad1e1bf590e1042636e60feddb6ae>

[36] Use a single concept for attribute changes · whatwg/dom@4b291d1 ( 版) <https://github.com/whatwg/dom/commit/4b291d1a91a1e8b59997d4b021137d809706bd37>

[37] Formalize custom element reactions · whatwg/html@27aa7bc ( 版) <https://github.com/whatwg/html/commit/27aa7bc4fa6f168654a8c858f0773e611f679b39>

[38] Add [CEReactions] annotations to mutating methods · whatwg/dom@3cd02d1 ( 版) <https://github.com/whatwg/dom/commit/3cd02d139c159a31fbb400e03932652c72fc7812>

[39] 27114 – Make DOMTokenList constructible () <https://www.w3.org/Bugs/Public/show_bug.cgi?id=27114>

[40] Editorial: simplify DOMTokenList IDL (annevk著, ) <https://github.com/whatwg/dom/commit/cb85ac4c35baa1345f2b71e2dd3d57b098ddf2d1>

[42] Always update a DOMTokenList (annevk著, ) <https://github.com/whatwg/dom/commit/d396872f847d63b803393092eb81843e80d566b7>

[43] Always update a DOMTokenList (annevk著, ) <https://github.com/whatwg/dom/commit/d396872f847d63b803393092eb81843e80d566b7>

[44] Add [Exposed] to DOMTokenList (annevk著, ) <https://github.com/whatwg/dom/commit/da7b3ec5d9a4cbd857f0dc6c5ef164331ae156be>

[45] Add [Exposed] to DOMTokenList by annevk · Pull Request #499 · whatwg/dom () <https://github.com/whatwg/dom/pull/499>

[47] <span class="a b c">.classList.replace("c", "a") -> "a b" or "b a"? (DOMTokenList) · Issue #442 · whatwg/dom () <https://github.com/whatwg/dom/issues/442>

[48] DOMTokenList.add/remove normalize dupes/whitespace even if they're no-ops, but .toggle doesn't · Issue #443 · whatwg/dom () <https://github.com/whatwg/dom/issues/443>

[49] Always update a DOMTokenList by annevk · Pull Request #444 · whatwg/dom () <https://github.com/whatwg/dom/pull/444>

[50] Web reality: DOMTokenList's toggle() cannot always update the corresponding attribute · Issue #451 · whatwg/dom () <https://github.com/whatwg/dom/issues/451>

[51] DOMTokernList's toggle() cannot always update the attribute by annevk · Pull Request #452 · whatwg/dom () <https://github.com/whatwg/dom/pull/452>

[52] Editorial: give replace() the same note as toggle() (annevk著, ) <https://github.com/whatwg/dom/commit/bcb0b3f93f487c1300aa51302a7a376492c2ffd4>

[53] Make the DOMTokenList creation steps use "get an attribute value" (TRowbotham著, ) <https://github.com/whatwg/dom/commit/28cdb47e557c814fcca60759f4cce43e9c0e9a47>

[54] "When a DOMTokenList object is created, then: ..." · Issue #666 · whatwg/dom () <https://github.com/whatwg/dom/issues/666>

[55] Make the DOMTokenList creation steps use "get an attribute value" by TRowbotham · Pull Request #673 · whatwg/dom () <https://github.com/whatwg/dom/pull/673>