/
789.txt
26 lines (19 loc) · 1.22 KB
/
789.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
* 仕様書
[REFS[
- [3] [CITE@en[DOM Standard]] ([TIME[2016-04-26 17:13:41 +09:00]] 版) <https://dom.spec.whatwg.org/#dom-elementcreationoptions-is>
]REFS]
* [CODE[is]] メンバー
[4] [[辞書]] [CODE(DOMi)@en[ElementCreationOptions]] の[[メンバー]]
[DFN[[CODE(DOMa)@en[is][is=""]]]] は、 [CODE(DOMi)@en[DOMString]]
を指定するものです [SRC[>>3]]。 [CODE(DOMm)@en[createElement]] や
[CODE(DOMm)@en[createElementNS]] で、作成する[[要素]]の
[CODE(HTMLa)@en[is][is=""]] [[内容属性]]の値を設定するために使うことができます。
[5] [CODE(HTMLa)@en[is][is=""]] [[内容属性]]は、[[要素の作成]]時に処理されます。
後から設定しても処理に影響しないことがあるため、作成と同時に指定するオプションが導入されました。
* 歴史
[1] [CITE@en[Add support for custom elements · whatwg/dom@7f63535]]
([TIME[2016-04-13 22:21:04 +09:00]] 版)
<https://github.com/whatwg/dom/commit/7f63535da39a1cbf7f8f68563abc6f05f760990a>
[2] [CITE@en[Rename the types of custom elements · whatwg/html@7858636]]
([TIME[2016-04-26 18:38:52 +09:00]] 版)
<https://github.com/whatwg/html/commit/785863622acc5cc9faf1ff392ae17786ee7b3b80>