@markuplint/html-spec 3.0.0-dev.25 → 3.0.0-dev.300

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.
Files changed (183) hide show
  1. package/index.d.ts +1 -1
  2. package/index.json +14776 -2258
  3. package/package.json +8 -13
  4. package/{src/structure.test.ts → test/structure.spec.mjs} +23 -13
  5. package/src/spec-common.attributes.json +0 -1650
  6. package/src/spec-common.contents.json +0 -392
  7. package/src/spec.a.json +0 -58
  8. package/src/spec.abbr.json +0 -25
  9. package/src/spec.address.json +0 -25
  10. package/src/spec.area.json +0 -64
  11. package/src/spec.article.json +0 -24
  12. package/src/spec.aside.json +0 -38
  13. package/src/spec.audio.json +0 -48
  14. package/src/spec.b.json +0 -24
  15. package/src/spec.base.json +0 -21
  16. package/src/spec.bdi.json +0 -24
  17. package/src/spec.bdo.json +0 -24
  18. package/src/spec.blockquote.json +0 -31
  19. package/src/spec.body.json +0 -100
  20. package/src/spec.br.json +0 -32
  21. package/src/spec.button.json +0 -70
  22. package/src/spec.canvas.json +0 -33
  23. package/src/spec.caption.json +0 -30
  24. package/src/spec.cite.json +0 -24
  25. package/src/spec.code.json +0 -27
  26. package/src/spec.col.json +0 -31
  27. package/src/spec.colgroup.json +0 -41
  28. package/src/spec.data.json +0 -29
  29. package/src/spec.datalist.json +0 -38
  30. package/src/spec.dd.json +0 -30
  31. package/src/spec.del.json +0 -36
  32. package/src/spec.details.json +0 -35
  33. package/src/spec.dfn.json +0 -23
  34. package/src/spec.dialog.json +0 -36
  35. package/src/spec.div.json +0 -55
  36. package/src/spec.dl.json +0 -56
  37. package/src/spec.dt.json +0 -26
  38. package/src/spec.em.json +0 -27
  39. package/src/spec.embed.json +0 -30
  40. package/src/spec.fieldset.json +0 -27
  41. package/src/spec.figcaption.json +0 -24
  42. package/src/spec.figure.json +0 -52
  43. package/src/spec.footer.json +0 -37
  44. package/src/spec.form.json +0 -100
  45. package/src/spec.h1.json +0 -26
  46. package/src/spec.h2.json +0 -26
  47. package/src/spec.h3.json +0 -26
  48. package/src/spec.h4.json +0 -26
  49. package/src/spec.h5.json +0 -26
  50. package/src/spec.h6.json +0 -26
  51. package/src/spec.head.json +0 -30
  52. package/src/spec.header.json +0 -37
  53. package/src/spec.hgroup.json +0 -45
  54. package/src/spec.hr.json +0 -23
  55. package/src/spec.html.json +0 -27
  56. package/src/spec.i.json +0 -24
  57. package/src/spec.iframe.json +0 -70
  58. package/src/spec.img.json +0 -109
  59. package/src/spec.input.json +0 -792
  60. package/src/spec.ins.json +0 -36
  61. package/src/spec.kbd.json +0 -24
  62. package/src/spec.label.json +0 -29
  63. package/src/spec.legend.json +0 -24
  64. package/src/spec.li.json +0 -40
  65. package/src/spec.link.json +0 -140
  66. package/src/spec.main.json +0 -27
  67. package/src/spec.map.json +0 -30
  68. package/src/spec.mark.json +0 -24
  69. package/src/spec.math.json +0 -20
  70. package/src/spec.menu.json +0 -53
  71. package/src/spec.meta.json +0 -59
  72. package/src/spec.meter.json +0 -62
  73. package/src/spec.nav.json +0 -26
  74. package/src/spec.noscript.json +0 -24
  75. package/src/spec.object.json +0 -40
  76. package/src/spec.ol.json +0 -71
  77. package/src/spec.optgroup.json +0 -34
  78. package/src/spec.option.json +0 -70
  79. package/src/spec.output.json +0 -29
  80. package/src/spec.p.json +0 -27
  81. package/src/spec.picture.json +0 -46
  82. package/src/spec.portal.json +0 -25
  83. package/src/spec.pre.json +0 -24
  84. package/src/spec.progress.json +0 -44
  85. package/src/spec.q.json +0 -29
  86. package/src/spec.rp.json +0 -23
  87. package/src/spec.rt.json +0 -24
  88. package/src/spec.ruby.json +0 -55
  89. package/src/spec.s.json +0 -24
  90. package/src/spec.samp.json +0 -24
  91. package/src/spec.script.json +0 -73
  92. package/src/spec.section.json +0 -73
  93. package/src/spec.select.json +0 -66
  94. package/src/spec.slot.json +0 -29
  95. package/src/spec.small.json +0 -24
  96. package/src/spec.source.json +0 -52
  97. package/src/spec.span.json +0 -24
  98. package/src/spec.strong.json +0 -27
  99. package/src/spec.style.json +0 -35
  100. package/src/spec.sub.json +0 -27
  101. package/src/spec.summary.json +0 -38
  102. package/src/spec.sup.json +0 -27
  103. package/src/spec.svg_a.json +0 -118
  104. package/src/spec.svg_animate.json +0 -109
  105. package/src/spec.svg_animateMotion.json +0 -73
  106. package/src/spec.svg_animateTransform.json +0 -47
  107. package/src/spec.svg_circle.json +0 -113
  108. package/src/spec.svg_clipPath.json +0 -108
  109. package/src/spec.svg_defs.json +0 -109
  110. package/src/spec.svg_desc.json +0 -21
  111. package/src/spec.svg_discard.json +0 -31
  112. package/src/spec.svg_ellipse.json +0 -116
  113. package/src/spec.svg_feBlend.json +0 -115
  114. package/src/spec.svg_feColorMatrix.json +0 -104
  115. package/src/spec.svg_feComponentTransfer.json +0 -97
  116. package/src/spec.svg_feComposite.json +0 -146
  117. package/src/spec.svg_feConvolveMatrix.json +0 -147
  118. package/src/spec.svg_feDiffuseLighting.json +0 -126
  119. package/src/spec.svg_feDisplacementMap.json +0 -133
  120. package/src/spec.svg_feDistantLight.json +0 -32
  121. package/src/spec.svg_feDropShadow.json +0 -109
  122. package/src/spec.svg_feFlood.json +0 -101
  123. package/src/spec.svg_feFuncA.json +0 -20
  124. package/src/spec.svg_feFuncB.json +0 -20
  125. package/src/spec.svg_feFuncG.json +0 -20
  126. package/src/spec.svg_feFuncR.json +0 -20
  127. package/src/spec.svg_feGaussianBlur.json +0 -105
  128. package/src/spec.svg_feImage.json +0 -123
  129. package/src/spec.svg_feMerge.json +0 -90
  130. package/src/spec.svg_feMergeNode.json +0 -20
  131. package/src/spec.svg_feMorphology.json +0 -106
  132. package/src/spec.svg_feOffset.json +0 -103
  133. package/src/spec.svg_fePointLight.json +0 -38
  134. package/src/spec.svg_feSpecularLighting.json +0 -131
  135. package/src/spec.svg_feSpotLight.json +0 -67
  136. package/src/spec.svg_feTile.json +0 -90
  137. package/src/spec.svg_feTurbulence.json +0 -127
  138. package/src/spec.svg_filter.json +0 -138
  139. package/src/spec.svg_foreignObject.json +0 -97
  140. package/src/spec.svg_g.json +0 -115
  141. package/src/spec.svg_image.json +0 -128
  142. package/src/spec.svg_line.json +0 -136
  143. package/src/spec.svg_linearGradient.json +0 -152
  144. package/src/spec.svg_marker.json +0 -180
  145. package/src/spec.svg_mask.json +0 -142
  146. package/src/spec.svg_metadata.json +0 -21
  147. package/src/spec.svg_mpath.json +0 -26
  148. package/src/spec.svg_path.json +0 -114
  149. package/src/spec.svg_pattern.json +0 -157
  150. package/src/spec.svg_polygon.json +0 -117
  151. package/src/spec.svg_polyline.json +0 -117
  152. package/src/spec.svg_radialGradient.json +0 -162
  153. package/src/spec.svg_rect.json +0 -118
  154. package/src/spec.svg_script.json +0 -40
  155. package/src/spec.svg_set.json +0 -42
  156. package/src/spec.svg_stop.json +0 -110
  157. package/src/spec.svg_style.json +0 -36
  158. package/src/spec.svg_svg.json +0 -170
  159. package/src/spec.svg_switch.json +0 -105
  160. package/src/spec.svg_symbol.json +0 -77
  161. package/src/spec.svg_text.json +0 -153
  162. package/src/spec.svg_textPath.json +0 -169
  163. package/src/spec.svg_title.json +0 -21
  164. package/src/spec.svg_tspan.json +0 -147
  165. package/src/spec.svg_use.json +0 -115
  166. package/src/spec.svg_view.json +0 -45
  167. package/src/spec.table.json +0 -64
  168. package/src/spec.tbody.json +0 -23
  169. package/src/spec.td.json +0 -37
  170. package/src/spec.template.json +0 -20
  171. package/src/spec.textarea.json +0 -67
  172. package/src/spec.tfoot.json +0 -23
  173. package/src/spec.th.json +0 -66
  174. package/src/spec.thead.json +0 -23
  175. package/src/spec.time.json +0 -32
  176. package/src/spec.title.json +0 -24
  177. package/src/spec.tr.json +0 -29
  178. package/src/spec.track.json +0 -54
  179. package/src/spec.u.json +0 -24
  180. package/src/spec.ul.json +0 -53
  181. package/src/spec.var.json +0 -24
  182. package/src/spec.video.json +0 -78
  183. package/src/spec.wbr.json +0 -25
