/
869.txt
117 lines (86 loc) · 4.02 KB
/
869.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
* 仕様書
[REFS[
- [2] [CITE[Web IDL (Second Edition)]]
( ([TIME[2014-02-10 21:45:38 +09:00]] 版))
<http://heycam.github.io/webidl/#dfn-supported-property-names>
]REFS]
* 性質
[9] [[supported property names]] により作られる[[特性]]は、
[[列挙可能]]が基本ですが、[[列挙不能]]なこともあります。
* supported property names が定義されているインターフェイス
[FIG(table)[
:x:[[インターフェイス]]
:getter:[[named getter]]
:enumerable:[[列挙可能]]
:arraylike:[[配列風インターフェイス]]
:legacycaller:[CODE(IDL)@en[[[legacycaller]]]]
:x:[[JavaScript]] [CODE(JS)@en[[[Object]]]]
:getter:(○)
:enumerable:○
:x:[CODE(DOMi)@en[[[DOMStringMap]]]] [SRC[[[HTML Standard]]]]
:x:[CODE(DOMi)@en[[[HTMLCollection]]]] [SRC[[[DOM Standard]]]]
:enumerable:×
:arraylike:○
:x:[CODE(DOMi)@en[[[HTMLAllCollection]]]] [SRC[[[HTML Standard]]]]
:enumerable:×
:arraylike:○
:legacycaller:○
:x:[CODE(DOMi)@en[[[HTMLFormControlsCollection]]]] [SRC[[[HTML Standard]]]]
:enumerable:×
:arraylike:○
:x:[CODE(DOMi)@en[[[HTMLOptionsCollection]]]] [SRC[[[HTML Standard]]]]
:enumerable:×
:arraylike:○
:x:[CODE(DOMi)@en[[[Document]]]] [SRC[[[HTML Standard]]]]
:x:[CODE(DOMi)@en[[[HTMLFormElement]]]] [SRC[[[HTML Standard]]]]
:enumerable:×
:arraylike:○
:x:[CODE(DOMi)@en[[[Window]]]] [SRC[[[HTML Standard]]]]
:arraylike:○
:enumerable:×
:x:[CODE(DOMi)@en[[[PluginArray]]]] [SRC[[[HTML Standard]]]]
:getter:[CODE(DOMm)@en[[[namedItem]]]]
:enumerable:×
:arraylike:○
:x:[CODE(DOMi)@en[[[Plugin]]]] [SRC[[[HTML Standard]]]]
:getter:[CODE(DOMm)@en[[[namedItem]]]]
:enumerable:×
:arraylike:○
:x:[CODE(DOMi)@en[[[MimeTypeArray]]]] [SRC[[[HTML Standard]]]]
:getter:[CODE(DOMm)@en[[[namedItem]]]]
:enumerable:×
:arraylike:○
:x:[CODE(DOMi)@en[[[Storage]]]] [SRC[[[HTML Standard]]]]
:getter:[CODE(DOMm)@en[[[getItem]]]]
:x:[CODE(DOMi)@en[[[CSSStyleDeclaration]]]]
:arraylike:○
:x:[CODE(DOMi)@en[[[HTMLPropertiesCollection]]]] [SRC[[[HTML Standard]]]] ([[廃止]])
:enumerable:×
:arraylike:○
:x:[CODE(DOMi)@en[[[DOMElementMap]]]] [SRC[[[HTML Standard]]]] ([[廃止]])
]FIG]
* 歴史
[1] [CITE@en[Web Applications 1.0 r8010 Make the empty string no longer be a possible index for most objects that can be indexed by name.]]
( ([TIME[2013-07-03 06:45:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=8009&to=8010>
[3] [CITE@en[Re: Violations of internal method invariants?]]
( ([[Boris Zbarsky]] 著, [TIME[2014-07-31 15:23:00 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-script-coord/2014JulSep/0140.html>
[4] [CITE@en[Merge pull request #45 from bzbarsky/introduce-set-trap · 8d06953 · heycam/webidl]]
([TIME[2015-03-13 11:55:00 +09:00]] 版)
<https://github.com/heycam/webidl/commit/8d069531d2bf4e794b53bc496a4499af9d124bc9>
[5] [CITE@en[Re: Defining a ''''''[''''''''''''[''''''Set'''''']'''''''''''']'''''' internal method for platform objects]]
([[Boris Zbarsky]] 著, [TIME[2015-03-13 00:45:44 +09:00]] 版)
<https://lists.w3.org/Archives/Public/public-script-coord/2015JanMar/0196.html>
[6] [CITE@en[Web Applications 1.0 r6136 Add some warnings in areas where the spec might change based on implementation changes.]]
( ([TIME[2011-05-13 14:53:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=6135&to=6136>
[7] [CITE@en[Bug 6036 – HTMLCollection.namedItem() should look for non-HTML elements]]
( ([TIME[2013-01-05 12:28:17 +09:00]] 版))
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=6036>
[8] [CITE[Define HTMLCollection's named properties better. Also widen the element-... · 1400a64 · whatwg/dom]]
( ([TIME[2013-01-05 12:30:05 +09:00]] 版))
<https://github.com/whatwg/dom/commit/1400a64aff1f2155f9cfa935624b4bfbc4f7c66b>
[10] [CITE@en[Fix #141: NamedNodeMap's supported property names should not contain … · whatwg/dom@5dbefd1]]
([TIME[2016-01-07 11:55:17 +09:00]] 版)
<https://github.com/whatwg/dom/commit/5dbefd1035c5528e236a8b13dabcbd6c649e2d3e>