@markuplint/ml-spec 3.0.0-dev.24 → 3.0.0-dev.290
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/constant/aria-version.d.ts +2 -0
- package/lib/constant/aria-version.js +2 -0
- package/lib/dom-traverse/accname-computation.js +6 -7
- package/lib/dom-traverse/get-attr-specs.d.ts +2 -2
- package/lib/dom-traverse/get-attr-specs.js +5 -7
- package/lib/dom-traverse/get-computed-aria-props.d.ts +2 -2
- package/lib/dom-traverse/get-computed-aria-props.js +10 -13
- package/lib/dom-traverse/get-computed-role.d.ts +2 -2
- package/lib/dom-traverse/get-computed-role.js +104 -31
- package/lib/dom-traverse/get-content-model.d.ts +4 -3
- package/lib/dom-traverse/get-content-model.js +8 -11
- package/lib/dom-traverse/get-explicit-role.d.ts +1 -1
- package/lib/dom-traverse/get-explicit-role.js +14 -14
- package/lib/dom-traverse/get-implicit-role.d.ts +3 -3
- package/lib/dom-traverse/get-implicit-role.js +12 -13
- package/lib/dom-traverse/get-non-presentational-ancestor.d.ts +2 -2
- package/lib/dom-traverse/get-non-presentational-ancestor.js +13 -10
- package/lib/dom-traverse/get-permitted-roles.d.ts +4 -4
- package/lib/dom-traverse/get-permitted-roles.js +5 -7
- package/lib/dom-traverse/get-spec.d.ts +2 -2
- package/lib/dom-traverse/get-spec.js +5 -7
- package/lib/dom-traverse/has-required-owned-elements.d.ts +3 -3
- package/lib/dom-traverse/has-required-owned-elements.js +21 -22
- package/lib/dom-traverse/is-exposed.d.ts +2 -2
- package/lib/dom-traverse/is-exposed.js +47 -18
- package/lib/dom-traverse/matches-context-role.d.ts +2 -0
- package/lib/dom-traverse/matches-context-role.js +23 -0
- package/lib/dom-traverse/may-be-focusable.d.ts +2 -2
- package/lib/dom-traverse/may-be-focusable.js +5 -7
- package/lib/index.d.ts +28 -24
- package/lib/index.js +28 -27
- package/lib/specs/aria-specs.d.ts +5 -5
- package/lib/specs/aria-specs.js +1 -5
- package/lib/specs/content-model-category-to-tag-names.d.ts +2 -2
- package/lib/specs/content-model-category-to-tag-names.js +1 -5
- package/lib/specs/get-aria.d.ts +4 -3
- package/lib/specs/get-aria.js +18 -18
- package/lib/specs/get-attr-specs.d.ts +3 -3
- package/lib/specs/get-attr-specs.js +5 -22
- package/lib/specs/get-implicit-role.d.ts +2 -2
- package/lib/specs/get-implicit-role.js +3 -7
- package/lib/specs/get-permitted-roles.d.ts +4 -4
- package/lib/specs/get-permitted-roles.js +29 -28
- package/lib/specs/get-role-spec.d.ts +2 -2
- package/lib/specs/get-role-spec.js +10 -14
- package/lib/specs/get-selectors-by-content-model-category.d.ts +3 -3
- package/lib/specs/get-selectors-by-content-model-category.js +2 -6
- package/lib/specs/get-spec-by-tag-name.d.ts +2 -2
- package/lib/specs/get-spec-by-tag-name.js +4 -8
- package/lib/specs/is-nothing-content-model.js +5 -7
- package/lib/specs/is-palpable-elements.d.ts +4 -4
- package/lib/specs/is-palpable-elements.js +7 -10
- package/lib/specs/is-presentational.js +1 -5
- package/lib/specs/is-void-element.js +3 -5
- package/lib/specs/resolve-version.d.ts +4 -3
- package/lib/specs/resolve-version.js +7 -12
- package/lib/specs/schema-to-spec.d.ts +4 -4
- package/lib/specs/schema-to-spec.js +30 -24
- package/lib/types/aria.d.ts +25 -4
- package/lib/types/aria.js +1 -3
- package/lib/types/attributes.d.ts +3 -4
- package/lib/types/attributes.js +1 -3
- package/lib/types/index.d.ts +93 -92
- package/lib/types/index.js +1 -2
- package/lib/types/permitted-structures.d.ts +6 -2
- package/lib/types/permitted-structures.js +1 -3
- package/lib/utils/get-ns.js +1 -5
- package/lib/utils/merge-array.d.ts +2 -2
- package/lib/utils/merge-array.js +1 -5
- package/lib/utils/resolve-namespace.js +4 -8
- package/lib/utils/validateAriaVersion.d.ts +2 -0
- package/lib/utils/validateAriaVersion.js +4 -0
- package/package.json +20 -10
- package/lib/types/permitted-structres.d.ts +0 -58
- package/lib/types/permitted-structres.js +0 -8
- package/schemas/aria.schema.json +0 -258
- package/schemas/attributes.schema.json +0 -204
- package/schemas/content-models.schema.json +0 -199
- package/schemas/element.schema.json +0 -11
- package/schemas/global-attributes.schema.json +0 -761
- package/src/dom-traverse/accname-computation.spec.ts +0 -69
- package/src/dom-traverse/accname-computation.ts +0 -5
- package/src/dom-traverse/get-attr-specs.ts +0 -8
- package/src/dom-traverse/get-computed-aria-props.spec.ts +0 -368
- package/src/dom-traverse/get-computed-aria-props.ts +0 -130
- package/src/dom-traverse/get-computed-role.spec.ts +0 -134
- package/src/dom-traverse/get-computed-role.ts +0 -181
- package/src/dom-traverse/get-content-model.ts +0 -32
- package/src/dom-traverse/get-explicit-role.ts +0 -112
- package/src/dom-traverse/get-implicit-role.ts +0 -36
- package/src/dom-traverse/get-non-presentational-ancestor.ts +0 -20
- package/src/dom-traverse/get-permitted-roles.ts +0 -7
- package/src/dom-traverse/get-spec.ts +0 -7
- package/src/dom-traverse/has-required-owned-elements.spec.ts +0 -36
- package/src/dom-traverse/has-required-owned-elements.ts +0 -85
- package/src/dom-traverse/is-exposed.spec.ts +0 -50
- package/src/dom-traverse/is-exposed.ts +0 -196
- package/src/dom-traverse/may-be-focusable.ts +0 -21
- package/src/index.ts +0 -24
- package/src/specs/aria-specs.ts +0 -6
- package/src/specs/content-model-category-to-tag-names.ts +0 -15
- package/src/specs/get-aria.ts +0 -85
- package/src/specs/get-attr-specs.spec.ts +0 -47
- package/src/specs/get-attr-specs.ts +0 -116
- package/src/specs/get-implicit-role.spec.ts +0 -81
- package/src/specs/get-implicit-role.ts +0 -17
- package/src/specs/get-permitted-roles.spec.ts +0 -420
- package/src/specs/get-permitted-roles.ts +0 -87
- package/src/specs/get-role-spec.spec.ts +0 -67
- package/src/specs/get-role-spec.ts +0 -72
- package/src/specs/get-selectors-by-content-model-category.ts +0 -10
- package/src/specs/get-spec-by-tag-name.spec.ts +0 -68
- package/src/specs/get-spec-by-tag-name.ts +0 -20
- package/src/specs/is-nothing-content-model.ts +0 -9
- package/src/specs/is-palpable-elements.ts +0 -55
- package/src/specs/is-presentational.ts +0 -6
- package/src/specs/is-void-element.ts +0 -22
- package/src/specs/resolve-version.ts +0 -20
- package/src/specs/schema-to-spec.spec.ts +0 -39
- package/src/specs/schema-to-spec.ts +0 -103
- package/src/types/aria.ts +0 -153
- package/src/types/attributes.ts +0 -1524
- package/src/types/index.ts +0 -255
- package/src/types/permitted-structres.ts +0 -100
- package/src/types/permitted-structures.ts +0 -96
- package/src/utils/get-ns.ts +0 -18
- package/src/utils/merge-array.ts +0 -35
- package/src/utils/resolve-namespace.spec.ts +0 -37
- package/src/utils/resolve-namespace.ts +0 -40
- package/tsconfig.test.json +0 -3
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -1,761 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {
|
|
3
|
-
"category": {
|
|
4
|
-
"type": "string",
|
|
5
|
-
"enum": [
|
|
6
|
-
"#HTMLGlobalAttrs",
|
|
7
|
-
"#GlobalEventAttrs",
|
|
8
|
-
"#DocumentElementEventAttrs",
|
|
9
|
-
"#HTMLLinkAndFetchingAttrs",
|
|
10
|
-
"#HTMLEmbededAndMediaContentAttrs",
|
|
11
|
-
"#HTMLFormControlElementAttrs",
|
|
12
|
-
"#HTMLTableCellElementAttrs",
|
|
13
|
-
"#ARIAAttrs",
|
|
14
|
-
"#SVGAnimationAdditionAttrs",
|
|
15
|
-
"#SVGAnimationAttributeTargetAttrs",
|
|
16
|
-
"#SVGAnimationEventAttrs",
|
|
17
|
-
"#SVGAnimationTargetElementAttrs",
|
|
18
|
-
"#SVGAnimationTimingAttrs",
|
|
19
|
-
"#SVGAnimationValueAttrs",
|
|
20
|
-
"#SVGConditionalProcessingAttrs",
|
|
21
|
-
"#SVGCoreAttrs",
|
|
22
|
-
"#SVGFilterPrimitiveAttrs",
|
|
23
|
-
"#SVGPresentationAttrs",
|
|
24
|
-
"#SVGTransferFunctionAttrs",
|
|
25
|
-
"#XLinkAttrs"
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"HTMLGlobalAttrs": {
|
|
29
|
-
"type": "string",
|
|
30
|
-
"enum": [
|
|
31
|
-
"accesskey",
|
|
32
|
-
"autocapitalize",
|
|
33
|
-
"autofocus",
|
|
34
|
-
"contenteditable",
|
|
35
|
-
"dir",
|
|
36
|
-
"draggable",
|
|
37
|
-
"enterkeyhint",
|
|
38
|
-
"hidden",
|
|
39
|
-
"inert",
|
|
40
|
-
"inputmode",
|
|
41
|
-
"is",
|
|
42
|
-
"itemid",
|
|
43
|
-
"itemprop",
|
|
44
|
-
"itemref",
|
|
45
|
-
"itemscope",
|
|
46
|
-
"itemtype",
|
|
47
|
-
"lang",
|
|
48
|
-
"nonce",
|
|
49
|
-
"spellcheck",
|
|
50
|
-
"style",
|
|
51
|
-
"tabindex",
|
|
52
|
-
"title",
|
|
53
|
-
"translate",
|
|
54
|
-
"class",
|
|
55
|
-
"id",
|
|
56
|
-
"slot",
|
|
57
|
-
"xmlns",
|
|
58
|
-
"xml:lang",
|
|
59
|
-
"xml:space"
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
"GlobalEventAttrs": {
|
|
63
|
-
"type": "string",
|
|
64
|
-
"enum": [
|
|
65
|
-
"onabort",
|
|
66
|
-
"onauxclick",
|
|
67
|
-
"onbeforeinput",
|
|
68
|
-
"onbeforematch",
|
|
69
|
-
"onblur",
|
|
70
|
-
"oncancel",
|
|
71
|
-
"oncanplay",
|
|
72
|
-
"oncanplaythrough",
|
|
73
|
-
"onchange",
|
|
74
|
-
"onclick",
|
|
75
|
-
"onclose",
|
|
76
|
-
"oncontextlost",
|
|
77
|
-
"oncompositionstart",
|
|
78
|
-
"oncompositionupdate",
|
|
79
|
-
"oncompositionend",
|
|
80
|
-
"oncontextmenu",
|
|
81
|
-
"oncontextrestored",
|
|
82
|
-
"oncuechange",
|
|
83
|
-
"ondblclick",
|
|
84
|
-
"ondrag",
|
|
85
|
-
"ondragend",
|
|
86
|
-
"ondragenter",
|
|
87
|
-
"ondragleave",
|
|
88
|
-
"ondragover",
|
|
89
|
-
"ondragstart",
|
|
90
|
-
"ondrop",
|
|
91
|
-
"ondurationchange",
|
|
92
|
-
"onemptied",
|
|
93
|
-
"onended",
|
|
94
|
-
"onerror",
|
|
95
|
-
"onfocus",
|
|
96
|
-
"onformdata",
|
|
97
|
-
"onfocusin",
|
|
98
|
-
"onfocusout",
|
|
99
|
-
"oninput",
|
|
100
|
-
"oninvalid",
|
|
101
|
-
"onkeydown",
|
|
102
|
-
"onkeypress",
|
|
103
|
-
"onkeyup",
|
|
104
|
-
"onload",
|
|
105
|
-
"onloadeddata",
|
|
106
|
-
"onloadedmetadata",
|
|
107
|
-
"onloadstart",
|
|
108
|
-
"onmousedown",
|
|
109
|
-
"onmouseenter",
|
|
110
|
-
"onmouseleave",
|
|
111
|
-
"onmousemove",
|
|
112
|
-
"onmouseout",
|
|
113
|
-
"onmouseover",
|
|
114
|
-
"onmouseup",
|
|
115
|
-
"onpause",
|
|
116
|
-
"onplay",
|
|
117
|
-
"onplaying",
|
|
118
|
-
"onprogress",
|
|
119
|
-
"onratechange",
|
|
120
|
-
"onreset",
|
|
121
|
-
"onresize",
|
|
122
|
-
"onscroll",
|
|
123
|
-
"onsecuritypolicyviolation",
|
|
124
|
-
"onseeked",
|
|
125
|
-
"onseeking",
|
|
126
|
-
"onselect",
|
|
127
|
-
"onslotchange",
|
|
128
|
-
"onstalled",
|
|
129
|
-
"onsubmit",
|
|
130
|
-
"onsuspend",
|
|
131
|
-
"ontimeupdate",
|
|
132
|
-
"ontoggle",
|
|
133
|
-
"onvolumechange",
|
|
134
|
-
"onwaiting",
|
|
135
|
-
"onwebkitanimationend",
|
|
136
|
-
"onwebkitanimationiteration",
|
|
137
|
-
"onwebkitanimationstart",
|
|
138
|
-
"onwebkittransitionend",
|
|
139
|
-
"onunload",
|
|
140
|
-
"onwheel"
|
|
141
|
-
]
|
|
142
|
-
},
|
|
143
|
-
"DocumentElementEventAttrs": { "type": "string", "enum": ["oncopy", "oncut", "onpaste"] },
|
|
144
|
-
"HTMLLinkAndFetchingAttrs": {
|
|
145
|
-
"type": "string",
|
|
146
|
-
"enum": [
|
|
147
|
-
"crossorigin",
|
|
148
|
-
"download",
|
|
149
|
-
"href",
|
|
150
|
-
"hreflang",
|
|
151
|
-
"integrity",
|
|
152
|
-
"loading",
|
|
153
|
-
"media",
|
|
154
|
-
"ping",
|
|
155
|
-
"referrerpolicy",
|
|
156
|
-
"rel",
|
|
157
|
-
"target",
|
|
158
|
-
"type",
|
|
159
|
-
"fetchpriority"
|
|
160
|
-
]
|
|
161
|
-
},
|
|
162
|
-
"HTMLEmbededAndMediaContentAttrs": {
|
|
163
|
-
"type": "string",
|
|
164
|
-
"enum": ["autoplay", "controls", "height", "loop", "muted", "preload", "sizes", "src", "srcset", "width"]
|
|
165
|
-
},
|
|
166
|
-
"HTMLFormControlElementAttrs": {
|
|
167
|
-
"type": "string",
|
|
168
|
-
"enum": [
|
|
169
|
-
"autocomplete",
|
|
170
|
-
"dirname",
|
|
171
|
-
"disabled",
|
|
172
|
-
"form",
|
|
173
|
-
"formaction",
|
|
174
|
-
"formenctype",
|
|
175
|
-
"formmethod",
|
|
176
|
-
"formnovalidate",
|
|
177
|
-
"formtarget",
|
|
178
|
-
"maxlength",
|
|
179
|
-
"minlength",
|
|
180
|
-
"name",
|
|
181
|
-
"readonly",
|
|
182
|
-
"required"
|
|
183
|
-
]
|
|
184
|
-
},
|
|
185
|
-
"HTMLTableCellElementAttrs": { "type": "string", "enum": ["colspan", "headers", "rowspan"] },
|
|
186
|
-
"ARIAAttrs": { "type": "string", "enum": ["role"] },
|
|
187
|
-
"SVGAnimationAdditionAttrs": { "type": "string", "enum": ["additive", "accumulate"] },
|
|
188
|
-
"SVGAnimationAttributeTargetAttrs": { "type": "string", "enum": ["attributeName", "attributeType"] },
|
|
189
|
-
"SVGAnimationEventAttrs": { "type": "string", "enum": ["onbegin", "onend", "onrepeat"] },
|
|
190
|
-
"SVGAnimationTargetElementAttrs": { "type": "string", "enum": ["href", "xlink:href"] },
|
|
191
|
-
"SVGAnimationTimingAttrs": {
|
|
192
|
-
"type": "string",
|
|
193
|
-
"enum": ["begin", "dur", "end", "min", "max", "restart", "repeatCount", "repeatDur", "fill"]
|
|
194
|
-
},
|
|
195
|
-
"SVGAnimationValueAttrs": {
|
|
196
|
-
"type": "string",
|
|
197
|
-
"enum": [
|
|
198
|
-
"calcMode",
|
|
199
|
-
"values",
|
|
200
|
-
"keyTimes",
|
|
201
|
-
"keySplines",
|
|
202
|
-
"from",
|
|
203
|
-
"to",
|
|
204
|
-
"by",
|
|
205
|
-
"accelerate",
|
|
206
|
-
"decelerate",
|
|
207
|
-
"autoReverse",
|
|
208
|
-
"speed"
|
|
209
|
-
]
|
|
210
|
-
},
|
|
211
|
-
"SVGConditionalProcessingAttrs": {
|
|
212
|
-
"type": "string",
|
|
213
|
-
"enum": ["requiredExtensions", "systemLanguage", "requiredFeatures"]
|
|
214
|
-
},
|
|
215
|
-
"SVGCoreAttrs": {
|
|
216
|
-
"type": "string",
|
|
217
|
-
"enum": [
|
|
218
|
-
"id",
|
|
219
|
-
"tabindex",
|
|
220
|
-
"autofocus",
|
|
221
|
-
"lang",
|
|
222
|
-
"xml:space",
|
|
223
|
-
"class",
|
|
224
|
-
"style",
|
|
225
|
-
"xmlns",
|
|
226
|
-
"xml:lang",
|
|
227
|
-
"xml:base"
|
|
228
|
-
]
|
|
229
|
-
},
|
|
230
|
-
"SVGFilterPrimitiveAttrs": { "type": "string", "enum": ["x", "y", "width", "height", "result", "in"] },
|
|
231
|
-
"SVGPresentationAttrs": {
|
|
232
|
-
"type": "string",
|
|
233
|
-
"enum": [
|
|
234
|
-
"cx",
|
|
235
|
-
"cy",
|
|
236
|
-
"height",
|
|
237
|
-
"width",
|
|
238
|
-
"x",
|
|
239
|
-
"y",
|
|
240
|
-
"r",
|
|
241
|
-
"rx",
|
|
242
|
-
"ry",
|
|
243
|
-
"d",
|
|
244
|
-
"fill",
|
|
245
|
-
"transform",
|
|
246
|
-
"patternTransform",
|
|
247
|
-
"gradientTransform",
|
|
248
|
-
"alignment-baseline",
|
|
249
|
-
"baseline-shift",
|
|
250
|
-
"clip-path",
|
|
251
|
-
"clip-rule",
|
|
252
|
-
"color",
|
|
253
|
-
"color-interpolation",
|
|
254
|
-
"color-interpolation-filters",
|
|
255
|
-
"cursor",
|
|
256
|
-
"direction",
|
|
257
|
-
"display",
|
|
258
|
-
"dominant-baseline",
|
|
259
|
-
"fill-opacity",
|
|
260
|
-
"fill-rule",
|
|
261
|
-
"filter",
|
|
262
|
-
"flood-color",
|
|
263
|
-
"flood-opacity",
|
|
264
|
-
"font",
|
|
265
|
-
"font-family",
|
|
266
|
-
"font-size",
|
|
267
|
-
"font-size-adjust",
|
|
268
|
-
"font-stretch",
|
|
269
|
-
"font-style",
|
|
270
|
-
"font-variant",
|
|
271
|
-
"font-weight",
|
|
272
|
-
"glyph-orientation-horizontal",
|
|
273
|
-
"glyph-orientation-vertical",
|
|
274
|
-
"image-rendering",
|
|
275
|
-
"isolation",
|
|
276
|
-
"letter-spacing",
|
|
277
|
-
"lighting-color",
|
|
278
|
-
"marker",
|
|
279
|
-
"marker-end",
|
|
280
|
-
"marker-mid",
|
|
281
|
-
"marker-start",
|
|
282
|
-
"mask",
|
|
283
|
-
"mask-type",
|
|
284
|
-
"opacity",
|
|
285
|
-
"overflow",
|
|
286
|
-
"paint-order",
|
|
287
|
-
"pointer-events",
|
|
288
|
-
"shape-rendering",
|
|
289
|
-
"stop-color",
|
|
290
|
-
"stop-opacity",
|
|
291
|
-
"stroke",
|
|
292
|
-
"stroke-dasharray",
|
|
293
|
-
"stroke-dashoffset",
|
|
294
|
-
"stroke-linecap",
|
|
295
|
-
"stroke-linejoin",
|
|
296
|
-
"stroke-miterlimit",
|
|
297
|
-
"stroke-opacity",
|
|
298
|
-
"stroke-width",
|
|
299
|
-
"text-anchor",
|
|
300
|
-
"text-decoration",
|
|
301
|
-
"text-overflow",
|
|
302
|
-
"text-rendering",
|
|
303
|
-
"transform-origin",
|
|
304
|
-
"unicode-bidi",
|
|
305
|
-
"vector-effect",
|
|
306
|
-
"visibility",
|
|
307
|
-
"white-space",
|
|
308
|
-
"word-spacing",
|
|
309
|
-
"writing-mode",
|
|
310
|
-
"clip",
|
|
311
|
-
"color-profile",
|
|
312
|
-
"color-rendering",
|
|
313
|
-
"enable-background",
|
|
314
|
-
"kerning"
|
|
315
|
-
]
|
|
316
|
-
},
|
|
317
|
-
"SVGTransferFunctionAttrs": {
|
|
318
|
-
"type": "string",
|
|
319
|
-
"enum": ["type", "tableValues", "slope", "intercept", "amplitude", "exponent", "offset"]
|
|
320
|
-
},
|
|
321
|
-
"XLinkAttrs": {
|
|
322
|
-
"type": "string",
|
|
323
|
-
"enum": [
|
|
324
|
-
"xlink:href",
|
|
325
|
-
"xlink:title",
|
|
326
|
-
"xlink:actuate",
|
|
327
|
-
"xlink:arcrole",
|
|
328
|
-
"xlink:role",
|
|
329
|
-
"xlink:show",
|
|
330
|
-
"xlink:type"
|
|
331
|
-
]
|
|
332
|
-
}
|
|
333
|
-
},
|
|
334
|
-
"type": "object",
|
|
335
|
-
"additionalProperties": false,
|
|
336
|
-
"propertyNames": { "$ref": "#/definitions/category" },
|
|
337
|
-
"required": [
|
|
338
|
-
"#HTMLGlobalAttrs",
|
|
339
|
-
"#GlobalEventAttrs",
|
|
340
|
-
"#DocumentElementEventAttrs",
|
|
341
|
-
"#HTMLLinkAndFetchingAttrs",
|
|
342
|
-
"#HTMLEmbededAndMediaContentAttrs",
|
|
343
|
-
"#HTMLFormControlElementAttrs",
|
|
344
|
-
"#HTMLTableCellElementAttrs",
|
|
345
|
-
"#ARIAAttrs",
|
|
346
|
-
"#SVGAnimationAdditionAttrs",
|
|
347
|
-
"#SVGAnimationAttributeTargetAttrs",
|
|
348
|
-
"#SVGAnimationEventAttrs",
|
|
349
|
-
"#SVGAnimationTargetElementAttrs",
|
|
350
|
-
"#SVGAnimationTimingAttrs",
|
|
351
|
-
"#SVGAnimationValueAttrs",
|
|
352
|
-
"#SVGConditionalProcessingAttrs",
|
|
353
|
-
"#SVGCoreAttrs",
|
|
354
|
-
"#SVGFilterPrimitiveAttrs",
|
|
355
|
-
"#SVGPresentationAttrs",
|
|
356
|
-
"#SVGTransferFunctionAttrs",
|
|
357
|
-
"#XLinkAttrs"
|
|
358
|
-
],
|
|
359
|
-
"properties": {
|
|
360
|
-
"#HTMLGlobalAttrs": {
|
|
361
|
-
"description": "[Global attributes]( https://html.spec.whatwg.org/multipage/dom.html#global-attributes )",
|
|
362
|
-
"type": "object",
|
|
363
|
-
"required": [
|
|
364
|
-
"accesskey",
|
|
365
|
-
"autocapitalize",
|
|
366
|
-
"autofocus",
|
|
367
|
-
"contenteditable",
|
|
368
|
-
"dir",
|
|
369
|
-
"draggable",
|
|
370
|
-
"enterkeyhint",
|
|
371
|
-
"hidden",
|
|
372
|
-
"inert",
|
|
373
|
-
"inputmode",
|
|
374
|
-
"is",
|
|
375
|
-
"itemid",
|
|
376
|
-
"itemprop",
|
|
377
|
-
"itemref",
|
|
378
|
-
"itemscope",
|
|
379
|
-
"itemtype",
|
|
380
|
-
"lang",
|
|
381
|
-
"nonce",
|
|
382
|
-
"spellcheck",
|
|
383
|
-
"style",
|
|
384
|
-
"tabindex",
|
|
385
|
-
"title",
|
|
386
|
-
"translate",
|
|
387
|
-
"class",
|
|
388
|
-
"id",
|
|
389
|
-
"slot",
|
|
390
|
-
"xmlns",
|
|
391
|
-
"xml:lang",
|
|
392
|
-
"xml:space"
|
|
393
|
-
],
|
|
394
|
-
"propertyNames": { "$ref": "#/definitions/HTMLGlobalAttrs" },
|
|
395
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
396
|
-
},
|
|
397
|
-
"#GlobalEventAttrs": {
|
|
398
|
-
"description": "[GlobalEventHandlers]( https://html.spec.whatwg.org/multipage/webappapis.html#globaleventhandlers ) and [UIEvent]( https://w3c.github.io/uievents/#event-types-list )",
|
|
399
|
-
"type": "object",
|
|
400
|
-
"required": [
|
|
401
|
-
"onabort",
|
|
402
|
-
"onauxclick",
|
|
403
|
-
"onbeforeinput",
|
|
404
|
-
"onbeforematch",
|
|
405
|
-
"onblur",
|
|
406
|
-
"oncancel",
|
|
407
|
-
"oncanplay",
|
|
408
|
-
"oncanplaythrough",
|
|
409
|
-
"onchange",
|
|
410
|
-
"onclick",
|
|
411
|
-
"onclose",
|
|
412
|
-
"oncontextlost",
|
|
413
|
-
"oncompositionstart",
|
|
414
|
-
"oncompositionupdate",
|
|
415
|
-
"oncompositionend",
|
|
416
|
-
"oncontextmenu",
|
|
417
|
-
"oncontextrestored",
|
|
418
|
-
"oncuechange",
|
|
419
|
-
"ondblclick",
|
|
420
|
-
"ondrag",
|
|
421
|
-
"ondragend",
|
|
422
|
-
"ondragenter",
|
|
423
|
-
"ondragleave",
|
|
424
|
-
"ondragover",
|
|
425
|
-
"ondragstart",
|
|
426
|
-
"ondrop",
|
|
427
|
-
"ondurationchange",
|
|
428
|
-
"onemptied",
|
|
429
|
-
"onended",
|
|
430
|
-
"onerror",
|
|
431
|
-
"onfocus",
|
|
432
|
-
"onformdata",
|
|
433
|
-
"onfocusin",
|
|
434
|
-
"onfocusout",
|
|
435
|
-
"oninput",
|
|
436
|
-
"oninvalid",
|
|
437
|
-
"onkeydown",
|
|
438
|
-
"onkeypress",
|
|
439
|
-
"onkeyup",
|
|
440
|
-
"onload",
|
|
441
|
-
"onloadeddata",
|
|
442
|
-
"onloadedmetadata",
|
|
443
|
-
"onloadstart",
|
|
444
|
-
"onmousedown",
|
|
445
|
-
"onmouseenter",
|
|
446
|
-
"onmouseleave",
|
|
447
|
-
"onmousemove",
|
|
448
|
-
"onmouseout",
|
|
449
|
-
"onmouseover",
|
|
450
|
-
"onmouseup",
|
|
451
|
-
"onpause",
|
|
452
|
-
"onplay",
|
|
453
|
-
"onplaying",
|
|
454
|
-
"onprogress",
|
|
455
|
-
"onratechange",
|
|
456
|
-
"onreset",
|
|
457
|
-
"onresize",
|
|
458
|
-
"onscroll",
|
|
459
|
-
"onsecuritypolicyviolation",
|
|
460
|
-
"onseeked",
|
|
461
|
-
"onseeking",
|
|
462
|
-
"onselect",
|
|
463
|
-
"onslotchange",
|
|
464
|
-
"onstalled",
|
|
465
|
-
"onsubmit",
|
|
466
|
-
"onsuspend",
|
|
467
|
-
"ontimeupdate",
|
|
468
|
-
"ontoggle",
|
|
469
|
-
"onvolumechange",
|
|
470
|
-
"onwaiting",
|
|
471
|
-
"onwebkitanimationend",
|
|
472
|
-
"onwebkitanimationiteration",
|
|
473
|
-
"onwebkitanimationstart",
|
|
474
|
-
"onwebkittransitionend",
|
|
475
|
-
"onunload",
|
|
476
|
-
"onwheel"
|
|
477
|
-
],
|
|
478
|
-
"propertyNames": { "$ref": "#/definitions/GlobalEventAttrs" },
|
|
479
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
480
|
-
},
|
|
481
|
-
"#DocumentElementEventAttrs": {
|
|
482
|
-
"description": "[DocumentAndElementEventHandlers]( https://html.spec.whatwg.org/multipage/webappapis.html#documentandelementeventhandlers )",
|
|
483
|
-
"type": "object",
|
|
484
|
-
"required": ["oncopy", "oncut", "onpaste"],
|
|
485
|
-
"propertyNames": { "$ref": "#/definitions/DocumentElementEventAttrs" },
|
|
486
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
487
|
-
},
|
|
488
|
-
"#HTMLLinkAndFetchingAttrs": {
|
|
489
|
-
"description": "Link and fetching",
|
|
490
|
-
"type": "object",
|
|
491
|
-
"required": [
|
|
492
|
-
"crossorigin",
|
|
493
|
-
"download",
|
|
494
|
-
"href",
|
|
495
|
-
"hreflang",
|
|
496
|
-
"integrity",
|
|
497
|
-
"loading",
|
|
498
|
-
"media",
|
|
499
|
-
"ping",
|
|
500
|
-
"referrerpolicy",
|
|
501
|
-
"rel",
|
|
502
|
-
"target",
|
|
503
|
-
"type",
|
|
504
|
-
"fetchpriority"
|
|
505
|
-
],
|
|
506
|
-
"propertyNames": { "$ref": "#/definitions/HTMLLinkAndFetchingAttrs" },
|
|
507
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
508
|
-
},
|
|
509
|
-
"#HTMLEmbededAndMediaContentAttrs": {
|
|
510
|
-
"description": "Embeded and media contents",
|
|
511
|
-
"type": "object",
|
|
512
|
-
"required": [
|
|
513
|
-
"autoplay",
|
|
514
|
-
"controls",
|
|
515
|
-
"height",
|
|
516
|
-
"loop",
|
|
517
|
-
"muted",
|
|
518
|
-
"preload",
|
|
519
|
-
"sizes",
|
|
520
|
-
"src",
|
|
521
|
-
"srcset",
|
|
522
|
-
"width"
|
|
523
|
-
],
|
|
524
|
-
"propertyNames": { "$ref": "#/definitions/HTMLEmbededAndMediaContentAttrs" },
|
|
525
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
526
|
-
},
|
|
527
|
-
"#HTMLFormControlElementAttrs": {
|
|
528
|
-
"description": "Form controls",
|
|
529
|
-
"type": "object",
|
|
530
|
-
"required": [
|
|
531
|
-
"autocomplete",
|
|
532
|
-
"dirname",
|
|
533
|
-
"disabled",
|
|
534
|
-
"form",
|
|
535
|
-
"formaction",
|
|
536
|
-
"formenctype",
|
|
537
|
-
"formmethod",
|
|
538
|
-
"formnovalidate",
|
|
539
|
-
"formtarget",
|
|
540
|
-
"maxlength",
|
|
541
|
-
"minlength",
|
|
542
|
-
"name",
|
|
543
|
-
"readonly",
|
|
544
|
-
"required"
|
|
545
|
-
],
|
|
546
|
-
"propertyNames": { "$ref": "#/definitions/HTMLFormControlElementAttrs" },
|
|
547
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
548
|
-
},
|
|
549
|
-
"#HTMLTableCellElementAttrs": {
|
|
550
|
-
"description": "Table cell",
|
|
551
|
-
"type": "object",
|
|
552
|
-
"required": ["colspan", "headers", "rowspan"],
|
|
553
|
-
"propertyNames": { "$ref": "#/definitions/HTMLTableCellElementAttrs" },
|
|
554
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
555
|
-
},
|
|
556
|
-
"#ARIAAttrs": {
|
|
557
|
-
"description": "[The ARIA role and aria-* attributes]( https://html.spec.whatwg.org/multipage/dom.html#global-attributes:attr-aria-role )",
|
|
558
|
-
"type": "object",
|
|
559
|
-
"required": ["role"],
|
|
560
|
-
"propertyNames": { "$ref": "#/definitions/ARIAAttrs" },
|
|
561
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
562
|
-
},
|
|
563
|
-
"#SVGAnimationAdditionAttrs": {
|
|
564
|
-
"description": "[Attributes that control whether animations are additive]( https://svgwg.org/specs/animations/#AdditionAttributes )",
|
|
565
|
-
"type": "object",
|
|
566
|
-
"required": ["additive", "accumulate"],
|
|
567
|
-
"propertyNames": { "$ref": "#/definitions/SVGAnimationAdditionAttrs" },
|
|
568
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
569
|
-
},
|
|
570
|
-
"#SVGAnimationAttributeTargetAttrs": {
|
|
571
|
-
"description": "[The target attribute]( https://www.w3.org/TR/2001/REC-smil-animation-20010904/#SpecifyingTargetAttribute )",
|
|
572
|
-
"type": "object",
|
|
573
|
-
"required": ["attributeName", "attributeType"],
|
|
574
|
-
"propertyNames": { "$ref": "#/definitions/SVGAnimationAttributeTargetAttrs" },
|
|
575
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
576
|
-
},
|
|
577
|
-
"#SVGAnimationEventAttrs": {
|
|
578
|
-
"description": "[animation event attribute]( https://svgwg.org/specs/animations/#TermAnimationEventAttribute )",
|
|
579
|
-
"type": "object",
|
|
580
|
-
"required": ["onbegin", "onend", "onrepeat"],
|
|
581
|
-
"propertyNames": { "$ref": "#/definitions/SVGAnimationEventAttrs" },
|
|
582
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
583
|
-
},
|
|
584
|
-
"#SVGAnimationTargetElementAttrs": {
|
|
585
|
-
"description": "[Attributes to identify the target element for an animation]( https://svgwg.org/specs/animations/#TargetElement )",
|
|
586
|
-
"type": "object",
|
|
587
|
-
"required": ["href", "xlink:href"],
|
|
588
|
-
"propertyNames": { "$ref": "#/definitions/SVGAnimationTargetElementAttrs" },
|
|
589
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
590
|
-
},
|
|
591
|
-
"#SVGAnimationTimingAttrs": {
|
|
592
|
-
"description": "[Attributes to control the timing of the animation]( https://svgwg.org/specs/animations/#TimingAttributes )",
|
|
593
|
-
"type": "object",
|
|
594
|
-
"required": ["begin", "dur", "end", "min", "max", "restart", "repeatCount", "repeatDur", "fill"],
|
|
595
|
-
"propertyNames": { "$ref": "#/definitions/SVGAnimationTimingAttrs" },
|
|
596
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
597
|
-
},
|
|
598
|
-
"#SVGAnimationValueAttrs": {
|
|
599
|
-
"description": "- [Attributes that define animation values over time]( https://svgwg.org/specs/animations/#ValueAttributes )\nAND\n- [SMIL 3.0 Time Manipulations]( https://www.w3.org/TR/REC-smil/smil-timemanip.html )",
|
|
600
|
-
"type": "object",
|
|
601
|
-
"required": [
|
|
602
|
-
"calcMode",
|
|
603
|
-
"values",
|
|
604
|
-
"keyTimes",
|
|
605
|
-
"keySplines",
|
|
606
|
-
"from",
|
|
607
|
-
"to",
|
|
608
|
-
"by",
|
|
609
|
-
"accelerate",
|
|
610
|
-
"decelerate",
|
|
611
|
-
"autoReverse",
|
|
612
|
-
"speed"
|
|
613
|
-
],
|
|
614
|
-
"propertyNames": { "$ref": "#/definitions/SVGAnimationValueAttrs" },
|
|
615
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
616
|
-
},
|
|
617
|
-
"#SVGConditionalProcessingAttrs": {
|
|
618
|
-
"description": "[conditional processing attribute]( https://svgwg.org/svg2-draft/struct.html#TermConditionalProcessingAttribute )",
|
|
619
|
-
"type": "object",
|
|
620
|
-
"required": ["requiredExtensions", "systemLanguage", "requiredFeatures"],
|
|
621
|
-
"propertyNames": { "$ref": "#/definitions/SVGConditionalProcessingAttrs" },
|
|
622
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
623
|
-
},
|
|
624
|
-
"#SVGCoreAttrs": {
|
|
625
|
-
"description": "[core attributes]( https://svgwg.org/svg2-draft/struct.html#TermCoreAttribute )",
|
|
626
|
-
"type": "object",
|
|
627
|
-
"required": [
|
|
628
|
-
"id",
|
|
629
|
-
"tabindex",
|
|
630
|
-
"autofocus",
|
|
631
|
-
"lang",
|
|
632
|
-
"xml:space",
|
|
633
|
-
"class",
|
|
634
|
-
"style",
|
|
635
|
-
"xmlns",
|
|
636
|
-
"xml:lang",
|
|
637
|
-
"xml:base"
|
|
638
|
-
],
|
|
639
|
-
"propertyNames": { "$ref": "#/definitions/SVGCoreAttrs" },
|
|
640
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
641
|
-
},
|
|
642
|
-
"#SVGFilterPrimitiveAttrs": {
|
|
643
|
-
"description": "[Common filter primitive attributes]( https://drafts.fxtf.org/filter-effects/#CommonAttributes )",
|
|
644
|
-
"type": "object",
|
|
645
|
-
"required": ["x", "y", "width", "height", "result", "in"],
|
|
646
|
-
"propertyNames": { "$ref": "#/definitions/SVGFilterPrimitiveAttrs" },
|
|
647
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
648
|
-
},
|
|
649
|
-
"#SVGPresentationAttrs": {
|
|
650
|
-
"description": "[Presentation attributes]( https://svgwg.org/svg2-draft/styling.html#PresentationAttributes )",
|
|
651
|
-
"type": "object",
|
|
652
|
-
"required": [
|
|
653
|
-
"cx",
|
|
654
|
-
"cy",
|
|
655
|
-
"height",
|
|
656
|
-
"width",
|
|
657
|
-
"x",
|
|
658
|
-
"y",
|
|
659
|
-
"r",
|
|
660
|
-
"rx",
|
|
661
|
-
"ry",
|
|
662
|
-
"d",
|
|
663
|
-
"fill",
|
|
664
|
-
"transform",
|
|
665
|
-
"patternTransform",
|
|
666
|
-
"gradientTransform",
|
|
667
|
-
"alignment-baseline",
|
|
668
|
-
"baseline-shift",
|
|
669
|
-
"clip-path",
|
|
670
|
-
"clip-rule",
|
|
671
|
-
"color",
|
|
672
|
-
"color-interpolation",
|
|
673
|
-
"color-interpolation-filters",
|
|
674
|
-
"cursor",
|
|
675
|
-
"direction",
|
|
676
|
-
"display",
|
|
677
|
-
"dominant-baseline",
|
|
678
|
-
"fill-opacity",
|
|
679
|
-
"fill-rule",
|
|
680
|
-
"filter",
|
|
681
|
-
"flood-color",
|
|
682
|
-
"flood-opacity",
|
|
683
|
-
"font",
|
|
684
|
-
"font-family",
|
|
685
|
-
"font-size",
|
|
686
|
-
"font-size-adjust",
|
|
687
|
-
"font-stretch",
|
|
688
|
-
"font-style",
|
|
689
|
-
"font-variant",
|
|
690
|
-
"font-weight",
|
|
691
|
-
"glyph-orientation-horizontal",
|
|
692
|
-
"glyph-orientation-vertical",
|
|
693
|
-
"image-rendering",
|
|
694
|
-
"isolation",
|
|
695
|
-
"letter-spacing",
|
|
696
|
-
"lighting-color",
|
|
697
|
-
"marker",
|
|
698
|
-
"marker-end",
|
|
699
|
-
"marker-mid",
|
|
700
|
-
"marker-start",
|
|
701
|
-
"mask",
|
|
702
|
-
"mask-type",
|
|
703
|
-
"opacity",
|
|
704
|
-
"overflow",
|
|
705
|
-
"paint-order",
|
|
706
|
-
"pointer-events",
|
|
707
|
-
"shape-rendering",
|
|
708
|
-
"stop-color",
|
|
709
|
-
"stop-opacity",
|
|
710
|
-
"stroke",
|
|
711
|
-
"stroke-dasharray",
|
|
712
|
-
"stroke-dashoffset",
|
|
713
|
-
"stroke-linecap",
|
|
714
|
-
"stroke-linejoin",
|
|
715
|
-
"stroke-miterlimit",
|
|
716
|
-
"stroke-opacity",
|
|
717
|
-
"stroke-width",
|
|
718
|
-
"text-anchor",
|
|
719
|
-
"text-decoration",
|
|
720
|
-
"text-overflow",
|
|
721
|
-
"text-rendering",
|
|
722
|
-
"transform-origin",
|
|
723
|
-
"unicode-bidi",
|
|
724
|
-
"vector-effect",
|
|
725
|
-
"visibility",
|
|
726
|
-
"white-space",
|
|
727
|
-
"word-spacing",
|
|
728
|
-
"writing-mode",
|
|
729
|
-
"clip",
|
|
730
|
-
"color-profile",
|
|
731
|
-
"color-rendering",
|
|
732
|
-
"enable-background",
|
|
733
|
-
"kerning"
|
|
734
|
-
],
|
|
735
|
-
"propertyNames": { "$ref": "#/definitions/SVGPresentationAttrs" },
|
|
736
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
737
|
-
},
|
|
738
|
-
"#SVGTransferFunctionAttrs": {
|
|
739
|
-
"description": "[transfer function element attributes,]( https://drafts.fxtf.org/filter-effects/#transfer-function-element-attributes )",
|
|
740
|
-
"type": "object",
|
|
741
|
-
"required": ["type", "tableValues", "slope", "intercept", "amplitude", "exponent", "offset"],
|
|
742
|
-
"propertyNames": { "$ref": "#/definitions/SVGTransferFunctionAttrs" },
|
|
743
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
744
|
-
},
|
|
745
|
-
"#XLinkAttrs": {
|
|
746
|
-
"description": "[Deprecated XLink URL reference attributes]( https://svgwg.org/svg2-draft/linking.html#XLinkRefAttrs )",
|
|
747
|
-
"type": "object",
|
|
748
|
-
"required": [
|
|
749
|
-
"xlink:href",
|
|
750
|
-
"xlink:title",
|
|
751
|
-
"xlink:actuate",
|
|
752
|
-
"xlink:arcrole",
|
|
753
|
-
"xlink:role",
|
|
754
|
-
"xlink:show",
|
|
755
|
-
"xlink:type"
|
|
756
|
-
],
|
|
757
|
-
"propertyNames": { "$ref": "#/definitions/XLinkAttrs" },
|
|
758
|
-
"patternProperties": { ".+": { "$ref": "./attributes.schema.json#/definitions/AttributeJSON" } }
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
}
|