/
171.txt
78 lines (56 loc) · 3.51 KB
/
171.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
[5] [DFN[[RUBYB[スクリプト支援要素]@en[script-supporting element]]]]は、
[[スクリプト]]や[[スクリプト]]が使うための情報を埋め込むための[[要素]]です。
[[文書木]]に所属してはいますが、[[利用者]]に直接何かを伝達するような、
直感的な意味での「[[文書]]」の一部ではないものです。
* 仕様書
[REFS[
- [1] [CITE@en-GB-x-hixie[HTML Standard]] ([TIME[2016-02-16 01:30:20 +09:00]] 版) <https://html.spec.whatwg.org/#script-supporting-elements-2>
]REFS]
* 意味
[2] [DFN[[RUBYB[スクリプト支援要素]@en[script-supporting element]]]]は、
それ自体が何かを[[表現]]するのではなく、
[[スクリプト]]を[RUBYB[支援]@en[support]]するために使う
(例えば[[利用者]]に機能性を提供する) ものです [SRC[>>1]]。
* 所属
[3] 次の[[要素]]が[[スクリプト支援要素]]に分類されています [SRC[>>1]]。
[FIG(short list)[
- [CODE(HTMLe)@en[[[script]]]]
- [CODE(HTMLe)@en[[[template]]]]
]FIG]
* 文脈
[4] [[スクリプト支援要素]]は、 [[HTML文書]]中のほとんどあらゆる場所に挿入できます。
* 関連
[6] [[メタデータ内容]]とも役割が似ていますが、一般に[[メタデータ内容]]は
[[Webブラウザー]]その他の[[利用者エージェント]]に広く利用される可能性があるのに対し、
[[スクリプト支援要素]]は専ら当該[[文書]]の[[スクリプト]]の実装でのみ有用なものです。
* メモ
[7] [CITE@en[25552 – Shouldn't <figure> also allow intermixed script-supporting elements (before/after the <figcaption>)?]]
([TIME[2017-07-24 15:36:33 +09:00]])
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=25552>
[8] [CITE@en[25553 – Shouldn't <object> also allow intermixed script-supporting elements?]]
([TIME[2017-07-24 15:37:05 +09:00]])
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=25553>
[9] [CITE@en[25555 – Shouldn't <ruby> also allow intermixed script-supporting elements?]]
([TIME[2017-07-24 15:37:41 +09:00]])
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=25555>
[10] [CITE@en[25547 – Shouldn't <video> allow intermixed script-supporting elements?]]
([TIME[2017-07-24 15:38:00 +09:00]])
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=25547>
[11] [CITE@en[25550 – Shouldn't <details> also allow intermixed script-supporting elements (before the <summary>)?]]
([TIME[2017-07-24 15:38:22 +09:00]])
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=25550>
[12] [CITE@en[25551 – Shouldn't <fieldset> also allow intermixed script-supporting elements (before the <legend>)?]]
([TIME[2017-07-24 15:38:32 +09:00]])
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=25551>
[13] [CITE@en[Allow <script> inside <hgroup>]]
([[annevk]]著, [TIME[2018-01-23 00:32:01 +09:00]])
<https://github.com/whatwg/html/commit/9bc8dee5ace8a8c01b9a621b4cda3377867065f1>
[14] [CITE@en['''['''c''']''' (3) Make <script> be accepted in most places <template> is now ac…]]
([[Hixie]]著, [TIME[2013-07-04 03:26:58 +09:00]])
<https://github.com/whatwg/html/commit/c9a38bd7dc5cdf19b479566a0e1ed0a57d27c6c2>
[15] [CITE@en['''['''acgiowt''']''' (2) Catch up with recent changes that were made while the p…]]
([[Hixie]]著, [TIME[2014-08-02 01:30:15 +09:00]])
<https://github.com/whatwg/html/commit/d2021df727adb22ee6d4c7e7968aa5abbd93a307>
[16] [CITE@en[Allow <script> inside <hgroup> by annevk · Pull Request #3383 · whatwg/html]]
([TIME[2018-05-01 13:35:01 +09:00]])
<https://github.com/whatwg/html/pull/3383>