@markuplint/html-spec 2.0.0-rc.6 → 2.2.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/README.md CHANGED
@@ -6,23 +6,8 @@
6
6
 
7
7
  ## Install
8
8
 
9
- Prerequisites: [Node.js](https://nodejs.org) (Version 12.4.0 or later)
10
-
11
9
  ```sh
12
10
  $ npm install @markuplint/html-spec
13
11
 
14
12
  $ yarn add @markuplint/html-spec
15
13
  ```
16
-
17
- ## Contributing
18
-
19
- ```
20
- $ git clone git@github.com:markuplint/markuplint.git -b main
21
- $ yarn
22
- $ yarn build
23
- $ yarn test
24
- ```
25
-
26
- ---
27
-
28
- Copyright © 2021 markuplint. Under the MIT License.
package/index.json CHANGED
@@ -2837,6 +2837,9 @@
2837
2837
  },
2838
2838
  {
2839
2839
  "name": "aria-selected"
2840
+ },
2841
+ {
2842
+ "name": "aria-sort"
2840
2843
  }
2841
2844
  ],
2842
2845
  "childrenPresentational": true
@@ -4477,6 +4480,9 @@
4477
4480
  {
4478
4481
  "name": "aria-details"
4479
4482
  },
4483
+ {
4484
+ "name": "aria-disabled"
4485
+ },
4480
4486
  {
4481
4487
  "name": "aria-dropeffect"
4482
4488
  },
@@ -7605,6 +7611,9 @@
7605
7611
  {
7606
7612
  "name": "aria-live"
7607
7613
  },
7614
+ {
7615
+ "name": "aria-orientation"
7616
+ },
7608
7617
  {
7609
7618
  "name": "aria-owns"
7610
7619
  },
@@ -9096,6 +9105,9 @@
9096
9105
  {
9097
9106
  "name": "aria-live"
9098
9107
  },
9108
+ {
9109
+ "name": "aria-orientation"
9110
+ },
9099
9111
  {
9100
9112
  "name": "aria-owns"
9101
9113
  },
@@ -9613,6 +9625,9 @@
9613
9625
  {
9614
9626
  "name": "aria-live"
9615
9627
  },
9628
+ {
9629
+ "name": "aria-modal"
9630
+ },
9616
9631
  {
9617
9632
  "name": "aria-owns"
9618
9633
  },
@@ -10586,14 +10601,14 @@
10586
10601
  "deprecated": true
10587
10602
  },
10588
10603
  "shape": {
10589
- "description": "The shape of the hyperlinks region in an image map. Note: Use the <area> element for image maps instead.",
10604
+ "description": "The shape of the hyperlink's region in an image map. Note: Use the <area> element for image maps instead.",
10590
10605
  "deprecated": true
10591
10606
  },
10592
10607
  "target": {
10593
- "description": "Where to display the linked URL, as the name for a browsing context (a tab, window, or <iframe>). The following keywords have special meanings for where to load the URL: _self: the current browsing context. (Default) _blank: usually a new tab, but users can configure browsers to open a new window instead. _parent: the parent browsing context of the current one. If no parent, behaves as _self. _top: the topmost browsing context (the \"highest\" context thats an ancestor of the current one). If no ancestors, behaves as _self. Note: Setting target=\"_blank\" on <a> elements implicitly provides the same rel behavior as setting rel=\"noopener\" which does not set window.opener. See browser compatibility for support status."
10608
+ "description": "Where to display the linked URL, as the name for a browsing context (a tab, window, or <iframe>). The following keywords have special meanings for where to load the URL: _self: the current browsing context. (Default) _blank: usually a new tab, but users can configure browsers to open a new window instead. _parent: the parent browsing context of the current one. If no parent, behaves as _self. _top: the topmost browsing context (the \"highest\" context that's an ancestor of the current one). If no ancestors, behaves as _self. Note: Setting target=\"_blank\" on <a> elements implicitly provides the same rel behavior as setting rel=\"noopener\" which does not set window.opener. See browser compatibility for support status."
10594
10609
  },
10595
10610
  "type": {
10596
- "description": "Hints at the linked URLs format with a MIME type. No built-in functionality."
10611
+ "description": "Hints at the linked URL's format with a MIME type. No built-in functionality."
10597
10612
  }
10598
10613
  }
10599
10614
  },
