/
186.txt
48 lines (36 loc) · 2.05 KB
/
186.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
* 仕様書
[REFS[
- [6] [CITE@en-US[DOM Standard]] ([TIME[2012-12-26 22:14:50 +09:00]] 版) <http://dom.spec.whatwg.org/#interface-domtokenlist>
]REFS]
* 利用箇所
[5] [CODE(DOMi)@en[[[DOMTokenList]]]] は次の場所で使われています。
[FIG[
- [CODE(DOMi)@en[[[Element]]]]
-- [CODE(DOMa)@en[[[classList]]]]
- [CODE(HTMLe)@en[[[a]]]], [CODE(HTMLe)@en[[[area]]]], [CODE(HTMLe)@en[[[link]]]]
-- [CODE(DOMa)@en[[[relList]]]]
- [CODE(DOMi)@en[[[DOMSettableTokenList]]]] が継承しています
]FIG]
* 関連
[4] 似た[[インターフェイス]]として [CODE(DOMi)@en[[[DOMStringList]]]] がありましたが、特に[[継承]]等の関係はありません。
* 歴史
[REFS[
- [2] [CITE@en[Web Applications 1.0 r6328 Move DOMTokenList to DOM Core]]
( ([TIME[2011-07-27 08:44:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=6327&to=6328>
- [3] [CITE[''''''[''''''whatwg'''''']'''''' DOMTokenList methods would be more useful with a space separated token list]]
( ([TIME[2012-05-03 10:37:01 +09:00]] 版))
<http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-May/035641.html>
- [7] [CITE@en[Web Applications 1.0 r7801 Update integration with DOM for DOMTokenList and DOMSettableTokenList]]
( ([TIME[2013-04-11 07:09:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=7800&to=7801>
- [8] [CITE[IRC logs: freenode / #whatwg / 20130411]]
( ([TIME[2013-04-13 15:40:14 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20130411#l-180>
- [9] [CITE@en[DOMSettableTokenList has an associated attribute too · whatwg/dom@e48ced4]] ([TIME[2015-10-26 18:46:42 +09:00]] 版) <https://github.com/whatwg/dom/commit/e48ced42e68ce540c8d7c05d43868082f9d86f11>
]REFS]
* メモ
[1] [CITE[classList、relList - 素人がプログラミングを勉強するブログ]] ([TIME[2009-02-08 18:10:09 +09:00]] 版) <http://d.hatena.ne.jp/javascripter/20090111/1231685097>
[10] [CITE[IRC logs: freenode / #whatwg / 20151103]]
([TIME[2015-11-04 11:41:54 +09:00]] 版)
<http://krijnhoetmer.nl/irc-logs/whatwg/20151103>