@@ -1,136 +0,0 @@
1
- // https://svgwg.org/svg2-draft/shapes.html#LineElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-45
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [
8
- ":model(SVGAnimation)",
9
- ":model(SVGDescriptive)",
10
- ":model(SVGPaintServer)",
11
- "svg|clipPath",
12
- "svg|marker",
13
- "svg|mask",
14
- "svg|script",
15
- "svg|style"
16
- ]
17
- }
18
- ]
19
- },
20
- "globalAttrs": {
21
- "#HTMLGlobalAttrs": true,
22
- "#GlobalEventAttrs": true,
23
- "#DocumentElementEventAttrs": true,
24
- "#ARIAAttrs": true,
25
- "#SVGConditionalProcessingAttrs": ["requiredExtensions", "systemLanguage"],
26
- "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
27
- "#SVGPresentationAttrs": [
28
- "alignment-baseline",
29
- "baseline-shift",
30
- "clip",
31
- "clip-path",
32
- "clip-rule",
33
- "color",
34
- "color-interpolation",
35
- "color-interpolation-filters",
36
- "color-rendering",
37
- "cursor",
38
- "direction",
39
- "display",
40
- "dominant-baseline",
41
- "enable-background",
42
- "fill",
43
- "fill-opacity",
44
- "fill-rule",
45
- "filter",
46
- "flood-color",
47
- "flood-opacity",
48
- "font",
49
- "font-family",
50
- "font-size",
51
- "font-size-adjust",
52
- "font-stretch",
53
- "font-style",
54
- "font-variant",
55
- "font-weight",
56
- "glyph-orientation-horizontal",
57
- "glyph-orientation-vertical",
58
- "image-rendering",
59
- "isolation",
60
- "kerning",
61
- "letter-spacing",
62
- "lighting-color",
63
- "marker",
64
- "marker-end",
65
- "marker-mid",
66
- "marker-start",
67
- "mask",
68
- "mask-type",
69
- "opacity",
70
- "overflow",
71
- "paint-order",
72
- "pointer-events",
73
- "shape-rendering",
74
- "stop-color",
75
- "stop-opacity",
76
- "stroke",
77
- "stroke-dasharray",
78
- "stroke-dashoffset",
79
- "stroke-linecap",
80
- "stroke-linejoin",
81
- "stroke-miterlimit",
82
- "stroke-opacity",
83
- "stroke-width",
84
- "text-anchor",
85
- "text-decoration",
86
- "text-overflow",
87
- "text-rendering",
88
- "transform",
89
- "transform-origin",
90
- "unicode-bidi",
91
- "vector-effect",
92
- "visibility",
93
- "white-space",
94
- "word-spacing",
95
- "writing-mode"
96
- ]
97
- },
98
- "attributes": {
99
- // https://svgwg.org/svg2-draft/paths.html#PathLengthAttribute
100
- "pathLength": {
101
- "type": "<number>",
102
- "animatable": true
103
- },
104
- // https://svgwg.org/svg2-draft/shapes.html#LineElementX1Attribute
105
- "x1": {
106
- "type": ["<svg-length>", "<percentage>", "<number>"],
107
- "defaultValue": "0",
108
- "animatable": true
109
- },
110
- // https://svgwg.org/svg2-draft/shapes.html#LineElementY1Attribute
111
- "y1": {
112
- "type": ["<svg-length>", "<percentage>", "<number>"],
113
- "defaultValue": "0",
114
- "animatable": true
115
- },
116
- // https://svgwg.org/svg2-draft/shapes.html#LineElementX2Attribute
117
- "x2": {
118
- "type": ["<svg-length>", "<percentage>", "<number>"],
119
- "defaultValue": "0",
120
- "animatable": true
121
- },
122
- // https://svgwg.org/svg2-draft/shapes.html#LineElementY2Attribute
123
- "y2": {
124
- "type": ["<svg-length>", "<percentage>", "<number>"],
125
- "defaultValue": "0",
126
- "animatable": true
127
- }
128
- },
129
- "aria": {
130
- "implicitRole": "graphics-symbol",
131
- "permittedRoles": {
132
- "core-aam": true,
133
- "graphics-aam": true
134
- }
135
- }
136
- }
@@ -1,152 +0,0 @@
1
- // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-46
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [
8
- ":model(SVGDescriptive)",
9
- "svg|animate",
10
- "svg|animateTransform",
11
- "svg|script",
12
- "svg|set",
13
- "svg|stop",
14
- "svg|style"
15
- ]
16
- }
17
- ]
18
- },
19
- "globalAttrs": {
20
- "#GlobalEventAttrs": true,
21
- "#DocumentElementEventAttrs": true,
22
- "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
23
- "#SVGPresentationAttrs": [
24
- "alignment-baseline",
25
- "baseline-shift",
26
- "clip",
27
- "clip-path",
28
- "clip-rule",
29
- "color",
30
- "color-interpolation",
31
- "color-interpolation-filters",
32
- "color-rendering",
33
- "cursor",
34
- "direction",
35
- "display",
36
- "dominant-baseline",
37
- "enable-background",
38
- "fill",
39
- "fill-opacity",
40
- "fill-rule",
41
- "filter",
42
- "flood-color",
43
- "flood-opacity",
44
- "font",
45
- "font-family",
46
- "font-size",
47
- "font-size-adjust",
48
- "font-stretch",
49
- "font-style",
50
- "font-variant",
51
- "font-weight",
52
- "glyph-orientation-horizontal",
53
- "glyph-orientation-vertical",
54
- "image-rendering",
55
- "isolation",
56
- "kerning",
57
- "letter-spacing",
58
- "lighting-color",
59
- "marker",
60
- "marker-end",
61
- "marker-mid",
62
- "marker-start",
63
- "mask",
64
- "mask-type",
65
- "opacity",
66
- "overflow",
67
- "paint-order",
68
- "pointer-events",
69
- "shape-rendering",
70
- "stop-color",
71
- "stop-opacity",
72
- "stroke",
73
- "stroke-dasharray",
74
- "stroke-dashoffset",
75
- "stroke-linecap",
76
- "stroke-linejoin",
77
- "stroke-miterlimit",
78
- "stroke-opacity",
79
- "stroke-width",
80
- "text-anchor",
81
- "text-decoration",
82
- "text-overflow",
83
- "text-rendering",
84
- "transform-origin",
85
- "unicode-bidi",
86
- "vector-effect",
87
- "visibility",
88
- "white-space",
89
- "word-spacing",
90
- "writing-mode"
91
- ],
92
- "#XLinkAttrs": ["xlink:href", "xlink:title"]
93
- },
94
- "attributes": {
95
- // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementX1Attribute
96
- "x1": {
97
- "type": ["<svg-length>", "<percentage>"],
98
- "defaultValue": "0%",
99
- "animatable": true
100
- },
101
- // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementY1Attribute
102
- "y1": {
103
- "type": ["<svg-length>", "<percentage>"],
104
- "defaultValue": "0%",
105
- "animatable": true
106
- },
107
- // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementX2Attribute
108
- "x2": {
109
- "type": ["<svg-length>", "<percentage>"],
110
- "defaultValue": "100%",
111
- "animatable": true
112
- },
113
- // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementY2Attribute
114
- "y2": {
115
- "type": ["<svg-length>", "<percentage>"],
116
- "defaultValue": "0%",
117
- "animatable": true
118
- },
119
- // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementGradientUnitsAttribute
120
- "gradientUnits": {
121
- "type": {
122
- "enum": ["userSpaceOnUse", "objectBoundingBox"],
123
- "disallowToSurroundBySpaces": false
124
- },
125
- "defaultValue": "objectBoundingBox",
126
- "animatable": true
127
- },
128
- // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementGradientTransformAttribute
129
- "gradientTransform": {
130
- "type": "<transform-list>",
131
- "animatable": true
132
- },
133
- // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementSpreadMethodAttribute
134
- "spreadMethod": {
135
- "type": {
136
- "enum": ["pad", "reflect", "repeat"],
137
- "disallowToSurroundBySpaces": false
138
- },
139
- "defaultValue": "pad",
140
- "animatable": true
141
- },
142
- // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementHrefAttribute
143
- "href": {
144
- "type": "URL",
145
- "animatable": true
146
- }
147
- },
148
- "aria": {
149
- "implicitRole": false,
150
- "permittedRoles": false
151
- }
152
- }
@@ -1,180 +0,0 @@
1
- // https://svgwg.org/svg2-draft/painting.html#MarkerElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-47
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [
8
- ":model(SVGAnimation)",
9
- ":model(SVGDescriptive)",
10
- ":model(SVGPaintServer)",
11
- ":model(SVGShape)",
12
- ":model(SVGStructural)",
13
- "svg|a",
14
- "svg|clipPath",
15
- "svg|filter",
16
- "svg|foreignObject",
17
- "svg|image",
18
- "svg|marker",
19
- "svg|mask",
20
- "svg|script",
21
- "svg|style",
22
- "svg|switch",
23
- "svg|text",
24
- "svg|view"
25
- ]
26
- }
27
- ]
28
- },
29
- "globalAttrs": {
30
- "#GlobalEventAttrs": true,
31
- "#DocumentElementEventAttrs": true,
32
- "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
33
- "#SVGPresentationAttrs": [
34
- "alignment-baseline",
35
- "baseline-shift",
36
- "clip",
37
- "clip-path",
38
- "clip-rule",
39
- "color",
40
- "color-interpolation",
41
- "color-interpolation-filters",
42
- "color-rendering",
43
- "cursor",
44
- "direction",
45
- "display",
46
- "dominant-baseline",
47
- "enable-background",
48
- "fill",
49
- "fill-opacity",
50
- "fill-rule",
51
- "filter",
52
- "flood-color",
53
- "flood-opacity",
54
- "font",
55
- "font-family",
56
- "font-size",
57
- "font-size-adjust",
58
- "font-stretch",
59
- "font-style",
60
- "font-variant",
61
- "font-weight",
62
- "glyph-orientation-horizontal",
63
- "glyph-orientation-vertical",
64
- "image-rendering",
65
- "isolation",
66
- "kerning",
67
- "letter-spacing",
68
- "lighting-color",
69
- "marker",
70
- "marker-end",
71
- "marker-mid",
72
- "marker-start",
73
- "mask",
74
- "mask-type",
75
- "opacity",
76
- "overflow",
77
- "paint-order",
78
- "pointer-events",
79
- "shape-rendering",
80
- "stop-color",
81
- "stop-opacity",
82
- "stroke",
83
- "stroke-dasharray",
84
- "stroke-dashoffset",
85
- "stroke-linecap",
86
- "stroke-linejoin",
87
- "stroke-miterlimit",
88
- "stroke-opacity",
89
- "stroke-width",
90
- "text-anchor",
91
- "text-decoration",
92
- "text-overflow",
93
- "text-rendering",
94
- "transform",
95
- "transform-origin",
96
- "unicode-bidi",
97
- "vector-effect",
98
- "visibility",
99
- "white-space",
100
- "word-spacing",
101
- "writing-mode"
102
- ]
103
- },
104
- "attributes": {
105
- // https://svgwg.org/svg2-draft/coords.html#ViewBoxAttribute
106
- "viewBox": {
107
- "type": "<view-box>",
108
- "animatable": true
109
- },
110
- // https://svgwg.org/svg2-draft/coords.html#PreserveAspectRatioAttribute
111
- "preserveAspectRatio": {
112
- "type": "<preserve-aspect-ratio>",
113
- "defaultValue": "xMidYMid meet",
114
- "animatable": true
115
- },
116
- // https://svgwg.org/svg2-draft/painting.html#MarkerElementRefXAttribute
117
- "refX": {
118
- "type": [
119
- "<percentage>",
120
- "<number>",
121
- {
122
- "enum": ["left", "center", "right"],
123
- "disallowToSurroundBySpaces": false
124
- }
125
- ],
126
- "defaultValue": "0",
127
- "animatable": true
128
- },
129
- // https://svgwg.org/svg2-draft/painting.html#MarkerElementRefYAttribute
130
- "refY": {
131
- "type": [
132
- "<percentage>",
133
- "<number>",
134
- {
135
- "enum": ["left", "center", "right"],
136
- "disallowToSurroundBySpaces": false
137
- }
138
- ],
139
- "defaultValue": "0",
140
- "animatable": true
141
- },
142
- // https://svgwg.org/svg2-draft/painting.html#MarkerUnitsAttribute
143
- "markerUnits": {
144
- "type": {
145
- "enum": ["userSpaceOnUse", "strokeWidth"],
146
- "disallowToSurroundBySpaces": false
147
- },
148
- "defaultValue": "strokeWidth"
149
- },
150
- // https://svgwg.org/svg2-draft/painting.html#MarkerWidthAttribute
151
- "markerWidth": {
152
- "type": ["<svg-length>", "<percentage>", "<number>"],
153
- "defaultValue": "3",
154
- "animatable": true
155
- },
156
- // https://svgwg.org/svg2-draft/painting.html#MarkerHeightAttribute
157
- "markerHeight": {
158
- "type": ["<svg-length>", "<percentage>", "<number>"],
159
- "defaultValue": "3",
160
- "animatable": true
161
- },
162
- // https://svgwg.org/svg2-draft/painting.html#OrientAttribute
163
- "orient": {
164
- "type": [
165
- {
166
- "enum": ["auto", "auto-start-reverse"],
167
- "disallowToSurroundBySpaces": false
168
- },
169
- "<angle>",
170
- "<number>"
171
- ],
172
- "defaultValue": "0",
173
- "animatable": true
174
- }
175
- },
176
- "aria": {
177
- "implicitRole": false,
178
- "permittedRoles": false
179
- }
180
- }
@@ -1,142 +0,0 @@
1
- // https://drafts.fxtf.org/css-masking/#MaskElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-48
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [
8
- ":model(SVGAnimation)",
9
- ":model(SVGDescriptive)",
10
- ":model(SVGShape)",
11
- ":model(SVGStructural)",
12
- ":model(SVGGradient)",
13
- "svg|a",
14
- "svg|altGlyphDef",
15
- "svg|clipPath",
16
- "svg|color-profile",
17
- "svg|cursor",
18
- "svg|filter",
19
- "svg|font",
20
- "svg|font-face",
21
- "svg|foreignObject",
22
- "svg|image",
23
- "svg|marker",
24
- "svg|mask",
25
- "svg|pattern",
26
- "svg|script",
27
- "svg|style",
28
- "svg|switch",
29
- "svg|text",
30
- "svg|view"
31
- ]
32
- }
33
- ]
34
- },
35
- "globalAttrs": {
36
- "#SVGCoreAttrs": ["id", "xml:base", "xml:lang", "xml:space", "class", "style"],
37
- "#SVGConditionalProcessingAttrs": ["requiredFeatures", "requiredExtensions", "systemLanguage"],
38
- "#SVGPresentationAttrs": [
39
- "alignment-baseline",
40
- "baseline-shift",
41
- "clip",
42
- "clip-path",
43
- "clip-rule",
44
- "color",
45
- "color-interpolation",
46
- "color-interpolation-filters",
47
- "color-profile",
48
- "color-rendering",
49
- "cursor",
50
- "direction",
51
- "display",
52
- "dominant-baseline",
53
- "enable-background",
54
- "fill",
55
- "fill-opacity",
56
- "fill-rule",
57
- "filter",
58
- "flood-color",
59
- "flood-opacity",
60
- "font",
61
- "font-family",
62
- "font-size",
63
- "font-size-adjust",
64
- "font-stretch",
65
- "font-style",
66
- "font-variant",
67
- "font-weight",
68
- "glyph-orientation-horizontal",
69
- "glyph-orientation-vertical",
70
- "image-rendering",
71
- "kerning",
72
- "letter-spacing",
73
- "lighting-color",
74
- "marker",
75
- "marker-end",
76
- "marker-mid",
77
- "marker-start",
78
- "mask",
79
- "opacity",
80
- "overflow",
81
- "pointer-events",
82
- "shape-rendering",
83
- "stop-color",
84
- "stop-opacity",
85
- "stroke",
86
- "stroke-dasharray",
87
- "stroke-dashoffset",
88
- "stroke-linecap",
89
- "stroke-linejoin",
90
- "stroke-miterlimit",
91
- "stroke-opacity",
92
- "stroke-width",
93
- "text-anchor",
94
- "text-decoration",
95
- "text-rendering",
96
- "unicode-bidi",
97
- "visibility",
98
- "word-spacing",
99
- "writing-mode"
100
- ],
101
- "#SVGFilterPrimitiveAttrs": ["x", "y", "width", "height"]
102
- },
103
- "attributes": {
104
- // https://drafts.fxtf.org/css-masking/#element-attrdef-mask-x
105
- "x": {
106
- "defaultValue": "-10%"
107
- },
108
- // https://drafts.fxtf.org/css-masking/#element-attrdef-mask-y
109
- "y": {
110
- "defaultValue": "-10%"
111
- },
112
- // https://drafts.fxtf.org/css-masking/#element-attrdef-mask-width
113
- "width": {
114
- "defaultValue": "120%"
115
- },
116
- // https://drafts.fxtf.org/css-masking/#element-attrdef-mask-height
117
- "height": {
118
- "defaultValue": "120%"
119
- },
120
- // https://drafts.fxtf.org/css-masking/#element-attrdef-mask-maskunits
121
- "maskUnits": {
122
- "type": {
123
- "enum": ["userSpaceOnUse", "objectBoundingBox"],
124
- "disallowToSurroundBySpaces": false
125
- },
126
- "defaultValue": "objectBoundingBox",
127
- "animatable": true
128
- },
129
- // https://drafts.fxtf.org/css-masking/#element-attrdef-mask-maskcontentunits
130
- "maskContentUnits": {
131
- "type": {
132
- "enum": ["userSpaceOnUse", "objectBoundingBox"]
133
- },
134
- "defaultValue": "userSpaceOnUse",
135
- "animatable": true
136
- }
137
- },
138
- "aria": {
139
- "implicitRole": false,
140
- "permittedRoles": false
141
- }
142
- }
@@ -1,21 +0,0 @@
1
- // https://svgwg.org/svg2-draft/struct.html#MetadataElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-52
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [":model(SVGDescriptive)", ":model(SVGNeverRendered)", "#text"]
8
- }
9
- ]
10
- },
11
- "globalAttrs": {
12
- "#GlobalEventAttrs": true,
13
- "#DocumentElementEventAttrs": true,
14
- "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"]
15
- },
16
- "attributes": {},
17
- "aria": {
18
- "implicitRole": false,
19
- "permittedRoles": false
20
- }
21
- }
@@ -1,26 +0,0 @@
1
- // https://svgwg.org/specs/animations/#MPathElement
2
- // https://www.w3.org/TR/svg-aam-1.0/#details-id-53
3
- {
4
- "contentModel": {
5
- "contents": [
6
- {
7
- "zeroOrMore": [":model(SVGDescriptive)", "svg|script"]
8
- }
9
- ]
10
- },
11
- "globalAttrs": {
12
- "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
13
- "#GlobalEventAttrs": true,
14
- "#DocumentElementEventAttrs": true
15
- },
16
- "attributes": {
17
- // https://svgwg.org/specs/animations/#MPathElementHrefAttribute
18
- "href": {
19
- "type": "URL"
20
- }
21
- },
22
- "aria": {
23
- "implicitRole": false,
24
- "permittedRoles": false
25
- }
26
- }