@@ -10671,7 +10686,7 @@
10671
10686
  "roles": true
10672
10687
  },
10673
10688
  "implicitRole": {
10674
- "summary": "",
10689
+ "summary": "No corresponding role",
10675
10690
  "role": false
10676
10691
  },
10677
10692
  "omittion": false,
@@ -10904,7 +10919,7 @@
10904
10919
  "roles": ["feed", "none", "note", "presentation", "region", "search"]
10905
10920
  },
10906
10921
  "implicitRole": {
10907
- "summary": "",
10922
+ "summary": "complementary",
10908
10923
  "role": "complementary"
10909
10924
  },
10910
10925
  "omittion": false,
@@ -11538,19 +11553,19 @@
11538
11553
  "description": "The URL that processes the information submitted by the button. Overrides the action attribute of the button's form owner. Does nothing if there is no form owner."
11539
11554
  },
11540
11555
  "formenctype": {
11541
- "description": "If the button is a submit button (it's inside/associated with a <form> and doesn't have type=\"button\"), specifies how to encode the form data that is submitted. Possible values: application/x-www-form-urlencoded: The default if the attribute is not used. multipart/form-data: Use to submit <input> elements with their type attributes set to file. text/plain: Specified as a debugging aid; shouldnt be used for real form submission. If this attribute is specified, it overrides the enctype attribute of the button's form owner."
11556
+ "description": "If the button is a submit button (it's inside/associated with a <form> and doesn't have type=\"button\"), specifies how to encode the form data that is submitted. Possible values: application/x-www-form-urlencoded: The default if the attribute is not used. multipart/form-data: Use to submit <input> elements with their type attributes set to file. text/plain: Specified as a debugging aid; shouldn't be used for real form submission. If this attribute is specified, it overrides the enctype attribute of the button's form owner."
11542
11557
  },
11543
11558
  "formmethod": {
11544
- "description": "If the button is a submit button (it's inside/associated with a <form> and doesn't have type=\"button\"), this attribute specifies the HTTP method used to submit the form. Possible values: post: The data from the form are included in the body of the HTTP request when sent to the server. Use when the form contains information that shouldnt be public, like login credentials. get: The form data are appended to the form's action URL, with a ? as a separator, and the resulting URL is sent to the server. Use this method when the form has no side effects, like search forms. If specified, this attribute overrides the method attribute of the button's form owner."
11559
+ "description": "If the button is a submit button (it's inside/associated with a <form> and doesn't have type=\"button\"), this attribute specifies the HTTP method used to submit the form. Possible values: post: The data from the form are included in the body of the HTTP request when sent to the server. Use when the form contains information that shouldn't be public, like login credentials. get: The form data are appended to the form's action URL, with a ? as a separator, and the resulting URL is sent to the server. Use this method when the form has no side effects, like search forms. If specified, this attribute overrides the method attribute of the button's form owner."
11545
11560
  },
11546
11561
  "formnovalidate": {
11547
11562
  "description": "If the button is a submit button, this Boolean attribute specifies that the form is not to be validated when it is submitted. If this attribute is specified, it overrides the novalidate attribute of the button's form owner. This attribute is also available on <input type=\"image\"> and <input type=\"submit\"> elements."
11548
11563
  },
11549
11564
  "formtarget": {
11550
- "description": "If the button is a submit button, this attribute is an author-defined name or standardized, underscore-prefixed keyword indicating where to display the response from submitting the form. This is the name of, or keyword for, a browsing context (a tab, window, or <iframe>). If this attribute is specified, it overrides the target attribute of the button's form owner. The following keywords have special meanings: _self: Load the response into the same browsing context as the current one. This is the default if the attribute is not specified. _blank: Load the response into a new unnamed browsing context — usually a new tab or window, depending on the users browser settings. _parent: Load the response into the parent browsing context of the current one. If there is no parent, this option behaves the same way as _self. _top: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as _self."
11565
+ "description": "If the button is a submit button, this attribute is an author-defined name or standardized, underscore-prefixed keyword indicating where to display the response from submitting the form. This is the name of, or keyword for, a browsing context (a tab, window, or <iframe>). If this attribute is specified, it overrides the target attribute of the button's form owner. The following keywords have special meanings: _self: Load the response into the same browsing context as the current one. This is the default if the attribute is not specified. _blank: Load the response into a new unnamed browsing context — usually a new tab or window, depending on the user's browser settings. _parent: Load the response into the parent browsing context of the current one. If there is no parent, this option behaves the same way as _self. _top: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as _self."
11551
11566
  },
