Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@markuplint/html-spec

Package Overview
Dependencies
Maintainers
1
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@markuplint/html-spec - npm Package Compare versions

Comparing version 3.0.0-alpha.66 to 3.0.0-rc.0

14

package.json
{
"name": "@markuplint/html-spec",
"version": "3.0.0-alpha.66+6cde1134",
"version": "3.0.0-rc.0",
"description": "A specification of HTML Living Standard for markuplint",

@@ -19,8 +19,8 @@ "repository": "git@github.com:markuplint/markuplint.git",

"@types/cheerio": "^0.22.31",
"@types/cli-progress": "^3.9.2",
"@types/cli-progress": "^3.11.0",
"@types/node-fetch": "2",
"ajv": "^8.11.0",
"cheerio": "^1.0.0-rc.10",
"cli-progress": "^3.10.0",
"fast-xml-parser": "^4.0.7",
"cheerio": "^1.0.0-rc.12",
"cli-progress": "^3.11.2",
"fast-xml-parser": "^4.0.10",
"node-fetch": "2",

@@ -30,5 +30,5 @@ "strip-json-comments": "3"

"dependencies": {
"@markuplint/ml-spec": "3.0.0-alpha.82+6cde1134"
"@markuplint/ml-spec": "3.0.0-rc.0"
},
"gitHead": "6cde113402758a8fdbd6a0fcf98e78efd2cdb778"
"gitHead": "f2cf8f0da3900539568e2e8345bf201d41196c1f"
}
# @markuplint/html-spec
[![npm version](https://badge.fury.io/js/%40markuplint%2Fhtml-spec.svg)](https://www.npmjs.com/package/@markuplint/html-spec)
[![Build Status](https://travis-ci.org/markuplint/markuplint.svg?branch=main)](https://travis-ci.org/markuplint/markuplint)
[![Coverage Status](https://coveralls.io/repos/github/markuplint/markuplint/badge.svg?branch=main)](https://coveralls.io/github/markuplint/markuplint?branch=main)
## Install
[`markuplint`](https://www.npmjs.com/package/markuplint) package includes this package.
<details>
<summary>If you are installing purposely, how below:</summary>
```sh

@@ -14,1 +17,3 @@ $ npm install @markuplint/html-spec

```
</details>

@@ -162,3 +162,3 @@ {

"class": {
"type": "<class-list>"
"type": "Any"
},

@@ -990,3 +990,3 @@ // https://html.spec.whatwg.org/multipage/dom.html#the-id-attribute

"class": {
"type": "<class-list>"
"type": "Any"
},

@@ -993,0 +993,0 @@ // https://svgwg.org/svg2-draft/styling.html#StyleAttribute

@@ -103,3 +103,4 @@ {

"#sectioning": ["article", "aside", "nav", "section"],
"#heading": ["h1", "h2", "h3", "h4", "h5", "h6", "hgroup"],
// https://html.spec.whatwg.org/multipage/dom.html#heading-content
"#heading": ["h1", "h2", "h3", "h4", "h5", "h6", "hgroup:has(h1,h2,h3,h4,h5,h6)"],
"#phrasing": [

@@ -189,2 +190,80 @@ "a",

],
// https://html.spec.whatwg.org/multipage/dom.html#palpable-content
"#palpable": [
"a",
"abbr",
"address",
"article",
"aside",
"audio[controls]",
"b",
"bdi",
"bdo",
"blockquote",
"button",
"canvas",
"cite",
"code",
"data",
"details",
"dfn",
"div",
"dl:has(>:is(dt+dd))",
"em",
"embed",
"fieldset",
"figure",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"i",
"iframe",
"img",
"input:not([type='hidden' i])",
"ins",
"kbd",
"label",
"main",
"map",
"mark",
"math",
"menu:has(>li)",
"meter",
"nav",
"object",
"ol:has(>li)",
"output",
"p",
"pre",
"progress",
"q",
"ruby",
"s",
"samp",
"section",
"select",
"small",
"span",
"strong",
"sub",
"sup ",
"svg",
"table",
"text",
"area",
"time",
"u",
"ul:has(>li)",
"var",
"video",
"#custom",
"#text"
],
"#script-supporting": ["script", "template"],

@@ -191,0 +270,0 @@ "#SVGAnimation": [

@@ -9,4 +9,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-a-element

{
"zeroOrMore": "#transparent",
"notAllowedDescendants": ["#interactive"]
"transparent": ":not(:model(interactive), a, [tabindex], :has(:model(interactive), a, [tabindex]))"
}

@@ -40,3 +39,3 @@ ]

"role": true,
"whithout": [
"without": [
{

@@ -43,0 +42,0 @@ "type": "not-recommended",

@@ -9,3 +9,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-abbr-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -12,0 +12,0 @@ ]

@@ -9,4 +9,3 @@ // https://html.spec.whatwg.org/multipage/sections.html#the-address-element

{
"zeroOrMore": "#flow",
"notAllowedDescendants": ["address", "#heading", "#sectioning", "header", "footer"]
"oneOrMore": ":model(flow):not(address, :model(heading), :model(sectioning), header, foooter, :has(address, :model(heading), :model(sectioning), header, foooter))"
}

@@ -13,0 +12,0 @@ ]

@@ -9,3 +9,3 @@ // https://html.spec.whatwg.org/multipage/sections.html#the-article-element

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -12,0 +12,0 @@ ]

@@ -9,3 +9,3 @@ // https://html.spec.whatwg.org/multipage/sections.html#the-aside-element

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -12,0 +12,0 @@ ]

@@ -14,4 +14,3 @@ // https://html.spec.whatwg.org/multipage/media.html#the-audio-element

{
"zeroOrMore": "#transparent",
"notAllowedDescendants": ["audio", "video"]
"transparent": ":not(audio, video, :has(audio, video))"
}

@@ -27,4 +26,3 @@ ],

{
"zeroOrMore": "#transparent",
"notAllowedDescendants": ["audio", "video"]
"transparent": ":not(audio, video, :has(audio, video))"
}

@@ -31,0 +29,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-b-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-bdi-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-bdo-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/grouping-content.html#the-blockquote-element

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/sections.html#the-body-element

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-br-element

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,4 +8,3 @@ // https://html.spec.whatwg.org/multipage/form-elements.html#the-button-element

{
"zeroOrMore": "#phrasing",
"notAllowedDescendants": ["#interactive"]
"oneOrMore": ":model(phrasing):not(:model(interactive), :has(:model(interactive)))"
}

@@ -12,0 +11,0 @@ ]

@@ -8,4 +8,3 @@ // https://html.spec.whatwg.org/multipage/canvas.html#the-canvas-element

{
"zeroOrMore": "#phrasing",
"notAllowedDescendants": ["#interactive"]
"transparent": ":not(:model(interactive), :has(:model(interactive)))"
}

@@ -12,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/tables.html#the-caption-element

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-cite-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-code-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-data-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -11,3 +11,3 @@ // https://html.spec.whatwg.org/multipage/form-elements.html#the-datalist-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -17,3 +17,3 @@ ],

{
"zeroOrMore": ["option", "#script-supporting"]
"zeroOrMore": ["option", ":model(script-supporting)"]
}

@@ -20,0 +20,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/grouping-content.html#the-dd-element

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/edits.html#the-del-element

{
"zeroOrMore": "#transparent"
"transparent": "*"
}

@@ -11,0 +11,0 @@ ]

@@ -11,3 +11,3 @@ // https://html.spec.whatwg.org/multipage/interactive-elements.html#the-details-element

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -14,0 +14,0 @@ ]

@@ -8,4 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-dfn-element

{
"zeroOrMore": "#phrasing",
"notAllowedDescendants": ["dfn"]
"oneOrMore": ":model(phrasing):not(dfn, :has(dfn))"
}

@@ -12,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/grouping-content.html#the-div-element

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -17,3 +17,3 @@ ],

{
"zeroOrMore": "#script-supporting"
"zeroOrMore": ":model(script-supporting)"
},

@@ -24,3 +24,3 @@ {

{
"zeroOrMore": "#script-supporting"
"zeroOrMore": ":model(script-supporting)"
},

@@ -31,3 +31,3 @@ {

{
"zeroOrMore": "#script-supporting"
"zeroOrMore": ":model(script-supporting)"
}

@@ -34,0 +34,0 @@ ]

@@ -13,3 +13,3 @@ // https://html.spec.whatwg.org/multipage/grouping-content.html#the-dl-element

{
"zeroOrMore": "#script-supporting"
"zeroOrMore": ":model(script-supporting)"
},

@@ -20,3 +20,3 @@ {

{
"zeroOrMore": "#script-supporting"
"zeroOrMore": ":model(script-supporting)"
},

@@ -27,3 +27,3 @@ {

{
"zeroOrMore": "#script-supporting"
"zeroOrMore": ":model(script-supporting)"
}

@@ -35,3 +35,9 @@ ]

{
"oneOrMore": ["div", "#script-supporting"]
"zeroOrMore": ":model(script-supporting)"
},
{
"oneOrMore": "div"
},
{
"zeroOrMore": ":model(script-supporting)"
}

@@ -38,0 +44,0 @@ ]

@@ -8,4 +8,3 @@ // https://html.spec.whatwg.org/multipage/grouping-content.html#the-dt-element

{
"zeroOrMore": "#flow",
"notAllowedDescendants": ["header", "footer", "#sectioning", "#heading"]
"oneOrMore": ":model(flow):not(header, footer, :model(sectioning), :model(heading), :has(header, footer, :model(sectioning), :model(heading)))"
}

@@ -12,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-em-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -11,3 +11,3 @@ // https://html.spec.whatwg.org/multipage/form-elements.html#the-fieldset-element

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -14,0 +14,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/grouping-content.html#the-figcaption-element

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,6 +8,9 @@ // https://html.spec.whatwg.org/multipage/grouping-content.html#the-figure-element

{
"interleave": [
"choice": [
[
{
"optional": "figcaption"
"require": "figcaption"
},
{
"oneOrMore": ":model(flow)"
}

@@ -17,4 +20,12 @@ ],

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
},
{
"require": "figcaption"
}
],
[
{
"oneOrMore": ":model(flow)"
}
]

@@ -21,0 +32,0 @@ ]

@@ -8,4 +8,3 @@ // https://html.spec.whatwg.org/multipage/sections.html#the-footer-element

{
"zeroOrMore": "#flow",
"notAllowedDescendants": ["header", "footer"]
"oneOrMore": ":model(flow):not(header, footer, :has(header, footer))"
}

@@ -12,0 +11,0 @@ ]

@@ -8,4 +8,3 @@ // https://html.spec.whatwg.org/multipage/forms.html#the-form-element

{
"zeroOrMore": "#flow",
"notAllowedDescendants": ["form"]
"oneOrMore": ":model(flow):not(form, :has(form))"
}

@@ -12,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,4 +8,3 @@ // https://html.spec.whatwg.org/multipage/semantics.html#the-head-element

{
"zeroOrMore": "#metadata",
"ignore": "title"
"zeroOrMore": ":model(metadata):not(title)"
},

@@ -16,4 +15,3 @@ {

{
"zeroOrMore": "#metadata",
"ignore": "title"
"zeroOrMore": ":model(metadata):not(title)"
}

@@ -20,0 +18,0 @@ ]

@@ -8,4 +8,3 @@ // https://html.spec.whatwg.org/multipage/sections.html#the-header-element

{
"zeroOrMore": "#flow",
"notAllowedDescendants": ["header", "footer"]
"oneOrMore": ":model(flow):not(header, footer, :has(header, footer))"
}

@@ -12,0 +11,0 @@ ]

@@ -8,13 +8,21 @@ // https://html.spec.whatwg.org/multipage/sections.html#the-hgroup-element

{
"oneOrMore": [
{
"zeroOrMore": "#script-supporting"
},
{
"oneOrMore": ["h1", "h2", "h3", "h4", "h5", "h6"]
},
{
"zeroOrMore": "#script-supporting"
}
]
"zeroOrMore": ":model(script-supporting)"
},
{
"zeroOrMore": "p"
},
{
"zeroOrMore": ":model(script-supporting)"
},
{
"require": ["h1", "h2", "h3", "h4", "h5", "h6"]
},
{
"zeroOrMore": ":model(script-supporting)"
},
{
"zeroOrMore": "p"
},
{
"zeroOrMore": ":model(script-supporting)"
}

@@ -21,0 +29,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-i-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/iframe-embed-object.html#the-iframe-element

{
"zeroOrMore": "#transparent"
"transparent": "*"
}

@@ -11,0 +11,0 @@ ]

@@ -334,3 +334,3 @@ // https://html.spec.whatwg.org/multipage/input.html#the-input-element

"role": true,
"whithout": [
"without": [
{

@@ -357,3 +357,3 @@ // Authors MUST NOT use the aria-checked attribute on input type=checkbox elements.

"role": true,
"whithout": [
"without": [
{

@@ -448,3 +448,3 @@ // Authors MUST NOT use the aria-checked attribute on input type=checkbox elements.

"role": true,
"whithout": [
"without": [
{

@@ -470,3 +470,3 @@ // Authors MUST NOT use the aria-checked attribute on input type=radio elements.

// Authors SHOULD NOT use the aria-valuemax or aria-valuemin attributes on input type=range.
"whithout": [
"without": [
{

@@ -522,3 +522,3 @@ "type": "should-not",

// Authors SHOULD NOT use the aria-haspopup attribute on the indicated inputs with a list attribute.
"whithout": [
"without": [
{

@@ -585,3 +585,3 @@ "type": "should-not",

"role": true,
"whithout": [
"without": [
{

@@ -607,3 +607,3 @@ "type": "should-not",

"role": true,
"whithout": [
"without": [
{

@@ -693,3 +693,3 @@ "type": "should-not",

// Authors SHOULD NOT use the aria-checked attribute on input type=radio elements.
"whithout": [
"without": [
{

@@ -714,3 +714,3 @@ "type": "should-not",

// Authors SHOULD NOT use the aria-valuemax or aria-valuemin attributes on input type=range.
"whithout": [
"without": [
{

@@ -766,3 +766,3 @@ "type": "should-not",

// Authors SHOULD NOT use the aria-haspopup attribute on the indicated inputs with a list attribute.
"whithout": [
"without": [
{

@@ -769,0 +769,0 @@ "type": "should-not",

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/edits.html#the-ins-element

{
"zeroOrMore": "#transparent"
"transparent": "*"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-kbd-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,4 +8,3 @@ // https://html.spec.whatwg.org/multipage/forms.html#the-label-element

{
"zeroOrMore": "#phrasing",
"notAllowedDescendants": ["label"]
"oneOrMore": ":model(phrasing):not(label, :has(label))"
}

@@ -12,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/form-elements.html#the-legend-element

{
"zeroOrMore": ["#phrasing", "#heading"]
"zeroOrMore": [":model(phrasing)", ":model(heading)"]
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/grouping-content.html#the-li-element

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/grouping-content.html#the-main-element

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/image-maps.html#attr-map-name

{
"zeroOrMore": "#transparent"
"transparent": "*"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-mark-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/grouping-content.html#the-menu-element

{
"zeroOrMore": ["li", "#script-supporting"]
"zeroOrMore": ["li", ":model(script-supporting)"]
}

@@ -11,0 +11,0 @@ ]

@@ -8,4 +8,3 @@ // https://html.spec.whatwg.org/multipage/form-elements.html#the-meter-element

{
"zeroOrMore": "#phrasing",
"notAllowedDescendants": ["meter"]
"oneOrMore": ":model(phrasing):not(meter, :has(meter))"
}

@@ -52,3 +51,3 @@ ]

// Authors SHOULD NOT use the aria-valuemax or aria-valuemin attributes on meter elements.
"whithout": [
"without": [
{

@@ -55,0 +54,0 @@ "type": "should-not",

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/sections.html#the-nav-element

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/scripting.html#the-noscript-element

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/iframe-embed-object.html#the-object-element

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/grouping-content.html#the-ol-element

{
"zeroOrMore": ["li", "#script-supporting"]
"zeroOrMore": ["li", ":model(script-supporting)"]
}

@@ -11,0 +11,0 @@ ]

@@ -62,3 +62,3 @@ // https://html.spec.whatwg.org/multipage/form-elements.html#the-option-element

// Authors SHOULD NOT use the aria-selected attribute on the option element.
"whithout": [
"without": [
{

@@ -65,0 +65,0 @@ "type": "should-not",

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/form-elements.html#the-output-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/grouping-content.html#the-p-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/embedded-content.html#the-picture-element

{
"zeroOrMore": "#script-supporting"
"zeroOrMore": ":model(script-supporting)"
},

@@ -15,3 +15,3 @@ {

{
"zeroOrMore": "#script-supporting"
"zeroOrMore": ":model(script-supporting)"
},

@@ -22,3 +22,3 @@ {

{
"zeroOrMore": "#script-supporting"
"zeroOrMore": ":model(script-supporting)"
}

@@ -25,0 +25,0 @@ ]

@@ -6,3 +6,3 @@ // https://wicg.github.io/portals/

{
"zeroOrMore": "#transparent"
"transparent": "*"
}

@@ -9,0 +9,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/grouping-content.html#the-pre-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,4 +8,3 @@ // https://html.spec.whatwg.org/multipage/form-elements.html#the-progress-element

{
"zeroOrMore": "#phrasing",
"notAllowedDescendants": ["progress"]
"oneOrMore": ":model(phrasing):not(progress, :has(progress))"
}

@@ -38,3 +37,3 @@ ]

// Authors SHOULD NOT use the aria-valuemax attribute on progress elements.
"whithout": [
"without": [
{

@@ -41,0 +40,0 @@ "type": "should-not",

@@ -8,4 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-q-element

{
"zeroOrMore": "#phrasing",
"notAllowedDescendants": ["progress"]
"oneOrMore": ":model(phrasing)"
}

@@ -12,0 +11,0 @@ ]

@@ -8,4 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-rp-element

{
"zeroOrMore": "#phrasing",
"notAllowedDescendants": ["progress"]
"oneOrMore": "#text"
}

@@ -12,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-rt-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -10,4 +10,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-ruby-element

{
"require": "#phrasing",
"notAllowedDescendants": ["ruby"]
"require": ":model(phrasing):not(ruby, :has(ruby))"
},

@@ -14,0 +13,0 @@ {

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-s-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-samp-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -34,3 +34,3 @@ // https://html.spec.whatwg.org/multipage/scripting.html#the-script-element

{
"enum": ["module"],
"enum": ["module", "importmap"],
"caseInsensitive": true

@@ -37,0 +37,0 @@ }

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/sections.html#the-section-element

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -11,0 +11,0 @@ ]

@@ -40,3 +40,3 @@ // https://html.spec.whatwg.org/multipage/form-elements.html#the-select-element

// Authors SHOULD NOT use the aria-multiselectable attribute on a select element.
"whithout": [
"without": [
{

@@ -57,3 +57,3 @@ "type": "should-not",

// Authors SHOULD NOT use the aria-multiselectable attribute on a select element.
"whithout": [
"without": [
{

@@ -60,0 +60,0 @@ "type": "should-not",

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/scripting.html#the-slot-element

{
"zeroOrMore": "#transparent"
"transparent": "*"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-samp-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-span-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-strong-element

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-sub-and-sup-elements

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -11,3 +11,3 @@ // https://html.spec.whatwg.org/multipage/interactive-elements.html#the-summary-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -17,3 +17,3 @@ ],

{
"require": "#heading"
"require": ":model(heading)"
}

@@ -20,0 +20,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-sub-and-sup-elements

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -10,3 +10,3 @@ // https://svgwg.org/svg2-draft/linking.html#elementdef-a

{
"zeroOrMore": "#transparent"
"transparent": "*"
}

@@ -18,4 +18,3 @@ ]

{
"zeroOrMore": ["#SVGDescriptive", "#transparent"],
"ignore": "svg|a"
"transparent": "*, :model(SVGDescriptive):not(svg|a, :has(svg|a))"
}

@@ -116,3 +115,3 @@ ]

"conditions": {
"[href], [xlink:href]": {
"[href], [xlink|href]": {
"implicitRole": "link"

@@ -119,0 +118,0 @@ }

@@ -7,3 +7,3 @@ // https://svgwg.org/specs/animations/#AnimateElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|script"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|script"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,6 +7,6 @@ // https://svgwg.org/specs/animations/#AnimateMotionElement

{
"interleave": [
"choice": [
[
{
"oneOrMore": ["#SVGDescriptive", "svg|script"]
"oneOrMore": [":model(SVGDescriptive)", "svg|script"]
},

@@ -22,3 +22,3 @@ {

{
"oneOrMore": ["#SVGDescriptive", "svg|script"]
"oneOrMore": [":model(SVGDescriptive)", "svg|script"]
}

@@ -25,0 +25,0 @@ ]

@@ -7,3 +7,3 @@ // https://svgwg.org/specs/animations/#AnimateTransformElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|script"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|script"]
}

@@ -10,0 +10,0 @@ ]

@@ -8,5 +8,5 @@ // https://svgwg.org/svg2-draft/shapes.html#CircleElement

"zeroOrMore": [
"#SVGAnimation",
"#SVGDescriptive",
"#SVGPaintServer",
":model(SVGAnimation)",
":model(SVGDescriptive)",
":model(SVGPaintServer)",
"svg|clipPath",

@@ -13,0 +13,0 @@ "svg|marker",

@@ -7,3 +7,10 @@ // https://drafts.fxtf.org/css-masking/#ClipPathElement

{
"zeroOrMore": ["#SVGAnimation", "#SVGDescriptive", "#SVGShape", "svg|text", "svg|use", "svg|script"]
"zeroOrMore": [
":model(SVGAnimation)",
":model(SVGDescriptive)",
":model(SVGShape)",
"svg|text",
"svg|use",
"svg|script"
]
}

@@ -10,0 +17,0 @@ ]

@@ -8,7 +8,7 @@ // https://svgwg.org/svg2-draft/struct.html#DefsElement

"zeroOrMore": [
"#SVGAnimation",
"#SVGDescriptive",
"#SVGPaintServer",
"#SVGShape",
"#SVGStructural",
":model(SVGAnimation)",
":model(SVGDescriptive)",
":model(SVGPaintServer)",
":model(SVGShape)",
":model(SVGStructural)",
"svg|a",

@@ -15,0 +15,0 @@ "svg|clipPath",

@@ -7,3 +7,3 @@ // https://svgwg.org/svg2-draft/struct.html#DescElement

{
"require": ["#SVGOtherXMLNamespace", "#text"]
"require": [":model(SVGDescriptive)", ":model(SVGNeverRendered)", "#text"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://svgwg.org/specs/animations/#DiscardElement

{
"require": ["#SVGDescriptive", "svg|script"]
"require": [":model(SVGDescriptive)", "svg|script"]
}

@@ -10,0 +10,0 @@ ]

@@ -8,5 +8,5 @@ // https://svgwg.org/svg2-draft/shapes.html#EllipseElement

"zeroOrMore": [
"#SVGAnimation",
"#SVGDescriptive",
"#SVGPaintServer",
":model(SVGAnimation)",
":model(SVGDescriptive)",
":model(SVGPaintServer)",
"svg|clipPath",

@@ -13,0 +13,0 @@ "svg|marker",

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#feBlendElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#feColorMatrixElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -8,3 +8,3 @@ // https://drafts.fxtf.org/filter-effects/#feComponentTransferElement

"zeroOrMore": [
"#SVGDescriptive",
":model(SVGDescriptive)",
"svg|feFuncA",

@@ -11,0 +11,0 @@ "svg|feFuncR",

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#feCompositeElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#feConvolveMatrixElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,9 +7,9 @@ // https://drafts.fxtf.org/filter-effects/#feDiffuseLightingElement

{
"interleave": [
"choice": [
[
{
"zeroOrMore": ["#SVGDescriptive", "svg|script"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|script"]
},
{
"require": "#SVGLightSource"
"require": ":model(SVGLightSource)"
}

@@ -19,6 +19,6 @@ ],

{
"require": "#SVGLightSource"
"require": ":model(SVGLightSource)"
},
{
"zeroOrMore": ["#SVGDescriptive", "svg|script"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|script"]
}

@@ -25,0 +25,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#feDisplacementMapElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#feDistantLightElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#feDropShadowElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#feFloodElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#feFuncAElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#elementdef-fefuncb

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#elementdef-fefuncg

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#elementdef-fefuncr

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#feGaussianBlurElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#feImageElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|animateTransform", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|animateTransform", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#feMergeElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|feMergeNode", "svg|script"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|feMergeNode", "svg|script"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#feMergeNodeElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#feMorphologyElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#feOffsetElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#fePointLightElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,9 +7,9 @@ // https://drafts.fxtf.org/filter-effects/#feSpecularLightingElement

{
"interleave": [
"choice": [
[
{
"zeroOrMore": ["#SVGDescriptive", "svg|script"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|script"]
},
{
"require": "#SVGLightSource"
"require": ":model(SVGLightSource)"
}

@@ -19,6 +19,6 @@ ],

{
"require": "#SVGLightSource"
"require": ":model(SVGLightSource)"
},
{
"zeroOrMore": ["#SVGDescriptive", "svg|script"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|script"]
}

@@ -25,0 +25,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#feSpotLightElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#feTileElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#feTurbulenceElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://drafts.fxtf.org/filter-effects/#FilterElement

{
"zeroOrMore": ["#SVGDescriptive", "#SVGFilterPrimitive", "svg|animate", "svg|script", "svg|set"]
"zeroOrMore": [":model(SVGDescriptive)", "#SVGFilterPrimitive", "svg|animate", "svg|script", "svg|set"]
}

@@ -10,0 +10,0 @@ ]

@@ -8,7 +8,7 @@ // https://svgwg.org/svg2-draft/struct.html#GElement

"zeroOrMore": [
"#SVGAnimation",
"#SVGDescriptive",
"#SVGPaintServer",
"#SVGShape",
"#SVGStructural",
":model(SVGAnimation)",
":model(SVGDescriptive)",
":model(SVGPaintServer)",
":model(SVGShape)",
":model(SVGStructural)",
"svg|a",

@@ -15,0 +15,0 @@ "svg|clipPath",

@@ -8,4 +8,4 @@ // https://svgwg.org/svg2-draft/embedded.html#ImageElement

"zeroOrMore": [
"#SVGAnimation",
"#SVGDescriptive",
":model(SVGAnimation)",
":model(SVGDescriptive)",
"svg|clipPath",

@@ -12,0 +12,0 @@ "svg|mask",

@@ -8,5 +8,5 @@ // https://svgwg.org/svg2-draft/shapes.html#LineElement

"zeroOrMore": [
"#SVGAnimation",
"#SVGDescriptive",
"#SVGPaintServer",
":model(SVGAnimation)",
":model(SVGDescriptive)",
":model(SVGPaintServer)",
"svg|clipPath",

@@ -13,0 +13,0 @@ "svg|marker",

@@ -8,3 +8,3 @@ // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElement

"zeroOrMore": [
"#SVGDescriptive",
":model(SVGDescriptive)",
"svg|animate",

@@ -11,0 +11,0 @@ "svg|animateTransform",

@@ -8,7 +8,7 @@ // https://svgwg.org/svg2-draft/painting.html#MarkerElement

"zeroOrMore": [
"#SVGAnimation",
"#SVGDescriptive",
"#SVGPaintServer",
"#SVGShape",
"#SVGStructural",
":model(SVGAnimation)",
":model(SVGDescriptive)",
":model(SVGPaintServer)",
":model(SVGShape)",
":model(SVGStructural)",
"svg|a",

@@ -15,0 +15,0 @@ "svg|clipPath",

@@ -8,7 +8,7 @@ // https://drafts.fxtf.org/css-masking/#MaskElement

"zeroOrMore": [
"#SVGAnimation",
"#SVGDescriptive",
"#SVGShape",
"#SVGStructural",
"#SVGGradient",
":model(SVGAnimation)",
":model(SVGDescriptive)",
":model(SVGShape)",
":model(SVGStructural)",
":model(SVGGradient)",
"svg|a",

@@ -15,0 +15,0 @@ "svg|altGlyphDef",

@@ -7,3 +7,3 @@ // https://svgwg.org/svg2-draft/struct.html#MetadataElement

{
"zeroOrMore": ["#SVGOtherXMLNamespace", "#text"]
"zeroOrMore": [":model(SVGDescriptive)", ":model(SVGNeverRendered)", "#text"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://svgwg.org/specs/animations/#MPathElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|script"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|script"]
}

@@ -10,0 +10,0 @@ ]

@@ -8,5 +8,5 @@ // https://svgwg.org/svg2-draft/paths.html#PathElement

"zeroOrMore": [
"#SVGAnimation",
"#SVGDescriptive",
"#SVGPaintServer",
":model(SVGAnimation)",
":model(SVGDescriptive)",
":model(SVGPaintServer)",
"svg|clipPath",

@@ -13,0 +13,0 @@ "svg|marker",

@@ -8,7 +8,7 @@ // https://svgwg.org/svg2-draft/pservers.html#Patterns

"zeroOrMore": [
"#SVGAnimation",
"#SVGDescriptive",
"#SVGPaintServer",
"#SVGShape",
"#SVGStructural",
":model(SVGAnimation)",
":model(SVGDescriptive)",
":model(SVGPaintServer)",
":model(SVGShape)",
":model(SVGStructural)",
"svg|a",

@@ -15,0 +15,0 @@ "svg|clipPath",

@@ -8,5 +8,5 @@ // https://svgwg.org/svg2-draft/shapes.html#PolygonElement

"zeroOrMore": [
"#SVGAnimation",
"#SVGDescriptive",
"#SVGPaintServer",
":model(SVGAnimation)",
":model(SVGDescriptive)",
":model(SVGPaintServer)",
"svg|clipPath",

@@ -13,0 +13,0 @@ "svg|marker",

@@ -8,5 +8,5 @@ // https://svgwg.org/svg2-draft/shapes.html#PolylineElement

"zeroOrMore": [
"#SVGAnimation",
"#SVGDescriptive",
"#SVGPaintServer",
":model(SVGAnimation)",
":model(SVGDescriptive)",
":model(SVGPaintServer)",
"svg|clipPath",

@@ -13,0 +13,0 @@ "svg|marker",

@@ -8,3 +8,3 @@ // https://svgwg.org/svg2-draft/pservers.html#RadialGradientElement

"zeroOrMore": [
"#SVGDescriptive",
":model(SVGDescriptive)",
"svg|animate",

@@ -11,0 +11,0 @@ "svg|animateTransform",

@@ -8,5 +8,5 @@ // https://svgwg.org/svg2-draft/shapes.html#RectElement

"zeroOrMore": [
"#SVGAnimation",
"#SVGDescriptive",
"#SVGPaintServer",
":model(SVGAnimation)",
":model(SVGDescriptive)",
":model(SVGPaintServer)",
"svg|clipPath",

@@ -13,0 +13,0 @@ "svg|marker",

@@ -7,3 +7,3 @@ // https://svgwg.org/svg2-draft/interact.html#ScriptElement

{
"zeroOrMore": ["#SVGOtherXMLNamespace", "#text"]
"zeroOrMore": [":model(SVGNeverRendered)", ":model(SVGStructurallyExternal)", "#text"]
}

@@ -10,0 +10,0 @@ ]

@@ -7,3 +7,3 @@ // https://svgwg.org/specs/animations/#SetElement

{
"zeroOrMore": ["#SVGDescriptive", "svg|script"]
"zeroOrMore": [":model(SVGDescriptive)", "svg|script"]
}

@@ -10,0 +10,0 @@ ]

@@ -8,7 +8,7 @@ // https://svgwg.org/svg2-draft/struct.html#SVGElement

"zeroOrMore": [
"#SVGAnimation",
"#SVGDescriptive",
"#SVGPaintServer",
"#SVGShape",
"#SVGStructural",
":model(SVGAnimation)",
":model(SVGDescriptive)",
":model(SVGPaintServer)",
":model(SVGShape)",
":model(SVGStructural)",
"svg|a",

@@ -15,0 +15,0 @@ "svg|clipPath",

@@ -8,4 +8,4 @@ // https://svgwg.org/svg2-draft/struct.html#SwitchElement

"zeroOrMore": [
"#SVGAnimation",
"#SVGShape",
":model(SVGAnimation)",
":model(SVGShape)",
"svg|a",

@@ -12,0 +12,0 @@ "svg|foreignObject",

@@ -8,7 +8,7 @@ // https://svgwg.org/svg2-draft/struct.html#SymbolElement

"zeroOrMore": [
"#SVGAnimation",
"#SVGDescriptive",
"#SVGPaintServer",
"#SVGShape",
"#SVGStructural",
":model(SVGAnimation)",
":model(SVGDescriptive)",
":model(SVGPaintServer)",
":model(SVGShape)",
":model(SVGStructural)",
"svg|a",

@@ -15,0 +15,0 @@ "svg|clipPath",

@@ -9,6 +9,6 @@ // https://svgwg.org/svg2-draft/text.html#TextElement

"#text",
"#SVGAnimation",
"#SVGDescriptive",
"#SVGPaintServer",
"#SVGTextContentChild",
":model(SVGAnimation)",
":model(SVGDescriptive)",
":model(SVGPaintServer)",
":model(SVGTextContentChild)",
"svg|a",

@@ -15,0 +15,0 @@ "svg|clipPath",

@@ -9,4 +9,4 @@ // https://svgwg.org/svg2-draft/text.html#TextPathElement

"#text",
"#SVGDescriptive",
"#SVGPaintServer",
":model(SVGDescriptive)",
":model(SVGPaintServer)",
"svg|a",

@@ -13,0 +13,0 @@ "svg|animate",

@@ -7,3 +7,3 @@ // https://svgwg.org/svg2-draft/struct.html#TitleElement

{
"zeroOrMore": ["#SVGOtherXMLNamespace", "#text"]
"zeroOrMore": [":model(SVGDescriptive)", ":model(SVGNeverRendered)", "#text"]
}

@@ -10,0 +10,0 @@ ]

@@ -8,4 +8,4 @@ // https://svgwg.org/svg2-draft/text.html#elementdef-tspan

"zeroOrMore": [
"#SVGDescriptive",
"#SVGPaintServer",
":model(SVGDescriptive)",
":model(SVGPaintServer)",
"svg|a",

@@ -12,0 +12,0 @@ "svg|animate",

@@ -8,4 +8,4 @@ // https://svgwg.org/svg2-draft/struct.html#UseElement

"zeroOrMore": [
"#SVGAnimation",
"#SVGDescriptive",
":model(SVGAnimation)",
":model(SVGDescriptive)",
"svg|clipPath",

@@ -12,0 +12,0 @@ "svg|mask",

@@ -7,3 +7,3 @@ // https://svgwg.org/svg2-draft/linking.html#ViewElement

{
"zeroOrMore": ["#SVGAnimation", "#SVGDescriptive", "svg|script", "svg|style"]
"zeroOrMore": [":model(SVGAnimation)", ":model(SVGDescriptive)", "svg|script", "svg|style"]
}

@@ -10,0 +10,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/tables.html#the-table-element

{
"zeroOrMore": "#script-supporting"
"zeroOrMore": ":model(script-supporting)"
},

@@ -15,3 +15,3 @@ {

{
"zeroOrMore": "#script-supporting"
"zeroOrMore": ":model(script-supporting)"
},

@@ -22,3 +22,3 @@ {

{
"zeroOrMore": "#script-supporting"
"zeroOrMore": ":model(script-supporting)"
},

@@ -29,3 +29,3 @@ {

{
"zeroOrMore": "#script-supporting"
"zeroOrMore": ":model(script-supporting)"
},

@@ -47,3 +47,3 @@ {

{
"zeroOrMore": "#script-supporting"
"zeroOrMore": ":model(script-supporting)"
},

@@ -54,3 +54,3 @@ {

{
"zeroOrMore": "#script-supporting"
"zeroOrMore": ":model(script-supporting)"
}

@@ -57,0 +57,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/tables.html#the-td-element

{
"zeroOrMore": "#flow"
"oneOrMore": ":model(flow)"
}

@@ -26,9 +26,9 @@ ]

"conditions": {
"table:is(:not([role]), [role=table]) > :is(thead, tfoot, tbody) > tr > td": {
"table:is(:not([role]), [role=table]) > :is(thead, tfoot, tbody) > tr > td, table:is(:not([role]), [role=table]) > tr > td": {
"implicitRole": "cell"
},
"table:is([role=grid], [role=treegrid]) > :is(thead, tfoot, tbody) > tr > td": {
"table:is([role=grid], [role=treegrid]) > :is(thead, tfoot, tbody) > tr > td, table:is([role=grid], [role=treegrid]) > tr > td": {
"implicitRole": "gridcell"
},
"table:is(:not([role]), [role=table], [role=grid], [role=treegrid]) > :is(thead, tfoot, tbody) > tr > td": {
"table:is(:not([role]), [role=table], [role=grid], [role=treegrid]) > :is(thead, tfoot, tbody) > tr > td, table:is(:not([role]), [role=table], [role=grid], [role=treegrid]) > tr > td": {
// No role if the ancestor table element has role=table, grid, or treegrid; otherwise any role.

@@ -35,0 +35,0 @@ "permittedRoles": false

@@ -6,7 +6,3 @@ // https://html.spec.whatwg.org/multipage/scripting.html#the-template-element

"contentModel": {
"contents": [
{
"zeroOrMore": "#transparent"
}
]
"contents": true
},

@@ -13,0 +9,0 @@ "globalAttrs": {

@@ -8,4 +8,3 @@ // https://html.spec.whatwg.org/multipage/tables.html#the-th-elemen

{
"zeroOrMore": "#flow",
"notAllowedDescendants": ["header", "footer", "#sectioning", "#heading"]
"oneOrMore": ":model(flow):not(header, footer, :model(sectioning), :model(heading), :has(header, footer, :model(sectioning), :model(heading)))"
}

@@ -43,6 +42,6 @@ ]

"conditions": {
"table:is(:not([role]), [role=table]) > :is(thead, tfoot, tbody) > tr > th": {
"table:is(:not([role]), [role=table]) > :is(thead, tfoot, tbody) > tr > th, table:is(:not([role]), [role=table]) > tr > th": {
"implicitRole": "cell"
},
"table:is([role=grid], [role=treegrid]) > :is(thead, tfoot, tbody) > tr > th": {
"table:is([role=grid], [role=treegrid]) > :is(thead, tfoot, tbody) > tr > th, table:is([role=grid], [role=treegrid]) > tr > th": {
"implicitRole": "gridcell"

@@ -53,14 +52,14 @@ },

},
"table:is(:not([role]), [role=table], [role=grid], [role=treegrid]) > :is(tfoot, tbody) > tr > th:not([scope])": {
"table:is(:not([role]), [role=table], [role=grid], [role=treegrid]) > :is(tfoot, tbody) > tr > th:not([scope]), table:is(:not([role]), [role=table], [role=grid], [role=treegrid]) > tr > th:not([scope])": {
"implicitRole": "rowheader"
},
// https://www.w3.org/TR/wai-aria-1.1/#columnheader Base Concept: HTML th[scope="col"]
"table:is(:not([role]), [role=table], [role=grid], [role=treegrid]) > :is(thead, tfoot, tbody) > tr > th[scope=col]": {
"table:is(:not([role]), [role=table], [role=grid], [role=treegrid]) > :is(thead, tfoot, tbody) > tr > th[scope=col], table:is(:not([role]), [role=table], [role=grid], [role=treegrid]) > tr > th[scope=col]": {
"implicitRole": "columnheader"
},
// https://www.w3.org/TR/wai-aria-1.1/#rowheader Base Concept: HTML th[scope="row"]
"table:is(:not([role]), [role=table], [role=grid], [role=treegrid]) > :is(thead, tfoot, tbody) > tr > th[scope=row]": {
"table:is(:not([role]), [role=table], [role=grid], [role=treegrid]) > :is(thead, tfoot, tbody) > tr > th[scope=row], table:is(:not([role]), [role=table], [role=grid], [role=treegrid]) > tr > th[scope=row]": {
"implicitRole": "rowheader"
},
"table:is(:not([role]), [role=table], [role=grid], [role=treegrid]) > :is(thead, tfoot, tbody) > tr > th": {
"table:is(:not([role]), [role=table], [role=grid], [role=treegrid]) > :is(thead, tfoot, tbody) > tr > th, table:is(:not([role]), [role=table], [role=grid], [role=treegrid]) > tr > th": {
"permittedRoles": false

@@ -67,0 +66,0 @@ }

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-time-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/tables.html#the-tr-element

{
"zeroOrMore": ["th", "td", "#script-supporting"]
"zeroOrMore": ["th", "td", ":model(script-supporting)"]
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-u-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/grouping-content.html#the-ul-element

{
"zeroOrMore": ["li", "#script-supporting"]
"zeroOrMore": ["li", ":model(script-supporting)"]
}

@@ -11,0 +11,0 @@ ]

@@ -8,3 +8,3 @@ // https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-var-element

{
"zeroOrMore": "#phrasing"
"oneOrMore": ":model(phrasing)"
}

@@ -11,0 +11,0 @@ ]

@@ -14,4 +14,3 @@ // https://html.spec.whatwg.org/multipage/media.html#the-video-element

{
"zeroOrMore": "#transparent",
"notAllowedDescendants": ["audio", "video"]
"transparent": ":not(audio, video, :has(audio, video))"
}

@@ -27,4 +26,3 @@ ],

{
"zeroOrMore": "#transparent",
"notAllowedDescendants": ["audio", "video"]
"transparent": ":not(audio, video, :has(audio, video))"
}

@@ -31,0 +29,0 @@ ]

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc