@markuplint/html-spec 2.7.0 → 3.0.0-alpha.0
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/index.json +23716 -12904
- package/package.json +6 -6
- package/src/{global-attributes/_global.json → spec-common.attributes.json} +302 -318
- package/src/spec-common.contents.json +313 -0
- package/src/spec.a.json +59 -0
- package/src/spec.abbr.json +25 -0
- package/src/spec.address.json +26 -0
- package/src/spec.area.json +64 -0
- package/src/spec.article.json +24 -0
- package/src/spec.aside.json +38 -0
- package/src/spec.audio.json +50 -0
- package/src/spec.b.json +24 -0
- package/src/spec.base.json +21 -0
- package/src/spec.bdi.json +24 -0
- package/src/spec.bdo.json +24 -0
- package/src/spec.blockquote.json +31 -0
- package/src/spec.body.json +100 -0
- package/src/spec.br.json +32 -0
- package/src/spec.button.json +71 -0
- package/src/spec.canvas.json +34 -0
- package/src/spec.caption.json +30 -0
- package/src/spec.cite.json +24 -0
- package/src/spec.code.json +27 -0
- package/src/spec.col.json +31 -0
- package/src/spec.colgroup.json +41 -0
- package/src/spec.data.json +29 -0
- package/src/spec.datalist.json +38 -0
- package/src/spec.dd.json +30 -0
- package/src/spec.del.json +36 -0
- package/src/spec.details.json +35 -0
- package/src/spec.dfn.json +24 -0
- package/src/spec.dialog.json +36 -0
- package/src/spec.div.json +55 -0
- package/src/spec.dl.json +50 -0
- package/src/spec.dt.json +27 -0
- package/src/spec.em.json +27 -0
- package/src/spec.embed.json +30 -0
- package/src/spec.fieldset.json +27 -0
- package/src/spec.figcaption.json +24 -0
- package/src/spec.figure.json +41 -0
- package/src/spec.footer.json +38 -0
- package/src/spec.form.json +101 -0
- package/src/spec.h1.json +26 -0
- package/src/spec.h2.json +26 -0
- package/src/spec.h3.json +26 -0
- package/src/spec.h4.json +26 -0
- package/src/spec.h5.json +26 -0
- package/src/spec.h6.json +26 -0
- package/src/spec.head.json +32 -0
- package/src/spec.header.json +38 -0
- package/src/spec.hgroup.json +37 -0
- package/src/spec.hr.json +23 -0
- package/src/spec.html.json +27 -0
- package/src/spec.i.json +24 -0
- package/src/spec.iframe.json +74 -0
- package/src/spec.img.json +109 -0
- package/src/spec.input.json +792 -0
- package/src/spec.ins.json +36 -0
- package/src/spec.kbd.json +24 -0
- package/src/spec.label.json +30 -0
- package/src/spec.legend.json +24 -0
- package/src/spec.li.json +40 -0
- package/src/spec.link.json +140 -0
- package/src/spec.main.json +27 -0
- package/src/spec.map.json +30 -0
- package/src/spec.mark.json +24 -0
- package/src/spec.math.json +20 -0
- package/src/spec.menu.json +53 -0
- package/src/spec.meta.json +59 -0
- package/src/spec.meter.json +63 -0
- package/src/spec.nav.json +26 -0
- package/src/spec.noscript.json +24 -0
- package/src/spec.object.json +40 -0
- package/src/spec.ol.json +71 -0
- package/src/spec.optgroup.json +34 -0
- package/src/spec.option.json +70 -0
- package/src/spec.output.json +29 -0
- package/src/spec.p.json +27 -0
- package/src/spec.picture.json +46 -0
- package/src/spec.portal.json +25 -0
- package/src/spec.pre.json +24 -0
- package/src/spec.progress.json +45 -0
- package/src/spec.q.json +30 -0
- package/src/spec.rp.json +24 -0
- package/src/spec.rt.json +24 -0
- package/src/spec.ruby.json +56 -0
- package/src/spec.s.json +24 -0
- package/src/spec.samp.json +24 -0
- package/src/spec.script.json +73 -0
- package/src/spec.section.json +73 -0
- package/src/spec.select.json +66 -0
- package/src/spec.slot.json +29 -0
- package/src/spec.small.json +24 -0
- package/src/spec.source.json +52 -0
- package/src/spec.span.json +24 -0
- package/src/spec.strong.json +27 -0
- package/src/spec.style.json +35 -0
- package/src/spec.sub.json +27 -0
- package/src/spec.summary.json +38 -0
- package/src/spec.sup.json +27 -0
- package/src/{attributes/svg_a.json → spec.svg_a.json} +38 -4
- package/src/{attributes/svg_animate.json → spec.svg_animate.json} +16 -4
- package/src/{attributes/svg_animateMotion.json → spec.svg_animateMotion.json} +36 -7
- package/src/{attributes/svg_animateTransform.json → spec.svg_animateTransform.json} +16 -4
- package/src/{attributes/svg_circle.json → spec.svg_circle.json} +25 -4
- package/src/{attributes/svg_clipPath.json → spec.svg_clipPath.json} +16 -5
- package/src/spec.svg_defs.json +109 -0
- package/src/spec.svg_desc.json +21 -0
- package/src/spec.svg_discard.json +31 -0
- package/src/{attributes/svg_ellipse.json → spec.svg_ellipse.json} +27 -4
- package/src/{attributes/svg_feBlend.json → spec.svg_feBlend.json} +16 -5
- package/src/{attributes/svg_feColorMatrix.json → spec.svg_feColorMatrix.json} +16 -5
- package/src/{attributes/svg_feComponentTransfer.json → spec.svg_feComponentTransfer.json} +22 -4
- package/src/{attributes/svg_feComposite.json → spec.svg_feComposite.json} +20 -9
- package/src/{attributes/svg_feConvolveMatrix.json → spec.svg_feConvolveMatrix.json} +23 -12
- package/src/{attributes/svg_feDiffuseLighting.json → spec.svg_feDiffuseLighting.json} +34 -6
- package/src/{attributes/svg_feDisplacementMap.json → spec.svg_feDisplacementMap.json} +18 -7
- package/src/spec.svg_feDistantLight.json +32 -0
- package/src/{attributes/svg_feDropShadow.json → spec.svg_feDropShadow.json} +17 -6
- package/src/{attributes/svg_feFlood.json → spec.svg_feFlood.json} +16 -5
- package/src/spec.svg_feFuncA.json +20 -0
- package/src/spec.svg_feFuncB.json +20 -0
- package/src/spec.svg_feFuncG.json +20 -0
- package/src/spec.svg_feFuncR.json +20 -0
- package/src/{attributes/svg_feGaussianBlur.json → spec.svg_feGaussianBlur.json} +16 -5
- package/src/{attributes/svg_feImage.json → spec.svg_feImage.json} +19 -8
- package/src/{attributes/svg_feMerge.json → spec.svg_feMerge.json} +15 -4
- package/src/spec.svg_feMergeNode.json +20 -0
- package/src/{attributes/svg_feMorphology.json → spec.svg_feMorphology.json} +16 -5
- package/src/{attributes/svg_feOffset.json → spec.svg_feOffset.json} +16 -5
- package/src/spec.svg_fePointLight.json +38 -0
- package/src/{attributes/svg_feSpecularLighting.json → spec.svg_feSpecularLighting.json} +35 -7
- package/src/spec.svg_feSpotLight.json +67 -0
- package/src/{attributes/svg_feTile.json → spec.svg_feTile.json} +15 -4
- package/src/{attributes/svg_feTurbulence.json → spec.svg_feTurbulence.json} +20 -9
- package/src/{attributes/svg_filter.json → spec.svg_filter.json} +22 -11
- package/src/{attributes/svg_rect.json → spec.svg_foreignObject.json} +13 -11
- package/src/spec.svg_g.json +115 -0
- package/src/{attributes/svg_image.json → spec.svg_image.json} +27 -6
- package/src/{attributes/svg_line.json → spec.svg_line.json} +31 -8
- package/src/{attributes/svg_linearGradient.json → spec.svg_linearGradient.json} +30 -11
- package/src/{attributes/svg_marker.json → spec.svg_marker.json} +40 -11
- package/src/{attributes/svg_mask.json → spec.svg_mask.json} +44 -9
- package/src/spec.svg_metadata.json +21 -0
- package/src/spec.svg_mpath.json +26 -0
- package/src/{attributes/svg_path.json → spec.svg_path.json} +27 -4
- package/src/{attributes/svg_pattern.json → spec.svg_pattern.json} +40 -11
- package/src/{attributes/svg_polyline.json → spec.svg_polygon.json} +28 -5
- package/src/spec.svg_polyline.json +117 -0
- package/src/{attributes/svg_radialGradient.json → spec.svg_radialGradient.json} +32 -13
- package/src/spec.svg_rect.json +118 -0
- package/src/spec.svg_script.json +40 -0
- package/src/spec.svg_set.json +42 -0
- package/src/{attributes/svg_stop.json → spec.svg_stop.json} +17 -6
- package/src/spec.svg_style.json +36 -0
- package/src/{attributes/svg_svg.json → spec.svg_svg.json} +49 -13
- package/src/{attributes/svg_polygon.json → spec.svg_switch.json} +25 -14
- package/src/spec.svg_symbol.json +77 -0
- package/src/{attributes/svg_text.json → spec.svg_text.json} +38 -10
- package/src/{attributes/svg_textPath.json → spec.svg_textPath.json} +39 -11
- package/src/spec.svg_title.json +21 -0
- package/src/{attributes/svg_tspan.json → spec.svg_tspan.json} +34 -10
- package/src/{attributes/svg_use.json → spec.svg_use.json} +26 -4
- package/src/spec.svg_view.json +45 -0
- package/src/spec.table.json +64 -0
- package/src/spec.tbody.json +23 -0
- package/src/spec.td.json +37 -0
- package/src/spec.template.json +24 -0
- package/src/spec.textarea.json +67 -0
- package/src/spec.tfoot.json +23 -0
- package/src/spec.th.json +67 -0
- package/src/spec.thead.json +23 -0
- package/src/spec.time.json +32 -0
- package/src/spec.title.json +24 -0
- package/src/spec.tr.json +29 -0
- package/src/spec.track.json +54 -0
- package/src/spec.u.json +24 -0
- package/src/spec.ul.json +53 -0
- package/src/spec.var.json +24 -0
- package/src/spec.video.json +80 -0
- package/src/spec.wbr.json +25 -0
- package/src/structure.test.ts +60 -40
- package/src/aria-in-html/a.json +0 -31
- package/src/aria-in-html/abbr.json +0 -8
- package/src/aria-in-html/address.json +0 -8
- package/src/aria-in-html/area.json +0 -14
- package/src/aria-in-html/article.json +0 -8
- package/src/aria-in-html/aside.json +0 -8
- package/src/aria-in-html/audio.json +0 -8
- package/src/aria-in-html/b.json +0 -8
- package/src/aria-in-html/base.json +0 -8
- package/src/aria-in-html/bdi.json +0 -8
- package/src/aria-in-html/bdo.json +0 -8
- package/src/aria-in-html/blockquote.json +0 -8
- package/src/aria-in-html/body.json +0 -8
- package/src/aria-in-html/br.json +0 -8
- package/src/aria-in-html/button.json +0 -18
- package/src/aria-in-html/canvas.json +0 -8
- package/src/aria-in-html/caption.json +0 -8
- package/src/aria-in-html/cite.json +0 -8
- package/src/aria-in-html/code.json +0 -8
- package/src/aria-in-html/col.json +0 -8
- package/src/aria-in-html/colgroup.json +0 -8
- package/src/aria-in-html/data.json +0 -8
- package/src/aria-in-html/datalist.json +0 -8
- package/src/aria-in-html/dd.json +0 -8
- package/src/aria-in-html/del.json +0 -8
- package/src/aria-in-html/details.json +0 -8
- package/src/aria-in-html/dfn.json +0 -8
- package/src/aria-in-html/dialog.json +0 -8
- package/src/aria-in-html/div.json +0 -8
- package/src/aria-in-html/dl.json +0 -8
- package/src/aria-in-html/dt.json +0 -8
- package/src/aria-in-html/em.json +0 -8
- package/src/aria-in-html/embed.json +0 -8
- package/src/aria-in-html/fieldset.json +0 -8
- package/src/aria-in-html/figcaption.json +0 -8
- package/src/aria-in-html/figure.json +0 -14
- package/src/aria-in-html/footer.json +0 -14
- package/src/aria-in-html/form.json +0 -14
- package/src/aria-in-html/h1.json +0 -8
- package/src/aria-in-html/h2.json +0 -8
- package/src/aria-in-html/h3.json +0 -8
- package/src/aria-in-html/h4.json +0 -8
- package/src/aria-in-html/h5.json +0 -8
- package/src/aria-in-html/h6.json +0 -8
- package/src/aria-in-html/head.json +0 -8
- package/src/aria-in-html/header.json +0 -14
- package/src/aria-in-html/hgroup.json +0 -8
- package/src/aria-in-html/hr.json +0 -8
- package/src/aria-in-html/html.json +0 -8
- package/src/aria-in-html/i.json +0 -8
- package/src/aria-in-html/iframe.json +0 -8
- package/src/aria-in-html/img.json +0 -39
- package/src/aria-in-html/input.json +0 -192
- package/src/aria-in-html/ins.json +0 -8
- package/src/aria-in-html/kbd.json +0 -8
- package/src/aria-in-html/label.json +0 -8
- package/src/aria-in-html/legend.json +0 -8
- package/src/aria-in-html/li.json +0 -19
- package/src/aria-in-html/link.json +0 -8
- package/src/aria-in-html/main.json +0 -8
- package/src/aria-in-html/map.json +0 -8
- package/src/aria-in-html/mark.json +0 -8
- package/src/aria-in-html/math.json +0 -8
- package/src/aria-in-html/menu.json +0 -20
- package/src/aria-in-html/meta.json +0 -8
- package/src/aria-in-html/meter.json +0 -8
- package/src/aria-in-html/nav.json +0 -8
- package/src/aria-in-html/noscript.json +0 -8
- package/src/aria-in-html/object.json +0 -8
- package/src/aria-in-html/ol.json +0 -20
- package/src/aria-in-html/optgroup.json +0 -8
- package/src/aria-in-html/option.json +0 -8
- package/src/aria-in-html/output.json +0 -8
- package/src/aria-in-html/p.json +0 -8
- package/src/aria-in-html/param.json +0 -8
- package/src/aria-in-html/picture.json +0 -8
- package/src/aria-in-html/portal.json +0 -8
- package/src/aria-in-html/pre.json +0 -8
- package/src/aria-in-html/progress.json +0 -8
- package/src/aria-in-html/q.json +0 -8
- package/src/aria-in-html/rp.json +0 -8
- package/src/aria-in-html/rt.json +0 -8
- package/src/aria-in-html/ruby.json +0 -8
- package/src/aria-in-html/s.json +0 -8
- package/src/aria-in-html/samp.json +0 -8
- package/src/aria-in-html/script.json +0 -8
- package/src/aria-in-html/section.json +0 -34
- package/src/aria-in-html/select.json +0 -20
- package/src/aria-in-html/slot.json +0 -8
- package/src/aria-in-html/small.json +0 -8
- package/src/aria-in-html/source.json +0 -8
- package/src/aria-in-html/span.json +0 -8
- package/src/aria-in-html/strong.json +0 -8
- package/src/aria-in-html/style.json +0 -8
- package/src/aria-in-html/sub.json +0 -8
- package/src/aria-in-html/summary.json +0 -8
- package/src/aria-in-html/sup.json +0 -8
- package/src/aria-in-html/svg.json +0 -8
- package/src/aria-in-html/table.json +0 -8
- package/src/aria-in-html/tbody.json +0 -8
- package/src/aria-in-html/td.json +0 -24
- package/src/aria-in-html/template.json +0 -8
- package/src/aria-in-html/textarea.json +0 -8
- package/src/aria-in-html/tfoot.json +0 -8
- package/src/aria-in-html/th.json +0 -24
- package/src/aria-in-html/thead.json +0 -8
- package/src/aria-in-html/time.json +0 -8
- package/src/aria-in-html/title.json +0 -8
- package/src/aria-in-html/tr.json +0 -14
- package/src/aria-in-html/track.json +0 -8
- package/src/aria-in-html/u.json +0 -8
- package/src/aria-in-html/ul.json +0 -20
- package/src/aria-in-html/var.json +0 -8
- package/src/aria-in-html/video.json +0 -8
- package/src/aria-in-html/wbr.json +0 -8
- package/src/attributes/a.json +0 -12
- package/src/attributes/abbr.json +0 -11
- package/src/attributes/address.json +0 -11
- package/src/attributes/area.json +0 -37
- package/src/attributes/article.json +0 -11
- package/src/attributes/aside.json +0 -11
- package/src/attributes/audio.json +0 -13
- package/src/attributes/b.json +0 -11
- package/src/attributes/base.json +0 -12
- package/src/attributes/bdi.json +0 -11
- package/src/attributes/bdo.json +0 -11
- package/src/attributes/blockquote.json +0 -16
- package/src/attributes/body.json +0 -76
- package/src/attributes/br.json +0 -11
- package/src/attributes/button.json +0 -34
- package/src/attributes/canvas.json +0 -21
- package/src/attributes/caption.json +0 -11
- package/src/attributes/cite.json +0 -11
- package/src/attributes/code.json +0 -11
- package/src/attributes/col.json +0 -22
- package/src/attributes/colgroup.json +0 -22
- package/src/attributes/data.json +0 -16
- package/src/attributes/datalist.json +0 -11
- package/src/attributes/dd.json +0 -11
- package/src/attributes/del.json +0 -20
- package/src/attributes/details.json +0 -16
- package/src/attributes/dfn.json +0 -11
- package/src/attributes/dialog.json +0 -20
- package/src/attributes/div.json +0 -11
- package/src/attributes/dl.json +0 -11
- package/src/attributes/dt.json +0 -11
- package/src/attributes/em.json +0 -11
- package/src/attributes/embed.json +0 -27
- package/src/attributes/fieldset.json +0 -12
- package/src/attributes/figcaption.json +0 -11
- package/src/attributes/figure.json +0 -11
- package/src/attributes/footer.json +0 -11
- package/src/attributes/form.json +0 -80
- package/src/attributes/h1.json +0 -11
- package/src/attributes/h2.json +0 -11
- package/src/attributes/h3.json +0 -11
- package/src/attributes/h4.json +0 -11
- package/src/attributes/h5.json +0 -11
- package/src/attributes/h6.json +0 -11
- package/src/attributes/head.json +0 -11
- package/src/attributes/header.json +0 -11
- package/src/attributes/hgroup.json +0 -11
- package/src/attributes/hr.json +0 -11
- package/src/attributes/html.json +0 -11
- package/src/attributes/i.json +0 -11
- package/src/attributes/iframe.json +0 -61
- package/src/attributes/img.json +0 -45
- package/src/attributes/input.json +0 -343
- package/src/attributes/ins.json +0 -20
- package/src/attributes/kbd.json +0 -11
- package/src/attributes/label.json +0 -16
- package/src/attributes/legend.json +0 -11
- package/src/attributes/li.json +0 -19
- package/src/attributes/link.json +0 -143
- package/src/attributes/main.json +0 -11
- package/src/attributes/map.json +0 -17
- package/src/attributes/mark.json +0 -11
- package/src/attributes/math.json +0 -8
- package/src/attributes/menu.json +0 -11
- package/src/attributes/meta.json +0 -64
- package/src/attributes/meter.json +0 -36
- package/src/attributes/nav.json +0 -11
- package/src/attributes/noscript.json +0 -11
- package/src/attributes/object.json +0 -28
- package/src/attributes/ol.json +0 -29
- package/src/attributes/optgroup.json +0 -18
- package/src/attributes/option.json +0 -25
- package/src/attributes/output.json +0 -17
- package/src/attributes/p.json +0 -11
- package/src/attributes/picture.json +0 -11
- package/src/attributes/portal.json +0 -22
- package/src/attributes/pre.json +0 -11
- package/src/attributes/progress.json +0 -21
- package/src/attributes/q.json +0 -16
- package/src/attributes/rp.json +0 -11
- package/src/attributes/rt.json +0 -11
- package/src/attributes/ruby.json +0 -11
- package/src/attributes/s.json +0 -11
- package/src/attributes/samp.json +0 -11
- package/src/attributes/script.json +0 -64
- package/src/attributes/section.json +0 -11
- package/src/attributes/select.json +0 -24
- package/src/attributes/slot.json +0 -16
- package/src/attributes/small.json +0 -11
- package/src/attributes/source.json +0 -55
- package/src/attributes/span.json +0 -11
- package/src/attributes/strong.json +0 -11
- package/src/attributes/style.json +0 -22
- package/src/attributes/sub.json +0 -11
- package/src/attributes/summary.json +0 -11
- package/src/attributes/sup.json +0 -11
- package/src/attributes/svg_defs.json +0 -80
- package/src/attributes/svg_desc.json +0 -10
- package/src/attributes/svg_discard.json +0 -20
- package/src/attributes/svg_feDistantLight.json +0 -21
- package/src/attributes/svg_feFuncA.json +0 -9
- package/src/attributes/svg_feFuncB.json +0 -9
- package/src/attributes/svg_feFuncG.json +0 -9
- package/src/attributes/svg_feFuncR.json +0 -9
- package/src/attributes/svg_feMergeNode.json +0 -9
- package/src/attributes/svg_fePointLight.json +0 -27
- package/src/attributes/svg_feSpotLight.json +0 -56
- package/src/attributes/svg_foreignObject.json +0 -87
- package/src/attributes/svg_g.json +0 -83
- package/src/attributes/svg_hatch.json +0 -114
- package/src/attributes/svg_hatchpath.json +0 -84
- package/src/attributes/svg_mesh.json +0 -88
- package/src/attributes/svg_meshgradient.json +0 -33
- package/src/attributes/svg_meshpatch.json +0 -79
- package/src/attributes/svg_meshrow.json +0 -79
- package/src/attributes/svg_metadata.json +0 -10
- package/src/attributes/svg_mpath.json +0 -15
- package/src/attributes/svg_script.json +0 -29
- package/src/attributes/svg_set.json +0 -31
- package/src/attributes/svg_style.json +0 -25
- package/src/attributes/svg_switch.json +0 -83
- package/src/attributes/svg_symbol.json +0 -45
- package/src/attributes/svg_title.json +0 -10
- package/src/attributes/svg_view.json +0 -34
- package/src/attributes/table.json +0 -11
- package/src/attributes/tbody.json +0 -11
- package/src/attributes/td.json +0 -12
- package/src/attributes/template.json +0 -11
- package/src/attributes/textarea.json +0 -51
- package/src/attributes/tfoot.json +0 -11
- package/src/attributes/th.json +0 -25
- package/src/attributes/thead.json +0 -11
- package/src/attributes/time.json +0 -16
- package/src/attributes/title.json +0 -11
- package/src/attributes/tr.json +0 -11
- package/src/attributes/track.json +0 -38
- package/src/attributes/u.json +0 -11
- package/src/attributes/ul.json +0 -11
- package/src/attributes/var.json +0 -11
- package/src/attributes/video.json +0 -43
- package/src/attributes/wbr.json +0 -11
- package/src/content-models.json +0 -334
- package/src/permitted-structures/a.json +0 -9
- package/src/permitted-structures/abbr.json +0 -8
- package/src/permitted-structures/address.json +0 -9
- package/src/permitted-structures/area.json +0 -5
- package/src/permitted-structures/article.json +0 -8
- package/src/permitted-structures/aside.json +0 -8
- package/src/permitted-structures/audio.json +0 -31
- package/src/permitted-structures/b.json +0 -8
- package/src/permitted-structures/base.json +0 -4
- package/src/permitted-structures/bdi.json +0 -8
- package/src/permitted-structures/bdo.json +0 -8
- package/src/permitted-structures/blockquote.json +0 -8
- package/src/permitted-structures/body.json +0 -8
- package/src/permitted-structures/br.json +0 -4
- package/src/permitted-structures/button.json +0 -9
- package/src/permitted-structures/canvas.json +0 -5
- package/src/permitted-structures/caption.json +0 -8
- package/src/permitted-structures/cite.json +0 -8
- package/src/permitted-structures/code.json +0 -8
- package/src/permitted-structures/col.json +0 -4
- package/src/permitted-structures/colgroup.json +0 -16
- package/src/permitted-structures/data.json +0 -8
- package/src/permitted-structures/datalist.json +0 -19
- package/src/permitted-structures/dd.json +0 -8
- package/src/permitted-structures/del.json +0 -8
- package/src/permitted-structures/details.json +0 -11
- package/src/permitted-structures/dfn.json +0 -9
- package/src/permitted-structures/dialog.json +0 -8
- package/src/permitted-structures/div.json +0 -32
- package/src/permitted-structures/dl.json +0 -35
- package/src/permitted-structures/dt.json +0 -9
- package/src/permitted-structures/em.json +0 -8
- package/src/permitted-structures/embed.json +0 -4
- package/src/permitted-structures/fieldset.json +0 -11
- package/src/permitted-structures/figcaption.json +0 -8
- package/src/permitted-structures/figure.json +0 -19
- package/src/permitted-structures/footer.json +0 -9
- package/src/permitted-structures/form.json +0 -9
- package/src/permitted-structures/h1.json +0 -8
- package/src/permitted-structures/h2.json +0 -8
- package/src/permitted-structures/h3.json +0 -8
- package/src/permitted-structures/h4.json +0 -8
- package/src/permitted-structures/h5.json +0 -8
- package/src/permitted-structures/h6.json +0 -8
- package/src/permitted-structures/head.json +0 -16
- package/src/permitted-structures/header.json +0 -9
- package/src/permitted-structures/hgroup.json +0 -18
- package/src/permitted-structures/hr.json +0 -4
- package/src/permitted-structures/html.json +0 -11
- package/src/permitted-structures/i.json +0 -8
- package/src/permitted-structures/iframe.json +0 -8
- package/src/permitted-structures/img.json +0 -4
- package/src/permitted-structures/input.json +0 -4
- package/src/permitted-structures/ins.json +0 -8
- package/src/permitted-structures/kbd.json +0 -8
- package/src/permitted-structures/label.json +0 -9
- package/src/permitted-structures/legend.json +0 -8
- package/src/permitted-structures/li.json +0 -8
- package/src/permitted-structures/link.json +0 -4
- package/src/permitted-structures/main.json +0 -8
- package/src/permitted-structures/map.json +0 -8
- package/src/permitted-structures/mark.json +0 -8
- package/src/permitted-structures/math.json +0 -4
- package/src/permitted-structures/menu.json +0 -8
- package/src/permitted-structures/meta.json +0 -4
- package/src/permitted-structures/meter.json +0 -9
- package/src/permitted-structures/nav.json +0 -8
- package/src/permitted-structures/noscript.json +0 -21
- package/src/permitted-structures/object.json +0 -8
- package/src/permitted-structures/ol.json +0 -8
- package/src/permitted-structures/optgroup.json +0 -8
- package/src/permitted-structures/option.json +0 -30
- package/src/permitted-structures/output.json +0 -8
- package/src/permitted-structures/p.json +0 -8
- package/src/permitted-structures/picture.json +0 -20
- package/src/permitted-structures/portal.json +0 -8
- package/src/permitted-structures/pre.json +0 -8
- package/src/permitted-structures/progress.json +0 -9
- package/src/permitted-structures/q.json +0 -8
- package/src/permitted-structures/rp.json +0 -8
- package/src/permitted-structures/rt.json +0 -8
- package/src/permitted-structures/ruby.json +0 -41
- package/src/permitted-structures/s.json +0 -8
- package/src/permitted-structures/samp.json +0 -8
- package/src/permitted-structures/script.json +0 -8
- package/src/permitted-structures/section.json +0 -8
- package/src/permitted-structures/select.json +0 -8
- package/src/permitted-structures/slot.json +0 -8
- package/src/permitted-structures/small.json +0 -8
- package/src/permitted-structures/source.json +0 -4
- package/src/permitted-structures/span.json +0 -8
- package/src/permitted-structures/strong.json +0 -8
- package/src/permitted-structures/style.json +0 -8
- package/src/permitted-structures/sub.json +0 -8
- package/src/permitted-structures/summary.json +0 -19
- package/src/permitted-structures/sup.json +0 -8
- package/src/permitted-structures/svg_a.json +0 -24
- package/src/permitted-structures/svg_animate.json +0 -8
- package/src/permitted-structures/svg_animateMotion.json +0 -25
- package/src/permitted-structures/svg_animateTransform.json +0 -8
- package/src/permitted-structures/svg_circle.json +0 -17
- package/src/permitted-structures/svg_clipPath.json +0 -8
- package/src/permitted-structures/svg_defs.json +0 -26
- package/src/permitted-structures/svg_desc.json +0 -8
- package/src/permitted-structures/svg_discard.json +0 -8
- package/src/permitted-structures/svg_ellipse.json +0 -17
- package/src/permitted-structures/svg_feBlend.json +0 -8
- package/src/permitted-structures/svg_feColorMatrix.json +0 -8
- package/src/permitted-structures/svg_feComponentTransfer.json +0 -8
- package/src/permitted-structures/svg_feComposite.json +0 -8
- package/src/permitted-structures/svg_feConvolveMatrix.json +0 -8
- package/src/permitted-structures/svg_feDiffuseLighting.json +0 -25
- package/src/permitted-structures/svg_feDisplacementMap.json +0 -8
- package/src/permitted-structures/svg_feDistantLight.json +0 -8
- package/src/permitted-structures/svg_feDropShadow.json +0 -8
- package/src/permitted-structures/svg_feFlood.json +0 -8
- package/src/permitted-structures/svg_feFuncA.json +0 -8
- package/src/permitted-structures/svg_feFuncB.json +0 -8
- package/src/permitted-structures/svg_feFuncG.json +0 -8
- package/src/permitted-structures/svg_feFuncR.json +0 -8
- package/src/permitted-structures/svg_feGaussianBlur.json +0 -8
- package/src/permitted-structures/svg_feImage.json +0 -8
- package/src/permitted-structures/svg_feMerge.json +0 -8
- package/src/permitted-structures/svg_feMergeNode.json +0 -8
- package/src/permitted-structures/svg_feMorphology.json +0 -8
- package/src/permitted-structures/svg_feOffset.json +0 -8
- package/src/permitted-structures/svg_fePointLight.json +0 -8
- package/src/permitted-structures/svg_feSpecularLighting.json +0 -25
- package/src/permitted-structures/svg_feSpotLight.json +0 -8
- package/src/permitted-structures/svg_feTile.json +0 -8
- package/src/permitted-structures/svg_feTurbulence.json +0 -8
- package/src/permitted-structures/svg_filter.json +0 -8
- package/src/permitted-structures/svg_foreignObject.json +0 -4
- package/src/permitted-structures/svg_g.json +0 -26
- package/src/permitted-structures/svg_hatch.json +0 -8
- package/src/permitted-structures/svg_hatchpath.json +0 -8
- package/src/permitted-structures/svg_image.json +0 -8
- package/src/permitted-structures/svg_line.json +0 -17
- package/src/permitted-structures/svg_linearGradient.json +0 -16
- package/src/permitted-structures/svg_marker.json +0 -26
- package/src/permitted-structures/svg_mask.json +0 -32
- package/src/permitted-structures/svg_mesh.json +0 -20
- package/src/permitted-structures/svg_meshgradient.json +0 -16
- package/src/permitted-structures/svg_meshpatch.json +0 -9
- package/src/permitted-structures/svg_meshrow.json +0 -9
- package/src/permitted-structures/svg_metadata.json +0 -8
- package/src/permitted-structures/svg_mpath.json +0 -8
- package/src/permitted-structures/svg_path.json +0 -17
- package/src/permitted-structures/svg_pattern.json +0 -26
- package/src/permitted-structures/svg_polygon.json +0 -17
- package/src/permitted-structures/svg_polyline.json +0 -17
- package/src/permitted-structures/svg_radialGradient.json +0 -16
- package/src/permitted-structures/svg_rect.json +0 -17
- package/src/permitted-structures/svg_script.json +0 -8
- package/src/permitted-structures/svg_set.json +0 -8
- package/src/permitted-structures/svg_stop.json +0 -8
- package/src/permitted-structures/svg_style.json +0 -8
- package/src/permitted-structures/svg_svg.json +0 -30
- package/src/permitted-structures/svg_switch.json +0 -19
- package/src/permitted-structures/svg_symbol.json +0 -26
- package/src/permitted-structures/svg_text.json +0 -20
- package/src/permitted-structures/svg_textPath.json +0 -21
- package/src/permitted-structures/svg_title.json +0 -8
- package/src/permitted-structures/svg_tspan.json +0 -17
- package/src/permitted-structures/svg_use.json +0 -8
- package/src/permitted-structures/svg_view.json +0 -8
- package/src/permitted-structures/table.json +0 -49
- package/src/permitted-structures/tbody.json +0 -8
- package/src/permitted-structures/td.json +0 -8
- package/src/permitted-structures/template.json +0 -8
- package/src/permitted-structures/textarea.json +0 -8
- package/src/permitted-structures/tfoot.json +0 -8
- package/src/permitted-structures/th.json +0 -9
- package/src/permitted-structures/thead.json +0 -8
- package/src/permitted-structures/time.json +0 -8
- package/src/permitted-structures/title.json +0 -8
- package/src/permitted-structures/tr.json +0 -8
- package/src/permitted-structures/track.json +0 -4
- package/src/permitted-structures/u.json +0 -8
- package/src/permitted-structures/ul.json +0 -8
- package/src/permitted-structures/var.json +0 -8
- package/src/permitted-structures/video.json +0 -31
- package/src/permitted-structures/wbr.json +0 -4
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-bdo-element
|
|
2
|
+
// https://www.w3.org/TR/html-aria/#el-bdo
|
|
3
|
+
// https://w3c.github.io/html-aria/#el-bdo
|
|
4
|
+
{
|
|
5
|
+
"contentModel": {
|
|
6
|
+
"contents": [
|
|
7
|
+
{
|
|
8
|
+
"zeroOrMore": "#phrasing"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"globalAttrs": {
|
|
13
|
+
"#HTMLGlobalAttrs": true,
|
|
14
|
+
"#GlobalEventAttrs": true,
|
|
15
|
+
"#DocumentElementEventAttrs": true,
|
|
16
|
+
"#ARIAAttrs": true
|
|
17
|
+
},
|
|
18
|
+
"attributes": {},
|
|
19
|
+
"aria": {
|
|
20
|
+
"implicitRole": false,
|
|
21
|
+
"permittedRoles": true,
|
|
22
|
+
"namingProhibited": true
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// https://html.spec.whatwg.org/multipage/grouping-content.html#the-blockquote-element
|
|
2
|
+
// https://www.w3.org/TR/html-aria/#el-blockquote
|
|
3
|
+
// https://w3c.github.io/html-aria/#el-blockquote
|
|
4
|
+
{
|
|
5
|
+
"contentModel": {
|
|
6
|
+
"contents": [
|
|
7
|
+
{
|
|
8
|
+
"zeroOrMore": "#flow"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"globalAttrs": {
|
|
13
|
+
"#HTMLGlobalAttrs": true,
|
|
14
|
+
"#GlobalEventAttrs": true,
|
|
15
|
+
"#DocumentElementEventAttrs": true,
|
|
16
|
+
"#ARIAAttrs": true
|
|
17
|
+
},
|
|
18
|
+
"attributes": {
|
|
19
|
+
// https://html.spec.whatwg.org/multipage/grouping-content.html#attr-blockquote-cite
|
|
20
|
+
"cite": {
|
|
21
|
+
"type": "URL"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"aria": {
|
|
25
|
+
"implicitRole": "blockquote",
|
|
26
|
+
"permittedRoles": true,
|
|
27
|
+
"1.1": {
|
|
28
|
+
"implicitRole": false
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
// https://html.spec.whatwg.org/multipage/sections.html#the-body-element
|
|
2
|
+
// https://www.w3.org/TR/html-aria/#el-body
|
|
3
|
+
// https://w3c.github.io/html-aria/#el-body
|
|
4
|
+
{
|
|
5
|
+
"contentModel": {
|
|
6
|
+
"contents": [
|
|
7
|
+
{
|
|
8
|
+
"zeroOrMore": "#flow"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"globalAttrs": {
|
|
13
|
+
"#HTMLGlobalAttrs": true,
|
|
14
|
+
"#GlobalEventAttrs": true,
|
|
15
|
+
"#DocumentElementEventAttrs": true,
|
|
16
|
+
"#ARIAAttrs": true
|
|
17
|
+
},
|
|
18
|
+
"attributes": {
|
|
19
|
+
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onafterprint
|
|
20
|
+
"onafterprint": {
|
|
21
|
+
"type": "FunctionBody"
|
|
22
|
+
},
|
|
23
|
+
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onbeforeprint
|
|
24
|
+
"onbeforeprint": {
|
|
25
|
+
"type": "FunctionBody"
|
|
26
|
+
},
|
|
27
|
+
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onbeforeunload
|
|
28
|
+
"onbeforeunload": {
|
|
29
|
+
"type": "FunctionBody"
|
|
30
|
+
},
|
|
31
|
+
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onhashchange
|
|
32
|
+
"onhashchange": {
|
|
33
|
+
"type": "FunctionBody"
|
|
34
|
+
},
|
|
35
|
+
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onlanguagechange
|
|
36
|
+
"onlanguagechange": {
|
|
37
|
+
"type": "FunctionBody"
|
|
38
|
+
},
|
|
39
|
+
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onmessage
|
|
40
|
+
"onmessage": {
|
|
41
|
+
"type": "FunctionBody"
|
|
42
|
+
},
|
|
43
|
+
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onmessageerror
|
|
44
|
+
"onmessageerror": {
|
|
45
|
+
"type": "FunctionBody"
|
|
46
|
+
},
|
|
47
|
+
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onoffline
|
|
48
|
+
"onoffline": {
|
|
49
|
+
"type": "FunctionBody"
|
|
50
|
+
},
|
|
51
|
+
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-ononline
|
|
52
|
+
"ononline": {
|
|
53
|
+
"type": "FunctionBody"
|
|
54
|
+
},
|
|
55
|
+
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onpagehide
|
|
56
|
+
"onpagehide": {
|
|
57
|
+
"type": "FunctionBody"
|
|
58
|
+
},
|
|
59
|
+
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onpageshow
|
|
60
|
+
"onpageshow": {
|
|
61
|
+
"type": "FunctionBody"
|
|
62
|
+
},
|
|
63
|
+
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onpopstate
|
|
64
|
+
"onpopstate": {
|
|
65
|
+
"type": "FunctionBody"
|
|
66
|
+
},
|
|
67
|
+
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onrejectionhandled
|
|
68
|
+
"onrejectionhandled": {
|
|
69
|
+
"type": "FunctionBody"
|
|
70
|
+
},
|
|
71
|
+
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onstorage
|
|
72
|
+
"onstorage": {
|
|
73
|
+
"type": "FunctionBody"
|
|
74
|
+
},
|
|
75
|
+
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onunhandledrejection
|
|
76
|
+
"onunhandledrejection": {
|
|
77
|
+
"type": "FunctionBody"
|
|
78
|
+
},
|
|
79
|
+
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onunload
|
|
80
|
+
"onunload": {
|
|
81
|
+
"type": "FunctionBody"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"aria": {
|
|
85
|
+
"implicitRole": "generic",
|
|
86
|
+
"permittedRoles": false,
|
|
87
|
+
"namingProhibited": true,
|
|
88
|
+
"properties": {
|
|
89
|
+
"global": true
|
|
90
|
+
},
|
|
91
|
+
"1.1": {
|
|
92
|
+
"implicitRole": false,
|
|
93
|
+
"permittedRoles": false,
|
|
94
|
+
"properties": {
|
|
95
|
+
"global": true,
|
|
96
|
+
"role": "document"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
package/src/spec.br.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-br-element
|
|
2
|
+
// https://www.w3.org/TR/html-aria/#el-br
|
|
3
|
+
// https://w3c.github.io/html-aria/#el-br
|
|
4
|
+
{
|
|
5
|
+
"contentModel": {
|
|
6
|
+
"contents": [
|
|
7
|
+
{
|
|
8
|
+
"zeroOrMore": "#flow"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"globalAttrs": {
|
|
13
|
+
"#HTMLGlobalAttrs": true,
|
|
14
|
+
"#GlobalEventAttrs": true,
|
|
15
|
+
"#DocumentElementEventAttrs": true,
|
|
16
|
+
"#ARIAAttrs": true
|
|
17
|
+
},
|
|
18
|
+
"attributes": {},
|
|
19
|
+
"aria": {
|
|
20
|
+
"implicitRole": false,
|
|
21
|
+
"permittedRoles": ["none", "presentation"],
|
|
22
|
+
"properties": {
|
|
23
|
+
"only": ["aria-hidden"]
|
|
24
|
+
},
|
|
25
|
+
"1.1": {
|
|
26
|
+
"properties": {
|
|
27
|
+
"global": true,
|
|
28
|
+
"role": true
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// https://html.spec.whatwg.org/multipage/form-elements.html#the-button-element
|
|
2
|
+
// https://www.w3.org/TR/html-aria/#el-button
|
|
3
|
+
// https://w3c.github.io/html-aria/#el-button
|
|
4
|
+
{
|
|
5
|
+
"contentModel": {
|
|
6
|
+
"contents": [
|
|
7
|
+
{
|
|
8
|
+
"zeroOrMore": "#phrasing",
|
|
9
|
+
"notAllowedDescendants": ["#interactive"]
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
"globalAttrs": {
|
|
14
|
+
"#HTMLGlobalAttrs": true,
|
|
15
|
+
"#GlobalEventAttrs": true,
|
|
16
|
+
"#DocumentElementEventAttrs": true,
|
|
17
|
+
"#ARIAAttrs": true,
|
|
18
|
+
"#HTMLFormControlElementAttrs": [
|
|
19
|
+
"disabled",
|
|
20
|
+
"form",
|
|
21
|
+
"formaction",
|
|
22
|
+
"formenctype",
|
|
23
|
+
"formmethod",
|
|
24
|
+
"formnovalidate",
|
|
25
|
+
"formtarget",
|
|
26
|
+
"name"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"attributes": {
|
|
30
|
+
// https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-type
|
|
31
|
+
"type": {
|
|
32
|
+
"type": {
|
|
33
|
+
"enum": ["submit", "reset", "button"],
|
|
34
|
+
"invalidValueDefault": "submit",
|
|
35
|
+
"missingValueDefault": "submit"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
// https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-value
|
|
39
|
+
"value": {
|
|
40
|
+
"type": "Any"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"aria": {
|
|
44
|
+
"implicitRole": "button",
|
|
45
|
+
"permittedRoles": [
|
|
46
|
+
"checkbox",
|
|
47
|
+
"combobox",
|
|
48
|
+
"link",
|
|
49
|
+
"menuitem",
|
|
50
|
+
"menuitemcheckbox",
|
|
51
|
+
"menuitemradio",
|
|
52
|
+
"option",
|
|
53
|
+
"radio",
|
|
54
|
+
"switch",
|
|
55
|
+
"tab"
|
|
56
|
+
],
|
|
57
|
+
"1.1": {
|
|
58
|
+
"permittedRoles": [
|
|
59
|
+
"checkbox",
|
|
60
|
+
"link",
|
|
61
|
+
"menuitem",
|
|
62
|
+
"menuitemcheckbox",
|
|
63
|
+
"menuitemradio",
|
|
64
|
+
"option",
|
|
65
|
+
"radio",
|
|
66
|
+
"switch",
|
|
67
|
+
"tab"
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// https://html.spec.whatwg.org/multipage/canvas.html#the-canvas-element
|
|
2
|
+
// https://www.w3.org/TR/html-aria/#el-canvas
|
|
3
|
+
// https://w3c.github.io/html-aria/#el-canvas
|
|
4
|
+
{
|
|
5
|
+
"contentModel": {
|
|
6
|
+
"contents": [
|
|
7
|
+
{
|
|
8
|
+
"zeroOrMore": "#phrasing",
|
|
9
|
+
"notAllowedDescendants": ["#interactive"]
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
"globalAttrs": {
|
|
14
|
+
"#HTMLGlobalAttrs": true,
|
|
15
|
+
"#GlobalEventAttrs": true,
|
|
16
|
+
"#DocumentElementEventAttrs": true,
|
|
17
|
+
"#ARIAAttrs": true,
|
|
18
|
+
"#HTMLEmbededAndMediaContentAttrs": ["height", "width"]
|
|
19
|
+
},
|
|
20
|
+
"attributes": {
|
|
21
|
+
// https://html.spec.whatwg.org/multipage/canvas.html#attr-canvas-height
|
|
22
|
+
"height": {
|
|
23
|
+
"defaultValue": "150"
|
|
24
|
+
},
|
|
25
|
+
// https://html.spec.whatwg.org/multipage/canvas.html#attr-canvas-width
|
|
26
|
+
"width": {
|
|
27
|
+
"defaultValue": "300"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"aria": {
|
|
31
|
+
"implicitRole": false,
|
|
32
|
+
"permittedRoles": true
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// https://html.spec.whatwg.org/multipage/tables.html#the-caption-element
|
|
2
|
+
// https://www.w3.org/TR/html-aria/#el-i
|
|
3
|
+
// https://w3c.github.io/html-aria/#el-i
|
|
4
|
+
{
|
|
5
|
+
"contentModel": {
|
|
6
|
+
"contents": [
|
|
7
|
+
{
|
|
8
|
+
"zeroOrMore": "#flow"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"globalAttrs": {
|
|
13
|
+
"#HTMLGlobalAttrs": true,
|
|
14
|
+
"#GlobalEventAttrs": true,
|
|
15
|
+
"#DocumentElementEventAttrs": true,
|
|
16
|
+
"#ARIAAttrs": true
|
|
17
|
+
},
|
|
18
|
+
"attributes": {},
|
|
19
|
+
"aria": {
|
|
20
|
+
"implicitRole": "caption",
|
|
21
|
+
"permittedRoles": false,
|
|
22
|
+
"namingProhibited": true,
|
|
23
|
+
"properties": {
|
|
24
|
+
"global": true
|
|
25
|
+
},
|
|
26
|
+
"1.1": {
|
|
27
|
+
"implicitRole": false
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-cite-element
|
|
2
|
+
// https://www.w3.org/TR/html-aria/#el-cite
|
|
3
|
+
// https://w3c.github.io/html-aria/#el-cite
|
|
4
|
+
{
|
|
5
|
+
"contentModel": {
|
|
6
|
+
"contents": [
|
|
7
|
+
{
|
|
8
|
+
"zeroOrMore": "#phrasing"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"globalAttrs": {
|
|
13
|
+
"#HTMLGlobalAttrs": true,
|
|
14
|
+
"#GlobalEventAttrs": true,
|
|
15
|
+
"#DocumentElementEventAttrs": true,
|
|
16
|
+
"#ARIAAttrs": true
|
|
17
|
+
},
|
|
18
|
+
"attributes": {},
|
|
19
|
+
"aria": {
|
|
20
|
+
"implicitRole": false,
|
|
21
|
+
"permittedRoles": true,
|
|
22
|
+
"namingProhibited": true
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-code-element
|
|
2
|
+
// https://www.w3.org/TR/html-aria/#el-code
|
|
3
|
+
// https://w3c.github.io/html-aria/#el-code
|
|
4
|
+
{
|
|
5
|
+
"contentModel": {
|
|
6
|
+
"contents": [
|
|
7
|
+
{
|
|
8
|
+
"zeroOrMore": "#phrasing"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"globalAttrs": {
|
|
13
|
+
"#HTMLGlobalAttrs": true,
|
|
14
|
+
"#GlobalEventAttrs": true,
|
|
15
|
+
"#DocumentElementEventAttrs": true,
|
|
16
|
+
"#ARIAAttrs": true
|
|
17
|
+
},
|
|
18
|
+
"attributes": {},
|
|
19
|
+
"aria": {
|
|
20
|
+
"implicitRole": "code",
|
|
21
|
+
"permittedRoles": true,
|
|
22
|
+
"namingProhibited": true,
|
|
23
|
+
"1.1": {
|
|
24
|
+
"implicitRole": false
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// https://html.spec.whatwg.org/multipage/tables.html#the-col-element
|
|
2
|
+
// https://www.w3.org/TR/html-aria/#el-col
|
|
3
|
+
// https://w3c.github.io/html-aria/#el-col
|
|
4
|
+
{
|
|
5
|
+
"contentModel": {
|
|
6
|
+
"contents": false
|
|
7
|
+
},
|
|
8
|
+
"globalAttrs": {
|
|
9
|
+
"#HTMLGlobalAttrs": true,
|
|
10
|
+
"#GlobalEventAttrs": true,
|
|
11
|
+
"#DocumentElementEventAttrs": true,
|
|
12
|
+
"#ARIAAttrs": true
|
|
13
|
+
},
|
|
14
|
+
"attributes": {
|
|
15
|
+
// https://html.spec.whatwg.org/multipage/tables.html#attr-col-span
|
|
16
|
+
"span": {
|
|
17
|
+
"type": {
|
|
18
|
+
"type": "integer",
|
|
19
|
+
"gt": 0,
|
|
20
|
+
"lte": 1000,
|
|
21
|
+
"clampable": true
|
|
22
|
+
},
|
|
23
|
+
"defaultValue": "1"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"aria": {
|
|
27
|
+
"implicitRole": false,
|
|
28
|
+
"permittedRoles": false,
|
|
29
|
+
"properties": false
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// https://html.spec.whatwg.org/multipage/tables.html#the-colgroup-element
|
|
2
|
+
// https://www.w3.org/TR/html-aria/#el-colgroup
|
|
3
|
+
// https://w3c.github.io/html-aria/#el-colgroup
|
|
4
|
+
{
|
|
5
|
+
"contentModel": {
|
|
6
|
+
"contents": [
|
|
7
|
+
{
|
|
8
|
+
"zeroOrMore": "col"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"conditional": [
|
|
12
|
+
{
|
|
13
|
+
"condition": "[span]",
|
|
14
|
+
"contents": false
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"globalAttrs": {
|
|
19
|
+
"#HTMLGlobalAttrs": true,
|
|
20
|
+
"#GlobalEventAttrs": true,
|
|
21
|
+
"#DocumentElementEventAttrs": true,
|
|
22
|
+
"#ARIAAttrs": true
|
|
23
|
+
},
|
|
24
|
+
"attributes": {
|
|
25
|
+
// https://html.spec.whatwg.org/multipage/tables.html#attr-colgroup-span
|
|
26
|
+
"span": {
|
|
27
|
+
"type": {
|
|
28
|
+
"type": "integer",
|
|
29
|
+
"gt": 0,
|
|
30
|
+
"lte": 1000,
|
|
31
|
+
"clampable": true
|
|
32
|
+
},
|
|
33
|
+
"defaultValue": "1"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"aria": {
|
|
37
|
+
"implicitRole": false,
|
|
38
|
+
"permittedRoles": false,
|
|
39
|
+
"properties": false
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-data-element
|
|
2
|
+
// https://www.w3.org/TR/html-aria/#el-data
|
|
3
|
+
// https://w3c.github.io/html-aria/#el-data
|
|
4
|
+
{
|
|
5
|
+
"contentModel": {
|
|
6
|
+
"contents": [
|
|
7
|
+
{
|
|
8
|
+
"zeroOrMore": "#phrasing"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"globalAttrs": {
|
|
13
|
+
"#HTMLGlobalAttrs": true,
|
|
14
|
+
"#GlobalEventAttrs": true,
|
|
15
|
+
"#DocumentElementEventAttrs": true,
|
|
16
|
+
"#ARIAAttrs": true
|
|
17
|
+
},
|
|
18
|
+
"attributes": {
|
|
19
|
+
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#attr-data-value
|
|
20
|
+
"value": {
|
|
21
|
+
"type": "Any"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"aria": {
|
|
25
|
+
"implicitRole": false,
|
|
26
|
+
"permittedRoles": true,
|
|
27
|
+
"namingProhibited": true
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// https://html.spec.whatwg.org/multipage/form-elements.html#the-datalist-element
|
|
2
|
+
// https://www.w3.org/TR/html-aria/#el-datalist
|
|
3
|
+
// https://w3c.github.io/html-aria/#el-datalist
|
|
4
|
+
{
|
|
5
|
+
"contentModel": {
|
|
6
|
+
"contents": [
|
|
7
|
+
{
|
|
8
|
+
"choice": [
|
|
9
|
+
[
|
|
10
|
+
{
|
|
11
|
+
"zeroOrMore": "#phrasing"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
[
|
|
15
|
+
{
|
|
16
|
+
"zeroOrMore": ["option", "#script-supporting"]
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"globalAttrs": {
|
|
24
|
+
"#HTMLGlobalAttrs": true,
|
|
25
|
+
"#GlobalEventAttrs": true,
|
|
26
|
+
"#DocumentElementEventAttrs": true,
|
|
27
|
+
"#ARIAAttrs": true
|
|
28
|
+
},
|
|
29
|
+
"attributes": {},
|
|
30
|
+
"aria": {
|
|
31
|
+
"implicitRole": "listbox",
|
|
32
|
+
"permittedRoles": false,
|
|
33
|
+
"properties": {
|
|
34
|
+
"global": true,
|
|
35
|
+
"role": "listbox"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
package/src/spec.dd.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// https://html.spec.whatwg.org/multipage/grouping-content.html#the-dd-element
|
|
2
|
+
// https://www.w3.org/TR/html-aria/#el-dd
|
|
3
|
+
// https://w3c.github.io/html-aria/#el-dd
|
|
4
|
+
{
|
|
5
|
+
"contentModel": {
|
|
6
|
+
"contents": [
|
|
7
|
+
{
|
|
8
|
+
"zeroOrMore": "#flow"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"globalAttrs": {
|
|
13
|
+
"#HTMLGlobalAttrs": true,
|
|
14
|
+
"#GlobalEventAttrs": true,
|
|
15
|
+
"#DocumentElementEventAttrs": true,
|
|
16
|
+
"#ARIAAttrs": true
|
|
17
|
+
},
|
|
18
|
+
"attributes": {},
|
|
19
|
+
"aria": {
|
|
20
|
+
"implicitRole": false,
|
|
21
|
+
"permittedRoles": false,
|
|
22
|
+
"properties": {
|
|
23
|
+
"global": true,
|
|
24
|
+
"role": "definition"
|
|
25
|
+
},
|
|
26
|
+
"1.1": {
|
|
27
|
+
"implicitRole": "definition"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// https://html.spec.whatwg.org/multipage/edits.html#the-del-element
|
|
2
|
+
// https://www.w3.org/TR/html-aria/#el-del
|
|
3
|
+
// https://w3c.github.io/html-aria/#el-del
|
|
4
|
+
{
|
|
5
|
+
"contentModel": {
|
|
6
|
+
"contents": [
|
|
7
|
+
{
|
|
8
|
+
"zeroOrMore": "#transparent"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"globalAttrs": {
|
|
13
|
+
"#HTMLGlobalAttrs": true,
|
|
14
|
+
"#GlobalEventAttrs": true,
|
|
15
|
+
"#DocumentElementEventAttrs": true,
|
|
16
|
+
"#ARIAAttrs": true
|
|
17
|
+
},
|
|
18
|
+
"attributes": {
|
|
19
|
+
// https://html.spec.whatwg.org/multipage/edits.html#attr-mod-cite
|
|
20
|
+
"cite": {
|
|
21
|
+
"type": "URL"
|
|
22
|
+
},
|
|
23
|
+
// https://html.spec.whatwg.org/multipage/edits.html#attr-mod-datetime
|
|
24
|
+
"datetime": {
|
|
25
|
+
"type": "DateTime"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"aria": {
|
|
29
|
+
"implicitRole": "deletion",
|
|
30
|
+
"permittedRoles": true,
|
|
31
|
+
"namingProhibited": true,
|
|
32
|
+
"1.1": {
|
|
33
|
+
"implicitRole": false
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// https://html.spec.whatwg.org/multipage/interactive-elements.html#the-details-element
|
|
2
|
+
// https://www.w3.org/TR/html-aria/#el-details
|
|
3
|
+
// https://w3c.github.io/html-aria/#el-details
|
|
4
|
+
{
|
|
5
|
+
"contentModel": {
|
|
6
|
+
"contents": [
|
|
7
|
+
{
|
|
8
|
+
"require": "summary"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"zeroOrMore": "#flow"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
"globalAttrs": {
|
|
16
|
+
"#HTMLGlobalAttrs": true,
|
|
17
|
+
"#GlobalEventAttrs": true,
|
|
18
|
+
"#DocumentElementEventAttrs": true,
|
|
19
|
+
"#ARIAAttrs": true
|
|
20
|
+
},
|
|
21
|
+
"attributes": {
|
|
22
|
+
// https://html.spec.whatwg.org/multipage/interactive-elements.html#attr-details-open
|
|
23
|
+
"open": {
|
|
24
|
+
"type": "Boolean"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"aria": {
|
|
28
|
+
"implicitRole": "group",
|
|
29
|
+
"permittedRoles": false,
|
|
30
|
+
"properties": {
|
|
31
|
+
"global": true,
|
|
32
|
+
"role": "group"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-dfn-element
|
|
2
|
+
// https://www.w3.org/TR/html-aria/#el-dfn
|
|
3
|
+
// https://w3c.github.io/html-aria/#el-dfn
|
|
4
|
+
{
|
|
5
|
+
"contentModel": {
|
|
6
|
+
"contents": [
|
|
7
|
+
{
|
|
8
|
+
"zeroOrMore": "#phrasing",
|
|
9
|
+
"notAllowedDescendants": ["dfn"]
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
"globalAttrs": {
|
|
14
|
+
"#HTMLGlobalAttrs": true,
|
|
15
|
+
"#GlobalEventAttrs": true,
|
|
16
|
+
"#DocumentElementEventAttrs": true,
|
|
17
|
+
"#ARIAAttrs": true
|
|
18
|
+
},
|
|
19
|
+
"attributes": {},
|
|
20
|
+
"aria": {
|
|
21
|
+
"implicitRole": "term",
|
|
22
|
+
"permittedRoles": true
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog
|
|
2
|
+
// https://www.w3.org/TR/html-aria/#el-dialog
|
|
3
|
+
// https://w3c.github.io/html-aria/#el-dialog
|
|
4
|
+
{
|
|
5
|
+
"contentModel": {
|
|
6
|
+
"contents": [
|
|
7
|
+
{
|
|
8
|
+
"zeroOrMore": "#flow"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"globalAttrs": {
|
|
13
|
+
"#HTMLGlobalAttrs": true,
|
|
14
|
+
"#GlobalEventAttrs": true,
|
|
15
|
+
"#DocumentElementEventAttrs": true,
|
|
16
|
+
"#ARIAAttrs": true
|
|
17
|
+
},
|
|
18
|
+
"attributes": {
|
|
19
|
+
// https://html.spec.whatwg.org/multipage/interactive-elements.html#the-dialog-element:attr-tabindex
|
|
20
|
+
"tabindex": {
|
|
21
|
+
"noUse": true
|
|
22
|
+
},
|
|
23
|
+
// https://html.spec.whatwg.org/multipage/interactive-elements.html#attr-dialog-open
|
|
24
|
+
"open": {
|
|
25
|
+
"type": "Boolean"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"aria": {
|
|
29
|
+
"implicitRole": "dialog",
|
|
30
|
+
"permittedRoles": ["alertdialog"],
|
|
31
|
+
"properties": {
|
|
32
|
+
"global": true,
|
|
33
|
+
"role": "dialog"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|