11552
11567
  "name": {
11553
- "description": "The name of the button, submitted as a pair with the buttons value as part of the form data, when that button is used to submit the form."
11568
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data, when that button is used to submit the form."
11554
11569
  },
11555
11570
  "type": {
11556
11571
  "ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-type",
@@ -11760,7 +11775,7 @@
11760
11775
  "deprecated": true
11761
11776
  },
11762
11777
  "bgcolor": {
11763
- "description": "The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color kewords can also be used. To achieve a similar effect, use the CSS background-color property.",
11778
+ "description": "The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color keywords can also be used. To achieve a similar effect, use the CSS background-color property.",
11764
11779
  "deprecated": true
11765
11780
  },
11766
11781
  "char": {
@@ -11809,7 +11824,7 @@
11809
11824
  ],
11810
11825
  "contents": [
11811
11826
  {
11812
- "oneOrMore": "col"
11827
+ "zeroOrMore": "col"
11813
11828
  }
11814
11829
  ]
11815
11830
  },
@@ -11834,7 +11849,7 @@
11834
11849
  "deprecated": true
11835
11850
  },
11836
11851
  "bgcolor": {
11837
- "description": "The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color kewords can also be used. To achieve a similar effect, use the CSS background-color property.",
11852
+ "description": "The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color keywords can also be used. To achieve a similar effect, use the CSS background-color property.",
11838
11853
  "deprecated": true
11839
11854
  },
11840
11855
  "char": {
@@ -12735,7 +12750,7 @@
12735
12750
  "globalAttrs": {},
12736
12751
  "attributes": {
12737
12752
  "frameborder": {
12738
- "description": "This attribute allows you to specify a frames border."
12753
+ "description": "This attribute allows you to specify a frame's border."
12739
12754
  },
12740
12755
  "marginheight": {
12741
12756
  "description": "This attribute defines the height of the margin between frames."
@@ -12744,7 +12759,7 @@
12744
12759
  "description": "This attribute defines the width of the margin between frames."
12745
12760
  },
12746
12761
  "name": {
12747
- "description": "This attribute is used for labeling frames. Without labeling, every link will open in the frame that its in – the closest parent frame. See the target attribute for more information."
12762
+ "description": "This attribute is used for labeling frames. Without labeling, every link will open in the frame that it's in – the closest parent frame. See the target attribute for more information."
12748
12763
  },
12749
12764
  "noresize": {
12750
12765
  "description": "This attribute prevents resizing of frames by users."
@@ -13147,7 +13162,7 @@
13147
13162
  },
13148
13163
  "attributes": {
13149
13164
  "manifest": {
13150
- "description": "Specifies the URI of a resource manifest indicating resources that should be cached locally. See Using the application cache for details.",
13165
+ "description": "Specifies the URI of a resource manifest indicating resources that should be cached locally.",
13151
13166
  "deprecated": true
13152
13167
  },
13153
13168
  "version": {
@@ -13429,7 +13444,7 @@
13429
13444
  "deprecated": true
13430
13445
  },
13431
13446
  "intrinsicsize": {
13432
- "description": "This attribute tells the browser to ignore the actual intrinsic size of the image and pretend its the size specified in the attribute. Specifically, the image would raster at these dimensions and naturalWidth/naturalHeight on images would return the values specified in this attribute. Explainer, examples",
13447
+ "description": "This attribute tells the browser to ignore the actual intrinsic size of the image and pretend it's the size specified in the attribute. Specifically, the image would raster at these dimensions and naturalWidth/naturalHeight on images would return the values specified in this attribute. Explainer, examples",
13433
13448
  "deprecated": true
13434
13449
  },
13435
13450
  "ismap": {
@@ -13444,7 +13459,7 @@
13444
13459
  "experimental": true
13445
13460
  },
13446
13461
  "longdesc": {
13447
- "description": "A link to a more detailed description of the image. Possible values are a URL or an element id. Note: This attribute is mentioned in the latest W3C version, HTML 5.2, but has been removed from the WHATWGs HTML Living Standard. It has an uncertain future; authors should use a WAI-ARIA alternative such as aria-describedby or aria-details.",
13462
+ "description": "A link to a more detailed description of the image. Possible values are a URL or an element id. Note: This attribute is mentioned in the latest W3C version, HTML 5.2, but has been removed from the WHATWG's HTML Living Standard. It has an uncertain future; authors should use a WAI-ARIA alternative such as aria-describedby or aria-details.",
13448
13463
  "deprecated": true
13449
13464
  },
13450
13465
  "name": {
@@ -13455,7 +13470,7 @@
13455
13470
  "description": "A string indicating which referrer to use when fetching the resource: no-referrer: The Referer header will not be sent. no-referrer-when-downgrade: The Referer header will not be sent to origins without TLS (HTTPS). origin: The sent referrer will be limited to the origin of the referring page: its scheme, host, and port. origin-when-cross-origin: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path. same-origin: A referrer will be sent for same origin, but cross-origin requests will contain no referrer information. strict-origin: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS→HTTPS), but don't send it to a less secure destination (HTTPS→HTTP). strict-origin-when-cross-origin (default): Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS→HTTPS), and send no header to a less secure destination (HTTPS→HTTP). unsafe-url: The referrer will include the origin and the path (but not the fragment, password, or username). This value is unsafe, because it leaks origins and paths from TLS-protected resources to insecure origins."
13456
13471
  },
13457
13472
  "sizes": {
13458
- "description": "One or more strings separated by commas, indicating a set of source sizes. Each source size consists of: A media condition. This must be omitted for the last item in the list. A source size value. Media Conditions describe properties of the viewport, not of the image. For example, (max-height: 500px) 1000px proposes to use a source of 1000px width, if the viewport is not higher than 500px. Source size values specify the intended display size of the image. User agents use the current source size to select one of the sources supplied by the srcset attribute, when those sources are described using width (w) descriptors. The selected source size affects the intrinsic size of the image (the images display size if no CSS styling is applied). If the srcset attribute is absent, or contains no values with a width descriptor, then the sizes attribute has no effect."
13473
+ "description": "One or more strings separated by commas, indicating a set of source sizes. Each source size consists of: A media condition. This must be omitted for the last item in the list. A source size value. Media Conditions describe properties of the viewport, not of the image. For example, (max-height: 500px) 1000px proposes to use a source of 1000px width, if the viewport is not higher than 500px. Source size values specify the intended display size of the image. User agents use the current source size to select one of the sources supplied by the srcset attribute, when those sources are described using width (w) descriptors. The selected source size affects the intrinsic size of the image (the image's display size if no CSS styling is applied). If the srcset attribute is absent, or contains no values with a width descriptor, then the sizes attribute has no effect."
13459
13474
  },
13460
13475
  "src": {
13461
13476
  "ref": "https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-src",
@@ -14430,6 +14445,12 @@
14430
14445
  "self": ["[rel='preload' i]", "[rel='modulepreload' i]"]
14431
14446
  }
14432
14447
  },
14448
+ "blocking": {
14449
+ "ref": "https://html.spec.whatwg.org/multipage/urls-and-fetching.html#render-blocking",
14450
+ "type": {
14451
+ "enum": ["render"]
14452
+ }
14453
+ },
14433
14454
  "charset": {
14434
14455
  "description": "This attribute defines the character encoding of the linked resource. The value is a space- and/or comma-delimited list of character sets as defined in RFC 2045. The default value is iso-8859-1. Note: To produce the same effect as this obsolete attribute, use the Content-Type HTTP header on the linked resource.",
14435
14456
  "obsolete": true,
@@ -14497,7 +14518,7 @@
14497
14518
  "experimental": true
14498
14519
  },
14499
14520
  "referrerpolicy": {
14500
- "description": "A string indicating which referrer to use when fetching the resource: no-referrer means that the Referer header will not be sent. no-referrer-when-downgrade means that no Referer header will be sent when navigating to an origin without TLS (HTTPS). This is a user agents default behavior, if no policy is otherwise specified. origin means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port. origin-when-cross-origin means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer's path. unsafe-url means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.",
14521
+ "description": "A string indicating which referrer to use when fetching the resource: no-referrer means that the Referer header will not be sent. no-referrer-when-downgrade means that no Referer header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent's default behavior, if no policy is otherwise specified. origin means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port. origin-when-cross-origin means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer's path. unsafe-url means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.",
14501
14522
  "experimental": true
14502
14523
  },
14503
14524
  "rel": {
@@ -16064,8 +16085,14 @@
16064
16085
  },
16065
16086
  "ineffective": ":not([src]):not([type='module' i])"
16066
16087
  },
16088
+ "blocking": {
16089
+ "ref": "https://html.spec.whatwg.org/multipage/urls-and-fetching.html#render-blocking",
16090
+ "type": {
16091
+ "enum": ["render"]
16092
+ }
16093
+ },
16067
16094
  "charset": {
16068
- "description": "If present, its value must be an ASCII case-insensitive match for \"utf-8\". Its unnecessary to specify the charset attribute, because documents must use UTF-8, and the script element inherits its character encoding from the document.",
16095
+ "description": "If present, its value must be an ASCII case-insensitive match for \"utf-8\". It's unnecessary to specify the charset attribute, because documents must use UTF-8, and the script element inherits its character encoding from the document.",
16069
16096
  "deprecated": true
16070
16097
  },
16071
16098
  "crossorigin": {
@@ -16087,7 +16114,7 @@
16087
16114
  }
16088
16115
  },
16089
16116
  "language": {
16090
- "description": "Like the type attribute, this attribute identifies the scripting language in use. Unlike the type attribute, however, this attributes possible values were never standardized. The type attribute should be used instead.",
16117
+ "description": "Like the type attribute, this attribute identifies the scripting language in use. Unlike the type attribute, however, this attribute's possible values were never standardized. The type attribute should be used instead.",
16091
16118
  "deprecated": true
16092
16119
  },
16093
16120
  "nomodule": {
@@ -16566,12 +16593,18 @@
16566
16593
  "#HTMLGlobalAttrs": true
16567
16594
  },
16568
16595
  "attributes": {
16596
+ "blocking": {
16597
+ "ref": "https://html.spec.whatwg.org/multipage/urls-and-fetching.html#render-blocking",
16598
+ "type": {
16599
+ "enum": ["render"]
16600
+ }
16601
+ },
16569
16602
  "media": {
16570
16603
  "ref": "https://html.spec.whatwg.org/multipage/semantics.html#attr-style-media",
16571
16604
  "type": "<media-query-list>"
16572
16605
  },
16573
16606
  "nonce": {
16574
- "description": "A cryptographic nonce (number used once) used to allow inline styles in a style-src Content-Security-Policy. The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resources policy is otherwise trivial."
16607
+ "description": "A cryptographic nonce (number used once) used to allow inline styles in a style-src Content-Security-Policy. The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource's policy is otherwise trivial."
16575
16608
  },
16576
16609
  "scoped": {
16577
16610
  "description": "This attribute specifies that the styles only apply to the elements of its parent(s) and children. Note: This attribute may be re-introduced in the future per https://github.com/w3c/csswg-drafts/issues/3547. If you want to use the attribute now, you can use a polyfill.",
@@ -16725,7 +16758,7 @@
16725
16758
  "choice": [
16726
16759
  [
16727
16760
  {
16728
- "optional": "tbody"
16761
+ "zeroOrMore": "tbody"
16729
16762
  }
16730
16763
  ],
16731
16764
  [
@@ -16767,7 +16800,7 @@
16767
16800
  "deprecated": true
16768
16801
  },
16769
16802
  "bgcolor": {
16770
- "description": "The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color kewords can also be used. To achieve a similar effect, use the CSS background-color property.",
16803
+ "description": "The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color keywords can also be used. To achieve a similar effect, use the CSS background-color property.",
16771
16804
  "deprecated": true
16772
16805
  },
16773
16806
  "border": {
@@ -16835,7 +16868,7 @@
16835
16868
  "deprecated": true
16836
16869
  },
16837
16870
  "bgcolor": {
16838
- "description": "The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color kewords can also be used. As this attribute is deprecated, use the CSS background-color property instead.",
16871
+ "description": "The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color keywords can also be used. As this attribute is deprecated, use the CSS background-color property instead.",
16839
16872
  "deprecated": true
16840
16873
  },
16841
16874
  "char": {
@@ -16912,7 +16945,7 @@
16912
16945
  "deprecated": true
16913
16946
  },
16914
16947
  "bgcolor": {
16915
- "description": "This attribute defines the background color of each cell in a column. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color kewords can also be used. To achieve a similar effect, use the CSS background-color property.",
16948
+ "description": "This attribute defines the background color of each cell in a column. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color keywords can also be used. To achieve a similar effect, use the CSS background-color property.",
16916
16949
  "deprecated": true
16917
16950
  },
16918
16951
  "char": {
@@ -17125,7 +17158,7 @@
17125
17158
  "deprecated": true
17126
17159
  },
17127
17160
  "bgcolor": {
17128
- "description": "The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color kewords can also be used. To achieve a similar effect, use the CSS background-color property.",
17161
+ "description": "The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color keywords can also be used. To achieve a similar effect, use the CSS background-color property.",
17129
17162
  "deprecated": true
17130
17163
  },
17131
17164
  "char": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/html-spec",
3
- "version": "2.0.0-rc.6",
3
+ "version": "2.2.0",
4
4
  "description": "A specification of HTML Living Standard for markuplint",
5
5
  "repository": "git@github.com:markuplint/markuplint.git",
6
6
  "author": "Yusuke Hirao <yusukehirao@me.com>",
@@ -16,17 +16,17 @@
16
16
  },
17
17
  "devDependencies": {
18
18
  "@apidevtools/json-schema-ref-parser": "^9.0.9",
19
- "@types/cheerio": "^0.22.30",
19
+ "@types/cheerio": "^0.22.31",
20
20
  "@types/cli-progress": "^3.9.2",
21
21
  "@types/node-fetch": "2",
22
22
  "cheerio": "^1.0.0-rc.10",
23
- "cli-progress": "^3.9.1",
24
- "fast-xml-parser": "^3.21.1",
23
+ "cli-progress": "^3.10.0",
24
+ "fast-xml-parser": "^4.0.2",
25
25
  "jsonschema": "^1.4.0",
26
26
  "node-fetch": "2"
27
27
  },
28
28
  "dependencies": {
29
- "@markuplint/ml-spec": "2.0.0-rc.6"
29
+ "@markuplint/ml-spec": "2.0.0"
30
30
  },
31
- "gitHead": "7c93367a86f935f6b94780b1fa14f3293f900b87"
31
+ "gitHead": "b76084dbdb538119a29fd07b19110ef7d3a44670"
32
32
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "tag": "link",
3
- "ref": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link",
3
+ "ref": "https://html.spec.whatwg.org/multipage/semantics.html#the-link-element",
4
4
  "global": {
5
5
  "#HTMLGlobalAttrs": true,
6
6
  "#GlobalEventAttrs": true,
@@ -113,6 +113,12 @@
113
113
  "self": ["[rel='preload' i]", "[rel='modulepreload' i]"]
114
114
  }
115
115
  },
116
+ "blocking": {
117
+ "ref": "https://html.spec.whatwg.org/multipage/urls-and-fetching.html#render-blocking",
118
+ "type": {
119
+ "enum": ["render"]
120
+ }
121
+ },
116
122
  "color": {
117
123
  "ref": "https://html.spec.whatwg.org/multipage/semantics.html#attr-link-color",
118
124
  "type": "<color>",
@@ -53,6 +53,12 @@
53
53
  "condition": {
54
54
  "self": "[src]"
55
55
  }
56
+ },
57
+ "blocking": {
58
+ "ref": "https://html.spec.whatwg.org/multipage/urls-and-fetching.html#render-blocking",
59
+ "type": {
60
+ "enum": ["render"]
61
+ }
56
62
  }
57
63
  }
58
64
  }
@@ -11,6 +11,12 @@
11
11
  "media": {
12
12
  "ref": "https://html.spec.whatwg.org/multipage/semantics.html#attr-style-media",
13
13
  "type": "<media-query-list>"
14
+ },
15
+ "blocking": {
16
+ "ref": "https://html.spec.whatwg.org/multipage/urls-and-fetching.html#render-blocking",
17
+ "type": {
18
+ "enum": ["render"]
19
+ }
14
20
  }
15
21
  }
16
22
  }
@@ -10,7 +10,7 @@
10
10
  ],
11
11
  "contents": [
12
12
  {
13
- "oneOrMore": "col"
13
+ "zeroOrMore": "col"
14
14
  }
15
15
  ]
16
16
  }
@@ -26,7 +26,7 @@
26
26
  "choice": [
27
27
  [
28
28
  {
29
- "optional": "tbody"
29
+ "zeroOrMore": "tbody"
30
30
  }
31
31
  ],
32
32
  [