@markuplint/html-spec 4.0.0-dev.23 → 4.0.0-rc.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 +84 -95
- package/package.json +5 -5
package/index.json
CHANGED
|
@@ -35252,9 +35252,7 @@
|
|
|
35252
35252
|
"description": "If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback."
|
|
35253
35253
|
},
|
|
35254
35254
|
"controlslist": {
|
|
35255
|
-
"description": "The controlslist attribute, when specified, helps the browser select what controls to show for the audio element whenever the browser shows its own set of controls (that is, when the controls attribute is specified). The allowed values are nodownload, nofullscreen and noremoteplayback."
|
|
35256
|
-
"experimental": true,
|
|
35257
|
-
"nonStandard": true
|
|
35255
|
+
"description": "The controlslist attribute, when specified, helps the browser select what controls to show for the audio element whenever the browser shows its own set of controls (that is, when the controls attribute is specified). The allowed values are nodownload, nofullscreen and noremoteplayback."
|
|
35258
35256
|
},
|
|
35259
35257
|
"crossorigin": {
|
|
35260
35258
|
"description": "This enumerated attribute indicates whether to use CORS to fetch the related audio file. CORS-enabled resources can be reused in the <canvas> element without being tainted. The allowed values are: anonymous Sends a cross-origin request without a credential. In other words, it sends the Origin: HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the Access-Control-Allow-Origin: HTTP header), the resource will be tainted, and its usage restricted. use-credentials Sends a cross-origin request with a credential. In other words, it sends the Origin: HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through Access-Control-Allow-Credentials: HTTP header), the resource will be tainted and its usage restricted. When not present, the resource is fetched without a CORS request (i.e. without sending the Origin: HTTP header), preventing its non-tainted use in <canvas> elements. If invalid, it is handled as if the enumerated keyword anonymous was used. See CORS settings attributes for additional information."
|
|
@@ -35433,9 +35431,7 @@
|
|
|
35433
35431
|
"description": "If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback."
|
|
35434
35432
|
},
|
|
35435
35433
|
"controlslist": {
|
|
35436
|
-
"description": "The controlslist attribute, when specified, helps the browser select what controls to show for the audio element whenever the browser shows its own set of controls (that is, when the controls attribute is specified). The allowed values are nodownload, nofullscreen and noremoteplayback."
|
|
35437
|
-
"experimental": true,
|
|
35438
|
-
"nonStandard": true
|
|
35434
|
+
"description": "The controlslist attribute, when specified, helps the browser select what controls to show for the audio element whenever the browser shows its own set of controls (that is, when the controls attribute is specified). The allowed values are nodownload, nofullscreen and noremoteplayback."
|
|
35439
35435
|
},
|
|
35440
35436
|
"crossorigin": {
|
|
35441
35437
|
"description": "This enumerated attribute indicates whether to use CORS to fetch the related audio file. CORS-enabled resources can be reused in the <canvas> element without being tainted. The allowed values are: anonymous Sends a cross-origin request without a credential. In other words, it sends the Origin: HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the Access-Control-Allow-Origin: HTTP header), the resource will be tainted, and its usage restricted. use-credentials Sends a cross-origin request with a credential. In other words, it sends the Origin: HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through Access-Control-Allow-Credentials: HTTP header), the resource will be tainted and its usage restricted. When not present, the resource is fetched without a CORS request (i.e. without sending the Origin: HTTP header), preventing its non-tainted use in <canvas> elements. If invalid, it is handled as if the enumerated keyword anonymous was used. See CORS settings attributes for additional information."
|
|
@@ -35769,10 +35765,6 @@
|
|
|
35769
35765
|
"#HTMLGlobalAttrs": true
|
|
35770
35766
|
},
|
|
35771
35767
|
"attributes": {
|
|
35772
|
-
"autocomplete": {
|
|
35773
|
-
"description": "This attribute on a <button> is nonstandard and Firefox-specific. Unlike other browsers, Firefox persists the dynamic disabled state of a <button> across page loads. Setting autocomplete=\"off\" on the button disables this feature; see Firefox bug 654072.",
|
|
35774
|
-
"nonStandard": true
|
|
35775
|
-
},
|
|
35776
35768
|
"autofocus": {
|
|
35777
35769
|
"description": "This Boolean attribute specifies that the button should have input focus when the page loads. Only one element in a document can have this attribute."
|
|
35778
35770
|
},
|
|
@@ -35863,7 +35855,7 @@
|
|
|
35863
35855
|
{
|
|
35864
35856
|
"name": "caption",
|
|
35865
35857
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption",
|
|
35866
|
-
"description": "The <caption> HTML element specifies the caption (or title) of a table.",
|
|
35858
|
+
"description": "The <caption> HTML element specifies the caption (or title) of a table, providing the table an accessible description.",
|
|
35867
35859
|
"categories": [],
|
|
35868
35860
|
"contentModel": {
|
|
35869
35861
|
"contents": [
|
|
@@ -35891,7 +35883,7 @@
|
|
|
35891
35883
|
},
|
|
35892
35884
|
"attributes": {
|
|
35893
35885
|
"align": {
|
|
35894
|
-
"description": "
|
|
35886
|
+
"description": "Specifies on which side of the table the caption should be displayed. The possible enumerated values are left, top, right, or bottom. Use the caption-side and text-align CSS properties instead, as this attribute is deprecated.",
|
|
35895
35887
|
"deprecated": true
|
|
35896
35888
|
}
|
|
35897
35889
|
}
|
|
@@ -35969,7 +35961,7 @@
|
|
|
35969
35961
|
{
|
|
35970
35962
|
"name": "col",
|
|
35971
35963
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col",
|
|
35972
|
-
"description": "The <col> HTML element defines
|
|
35964
|
+
"description": "The <col> HTML element defines one or more columns in a column group represented by its parent <colgroup> element. The <col> element is only valid as a child of a <colgroup> element that has no span attribute defined.",
|
|
35973
35965
|
"categories": [],
|
|
35974
35966
|
"contentModel": {
|
|
35975
35967
|
"contents": false
|
|
@@ -35987,19 +35979,19 @@
|
|
|
35987
35979
|
},
|
|
35988
35980
|
"attributes": {
|
|
35989
35981
|
"align": {
|
|
35990
|
-
"description": "
|
|
35982
|
+
"description": "Specifies the horizontal alignment of each column cell. The possible enumerated values are left, center, right, justify, and char. When supported, the char value aligns the textual content on the character defined in the char attribute and on offset defined by the charoff attribute. Note that this attribute overrides the specified align of its <colgroup> parent element. Use the text-align CSS property on the <td> and <th> elements instead, as this attribute is deprecated. Note: Setting text-align on the <col> element has no effect as <col> has no descendants, and therefore no elements inherit from it. If the table does not use a colspan attribute, use the td:nth-of-type(an+b) CSS selector. Set a to zero and b to the position of the column in the table, e.g. td:nth-of-type(2) { text-align: right; } to right-align the second column cells. If the table does use a colspan attribute, the effect can be achieved by combining adequate CSS attribute selectors like [colspan=n], though this is not trivial.",
|
|
35991
35983
|
"deprecated": true
|
|
35992
35984
|
},
|
|
35993
35985
|
"bgcolor": {
|
|
35994
|
-
"description": "
|
|
35986
|
+
"description": "Defines the background color of each column cell. The value is an HTML color; either a 6-digit hexadecimal RGB code, prefixed by a '#', or a color keyword. Other CSS <color> values are not supported. Use the background-color CSS property instead, as this attribute is deprecated.",
|
|
35995
35987
|
"deprecated": true
|
|
35996
35988
|
},
|
|
35997
35989
|
"char": {
|
|
35998
|
-
"description": "
|
|
35990
|
+
"description": "Specifies the alignment of the content to a character of each column cell. Typical values for this include a period (.) when attempting to align numbers or monetary values. If align is not set to char, this attribute is ignored, though it will still override the specified char of its <colgroup> parent element.",
|
|
35999
35991
|
"deprecated": true
|
|
36000
35992
|
},
|
|
36001
35993
|
"charoff": {
|
|
36002
|
-
"description": "
|
|
35994
|
+
"description": "Specifies the number of characters to offset the column cell content from the alignment character specified by the char attribute.",
|
|
36003
35995
|
"deprecated": true
|
|
36004
35996
|
},
|
|
36005
35997
|
"span": {
|
|
@@ -36012,11 +36004,11 @@
|
|
|
36012
36004
|
"defaultValue": "1"
|
|
36013
36005
|
},
|
|
36014
36006
|
"valign": {
|
|
36015
|
-
"description": "
|
|
36007
|
+
"description": "Specifies the vertical alignment of each column cell. The possible enumerated values are baseline, bottom, middle, and top. Note that this attribute overrides the specified valign of its <colgroup> parent element. Use the vertical-align CSS property on the <td> and <th> elements instead, as this attribute is deprecated. Note: Setting vertical-align on the <col> element has no effect as <col> has no descendants, and therefore no elements inherit from it. If the table does not use a colspan attribute, use the td:nth-of-type(an+b) CSS selector. Set a to zero and b to the position of the column in the table, e.g. td:nth-of-type(2) { vertical-align: middle; } to center the second column cells vertically. If the table does use a colspan attribute, the effect can be achieved by combining adequate CSS attribute selectors like [colspan=n], though this is not trivial.",
|
|
36016
36008
|
"deprecated": true
|
|
36017
36009
|
},
|
|
36018
36010
|
"width": {
|
|
36019
|
-
"description": "
|
|
36011
|
+
"description": "Specifies a default width for each column. In addition to the standard pixel and percentage values, this attribute can take the special form 0*, which means that the width of each column spanned should be the minimum width necessary to hold the column's contents. Relative widths such as 5* can also be used. Note that this attribute overrides the specified width of its <colgroup> parent element. Use the width CSS property instead, as this attribute is deprecated.",
|
|
36020
36012
|
"deprecated": true
|
|
36021
36013
|
}
|
|
36022
36014
|
}
|
|
@@ -36052,19 +36044,19 @@
|
|
|
36052
36044
|
},
|
|
36053
36045
|
"attributes": {
|
|
36054
36046
|
"align": {
|
|
36055
|
-
"description": "
|
|
36047
|
+
"description": "Specifies the horizontal alignment of each column group cell. The possible enumerated values are left, center, right, justify, and char. When supported, the char value aligns the textual content on the character defined in the char attribute and the offset defined by the charoff attribute. Note that the descendant <col> elements may override this value using their own align attribute. Use the text-align CSS property on the <td> and <th> elements instead, as this attribute is deprecated. Note: Setting text-align on the <colgroup> element has no effect as <td> and <th> elements are not descendants of the <colgroup> element, and therefore they do not inherit from it. If the table does not use a colspan attribute, use the td:nth-of-type(an+b) CSS selector per column, where a is the total number of the columns in the table and b is the ordinal position of the column in the table, e.g. td:nth-of-type(7n+2) { text-align: right; } to right-align the second column cells. If the table does use a colspan attribute, the effect can be achieved by combining adequate CSS attribute selectors like [colspan=n], though this is not trivial.",
|
|
36056
36048
|
"deprecated": true
|
|
36057
36049
|
},
|
|
36058
36050
|
"bgcolor": {
|
|
36059
|
-
"description": "
|
|
36051
|
+
"description": "Defines the background color of each column group cell. The value is an HTML color; either a 6-digit hexadecimal RGB code, prefixed by a '#', or a color keyword. Other CSS <color> values are not supported. Use the background-color CSS property instead, as this attribute is deprecated.",
|
|
36060
36052
|
"deprecated": true
|
|
36061
36053
|
},
|
|
36062
36054
|
"char": {
|
|
36063
|
-
"description": "
|
|
36055
|
+
"description": "Specifies the alignment of the content to a character of each column group cell. Typical values for this include a period (.) when attempting to align numbers or monetary values. If align is not set to char, this attribute is ignored, though it will still be used as the default value for the align of the <col> elements which are members of this column group.",
|
|
36064
36056
|
"deprecated": true
|
|
36065
36057
|
},
|
|
36066
36058
|
"charoff": {
|
|
36067
|
-
"description": "
|
|
36059
|
+
"description": "Specifies the number of characters to offset the column group cell content from the alignment character specified by the char attribute.",
|
|
36068
36060
|
"deprecated": true
|
|
36069
36061
|
},
|
|
36070
36062
|
"span": {
|
|
@@ -36077,7 +36069,11 @@
|
|
|
36077
36069
|
"defaultValue": "1"
|
|
36078
36070
|
},
|
|
36079
36071
|
"valign": {
|
|
36080
|
-
"description": "
|
|
36072
|
+
"description": "Specifies the vertical alignment of each column group cell. The possible enumerated values are baseline, bottom, middle, and top. Note that the descendant <col> elements may override this value using their own valign attribute. Use the vertical-align CSS property on the <td> and <th> elements instead, as this attribute is deprecated. Note: Setting vertical-align on the <colgroup> element has no effect as <td> and <th> elements are not descendants of the <colgroup> element, and therefore they do not inherit from it. If the table does not use a colspan attribute, use the td:nth-of-type() CSS selector per column, e.g. td:nth-of-type(2) { vertical-align: middle; } to center the second column cells vertically. If the table does use a colspan attribute, the effect can be achieved by combining adequate CSS attribute selectors like [colspan=n], though this is not trivial.",
|
|
36073
|
+
"deprecated": true
|
|
36074
|
+
},
|
|
36075
|
+
"width": {
|
|
36076
|
+
"description": "Specifies a default width for each column in the current column group. In addition to the standard pixel and percentage values, this attribute can take the special form 0*, which means that the width of each column spanned should be the minimum width necessary to hold the column's contents. Relative widths such as 5* can also be used. Note that the descendant <col> elements may override this value using their own width attribute. Use the width CSS property instead, as this attribute is deprecated.",
|
|
36081
36077
|
"deprecated": true
|
|
36082
36078
|
}
|
|
36083
36079
|
}
|
|
@@ -36180,13 +36176,7 @@
|
|
|
36180
36176
|
"#GlobalEventAttrs": true,
|
|
36181
36177
|
"#HTMLGlobalAttrs": true
|
|
36182
36178
|
},
|
|
36183
|
-
"attributes": {
|
|
36184
|
-
"nowrap": {
|
|
36185
|
-
"description": "If the value of this attribute is set to yes, the definition text will not wrap. The default value is no.",
|
|
36186
|
-
"deprecated": true,
|
|
36187
|
-
"nonStandard": true
|
|
36188
|
-
}
|
|
36189
|
-
}
|
|
36179
|
+
"attributes": {}
|
|
36190
36180
|
},
|
|
36191
36181
|
{
|
|
36192
36182
|
"name": "del",
|
|
@@ -36586,7 +36576,7 @@
|
|
|
36586
36576
|
{
|
|
36587
36577
|
"name": "figcaption",
|
|
36588
36578
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption",
|
|
36589
|
-
"description": "The <figcaption> HTML element represents a caption or legend describing the rest of the contents of its parent <figure> element.",
|
|
36579
|
+
"description": "The <figcaption> HTML element represents a caption or legend describing the rest of the contents of its parent <figure> element, providing the <figure> an accessible description.",
|
|
36590
36580
|
"categories": [],
|
|
36591
36581
|
"contentModel": {
|
|
36592
36582
|
"contents": [
|
|
@@ -37531,7 +37521,7 @@
|
|
|
37531
37521
|
"condition": "a[href] img"
|
|
37532
37522
|
},
|
|
37533
37523
|
"loading": {
|
|
37534
|
-
"description": "Indicates how the browser should load the image: eager Loads the image immediately, regardless of whether or not the image is currently within the visible viewport (this is the default value). lazy Defers loading the image until it reaches a calculated distance from the viewport, as defined by the browser. The intent is to avoid the network and storage bandwidth needed to handle the image until it's reasonably certain that it will be needed. This generally improves the performance of the content in most typical use cases. Note: Loading is only deferred when JavaScript is enabled. This is an anti-tracking measure, because if a user agent supported lazy loading when scripting is disabled, it would still be possible for a site to track a user's approximate scroll position throughout a session, by strategically placing images in a page's markup such that a server can track how many images are requested and when."
|
|
37524
|
+
"description": "Indicates how the browser should load the image: eager Loads the image immediately, regardless of whether or not the image is currently within the visible viewport (this is the default value). lazy Defers loading the image until it reaches a calculated distance from the viewport, as defined by the browser. The intent is to avoid the network and storage bandwidth needed to handle the image until it's reasonably certain that it will be needed. This generally improves the performance of the content in most typical use cases. Note: Loading is only deferred when JavaScript is enabled. This is an anti-tracking measure, because if a user agent supported lazy loading when scripting is disabled, it would still be possible for a site to track a user's approximate scroll position throughout a session, by strategically placing images in a page's markup such that a server can track how many images are requested and when. Note: Images with loading set to lazy will never be loaded if they do not intersect a visible part of an element, even if loading them would change that as unloaded images have a width and height of 0. Putting width and height on lazyloaded images fixes this issue and is a best practice, recommended by the specification. Doing so also helps prevent layout shifts."
|
|
37535
37525
|
},
|
|
37536
37526
|
"longdesc": {
|
|
37537
37527
|
"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.",
|
|
@@ -40691,7 +40681,7 @@
|
|
|
40691
40681
|
{
|
|
40692
40682
|
"name": "table",
|
|
40693
40683
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table",
|
|
40694
|
-
"description": "The <table> HTML element represents tabular data
|
|
40684
|
+
"description": "The <table> HTML element represents tabular data—that is, information presented in a two-dimensional table comprised of rows and columns of cells containing data.",
|
|
40695
40685
|
"categories": ["#flow"],
|
|
40696
40686
|
"contentModel": {
|
|
40697
40687
|
"contents": [
|
|
@@ -40753,39 +40743,39 @@
|
|
|
40753
40743
|
},
|
|
40754
40744
|
"attributes": {
|
|
40755
40745
|
"align": {
|
|
40756
|
-
"description": "
|
|
40746
|
+
"description": "Specifies the horizontal alignment of the table within its parent element. The possible enumerated values are left, center, and right. Use the margin-inline-start and margin-inline-end CSS properties instead, as this attribute is deprecated.",
|
|
40757
40747
|
"deprecated": true
|
|
40758
40748
|
},
|
|
40759
40749
|
"bgcolor": {
|
|
40760
|
-
"description": "
|
|
40750
|
+
"description": "Defines the background color of the table. The value is an HTML color; either a 6-digit hexadecimal RGB code, prefixed by a '#', or a color keyword. Other CSS <color> values are not supported. Use the background-color CSS property instead, as this attribute is deprecated.",
|
|
40761
40751
|
"deprecated": true
|
|
40762
40752
|
},
|
|
40763
40753
|
"border": {
|
|
40764
|
-
"description": "
|
|
40754
|
+
"description": "Defines, as a non-negative integer value (in pixels), the size of the frame surrounding the table. If set to 0, the frame attribute is set to void. Use the border CSS property instead, as this attribute is deprecated.",
|
|
40765
40755
|
"deprecated": true
|
|
40766
40756
|
},
|
|
40767
40757
|
"cellpadding": {
|
|
40768
|
-
"description": "
|
|
40758
|
+
"description": "Defines the space between the content of a cell and its border, displayed or not. If the cellpadding's length is defined in pixels, this pixel-sized space will be applied to all four sides of the cell's content. If the length is defined using a percentage value, the content will be centered and the total vertical space (top and bottom) will represent this value. The same is true for the total horizontal space (left and right). Apply the border-collapse CSS property to the <table> element, with its value set to collapse, and the padding CSS property to the <td> elements instead, as this attribute is deprecated.",
|
|
40769
40759
|
"deprecated": true
|
|
40770
40760
|
},
|
|
40771
40761
|
"cellspacing": {
|
|
40772
|
-
"description": "
|
|
40762
|
+
"description": "Defines the size of the space between two cells in a percentage value or pixels. The attribute is applied both horizontally and vertically, to the space between the top of the table and the cells of the first row, the left of the table and the first column, the right of the table and the last column and the bottom of the table and the last row. Apply the border-spacing CSS property to the <table> element instead, as this attribute is deprecated. border-spacing does not have any effect if the border-collapse CSS property is set to collapse.",
|
|
40773
40763
|
"deprecated": true
|
|
40774
40764
|
},
|
|
40775
40765
|
"frame": {
|
|
40776
|
-
"description": "
|
|
40766
|
+
"description": "Defines which side of the frame surrounding the table must be displayed. The possible enumerated values are void, above, below, hsides, vsides, lhs, rhs, box and border. Use the border-style and border-width CSS properties instead, as this attribute is deprecated.",
|
|
40777
40767
|
"deprecated": true
|
|
40778
40768
|
},
|
|
40779
40769
|
"rules": {
|
|
40780
|
-
"description": "
|
|
40770
|
+
"description": "Defines where rules (borders) are displayed in the table. The possible enumerated values are none (default value), groups (<thead>, <tbody>, and <tfoot> elements), rows (horizontal lines), cols (vertical lines), and all (border around every cell). Use the border CSS property on the appropriate table-related elements, as well as on the <table> itself, instead, as this attribute is deprecated.",
|
|
40781
40771
|
"deprecated": true
|
|
40782
40772
|
},
|
|
40783
40773
|
"summary": {
|
|
40784
|
-
"description": "
|
|
40774
|
+
"description": "Defines an alternative text that summarizes the content of the table. Use the <caption> element instead, as this attribute is deprecated.",
|
|
40785
40775
|
"deprecated": true
|
|
40786
40776
|
},
|
|
40787
40777
|
"width": {
|
|
40788
|
-
"description": "
|
|
40778
|
+
"description": "Specifies the width of the table. Use the width CSS property instead, as this attribute is deprecated. Note: While no HTML specification includes height as a <table> attribute, some browsers support a non-standard interpretation of height. The unitless value sets a minimum absolute height in pixels. If set as a percent value, the minimum table height will be relative to the parent container's height. Use the min-height CSS property instead, as this attribute is deprecated.",
|
|
40789
40779
|
"deprecated": true
|
|
40790
40780
|
}
|
|
40791
40781
|
}
|
|
@@ -40793,7 +40783,7 @@
|
|
|
40793
40783
|
{
|
|
40794
40784
|
"name": "tbody",
|
|
40795
40785
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody",
|
|
40796
|
-
"description": "The <tbody> HTML element encapsulates a set of table rows (<tr> elements), indicating that they comprise the body of
|
|
40786
|
+
"description": "The <tbody> HTML element encapsulates a set of table rows (<tr> elements), indicating that they comprise the body of a table's (main) data.",
|
|
40797
40787
|
"categories": [],
|
|
40798
40788
|
"contentModel": {
|
|
40799
40789
|
"contents": [
|
|
@@ -40814,23 +40804,23 @@
|
|
|
40814
40804
|
},
|
|
40815
40805
|
"attributes": {
|
|
40816
40806
|
"align": {
|
|
40817
|
-
"description": "
|
|
40807
|
+
"description": "Specifies the horizontal alignment of each body cell. The possible enumerated values are left, center, right, justify, and char. When supported, the char value aligns the textual content on the character defined in the char attribute and on offset defined by the charoff attribute. Use the text-align CSS property instead, as this attribute is deprecated.",
|
|
40818
40808
|
"deprecated": true
|
|
40819
40809
|
},
|
|
40820
40810
|
"bgcolor": {
|
|
40821
|
-
"description": "
|
|
40811
|
+
"description": "Defines the background color of each body cell. The value is an HTML color; either a 6-digit hexadecimal RGB code, prefixed by a '#', or a color keyword. Other CSS <color> values are not supported. Use the background-color CSS property instead, as this attribute is deprecated.",
|
|
40822
40812
|
"deprecated": true
|
|
40823
40813
|
},
|
|
40824
40814
|
"char": {
|
|
40825
|
-
"description": "
|
|
40815
|
+
"description": "Specifies the alignment of the content to a character of each body cell. Typical values for this include a period (.) when attempting to align numbers or monetary values. If align is not set to char, this attribute is ignored.",
|
|
40826
40816
|
"deprecated": true
|
|
40827
40817
|
},
|
|
40828
40818
|
"charoff": {
|
|
40829
|
-
"description": "
|
|
40819
|
+
"description": "Specifies the number of characters to offset the body cell content from the alignment character specified by the char attribute.",
|
|
40830
40820
|
"deprecated": true
|
|
40831
40821
|
},
|
|
40832
40822
|
"valign": {
|
|
40833
|
-
"description": "
|
|
40823
|
+
"description": "Specifies the vertical alignment of each body cell. The possible enumerated values are baseline, bottom, middle, and top. Use the vertical-align CSS property instead, as this attribute is deprecated.",
|
|
40834
40824
|
"deprecated": true
|
|
40835
40825
|
}
|
|
40836
40826
|
}
|
|
@@ -40838,7 +40828,7 @@
|
|
|
40838
40828
|
{
|
|
40839
40829
|
"name": "td",
|
|
40840
40830
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td",
|
|
40841
|
-
"description": "The <td> HTML element defines a cell of a table that contains data
|
|
40831
|
+
"description": "The <td> HTML element defines a cell of a table that contains data and may be used as a child of the <tr> element.",
|
|
40842
40832
|
"categories": [],
|
|
40843
40833
|
"contentModel": {
|
|
40844
40834
|
"contents": [
|
|
@@ -40871,52 +40861,52 @@
|
|
|
40871
40861
|
},
|
|
40872
40862
|
"attributes": {
|
|
40873
40863
|
"abbr": {
|
|
40874
|
-
"description": "
|
|
40864
|
+
"description": "Contains a short abbreviated description of the data cell's content. Some user-agents, such as speech readers, may present this description before the content itself. Put the abbreviated content inside the cell and place the (longer) description in the title attribute, as this attribute is deprecated. Or, preferably, include the content within the data cell, and use CSS to visually clip overflowing text.",
|
|
40875
40865
|
"deprecated": true
|
|
40876
40866
|
},
|
|
40877
40867
|
"align": {
|
|
40878
|
-
"description": "
|
|
40868
|
+
"description": "Specifies the horizontal alignment of the data cell. The possible enumerated values are left, center, right, justify, and char. When supported, the char value aligns the textual content on the character defined in the char attribute and the offset defined by the charoff attribute. Use the text-align CSS property instead, as this attribute is deprecated.",
|
|
40879
40869
|
"deprecated": true
|
|
40880
40870
|
},
|
|
40881
40871
|
"axis": {
|
|
40882
|
-
"description": "
|
|
40872
|
+
"description": "Contains a list of space-separated strings, each corresponding to the id attribute of a group of cells that the data cell applies to.",
|
|
40883
40873
|
"deprecated": true
|
|
40884
40874
|
},
|
|
40885
40875
|
"bgcolor": {
|
|
40886
|
-
"description": "
|
|
40876
|
+
"description": "Defines the background color of the data cell. The value is an HTML color; either a 6-digit hexadecimal RGB code, prefixed by a '#', or a color keyword. Other CSS <color> values are not supported. Use the background-color CSS property instead, as this attribute is deprecated.",
|
|
40887
40877
|
"deprecated": true
|
|
40888
40878
|
},
|
|
40889
40879
|
"char": {
|
|
40890
|
-
"description": "
|
|
40880
|
+
"description": "Specifies the alignment of the content to a character of the data cell. Typical values for this include a period (.) when attempting to align numbers or monetary values. If align is not set to char, this attribute is ignored.",
|
|
40891
40881
|
"deprecated": true
|
|
40892
40882
|
},
|
|
40893
40883
|
"charoff": {
|
|
40894
|
-
"description": "
|
|
40884
|
+
"description": "Specifies the number of characters to offset the data cell content from the alignment character specified by the char attribute.",
|
|
40895
40885
|
"deprecated": true
|
|
40896
40886
|
},
|
|
40897
40887
|
"colspan": {
|
|
40898
|
-
"description": "
|
|
40888
|
+
"description": "Contains a non-negative integer value that indicates how many columns the data cell spans or extends. The default value is 1. User agents dismiss values higher than 1000 as incorrect, setting to the default value (1)."
|
|
40899
40889
|
},
|
|
40900
40890
|
"headers": {
|
|
40901
|
-
"description": "
|
|
40891
|
+
"description": "Contains a list of space-separated strings, each corresponding to the id attribute of the <th> elements that provide headings for this table cell."
|
|
40902
40892
|
},
|
|
40903
40893
|
"height": {
|
|
40904
|
-
"description": "
|
|
40894
|
+
"description": "Defines a recommended data cell height. Use the height CSS property instead, as this attribute is deprecated.",
|
|
40905
40895
|
"deprecated": true
|
|
40906
40896
|
},
|
|
40907
40897
|
"rowspan": {
|
|
40908
|
-
"description": "
|
|
40898
|
+
"description": "Contains a non-negative integer value that indicates for how many rows the data cell spans or extends. The default value is 1; if its value is set to 0, it extends until the end of the table grouping section (<thead>, <tbody>, <tfoot>, even if implicitly defined), that the cell belongs to. Values higher than 65534 are clipped to 65534."
|
|
40909
40899
|
},
|
|
40910
40900
|
"scope": {
|
|
40911
|
-
"description": "
|
|
40901
|
+
"description": "Defines the cells that the header (defined in the <th>) element relates to. The possible enumerated values are row, col, rowgroup, and colgroup. Only use this attribute with the <th> element to define the row or column for which it is a header, as this attribute is deprecated for the <td> element.",
|
|
40912
40902
|
"deprecated": true
|
|
40913
40903
|
},
|
|
40914
40904
|
"valign": {
|
|
40915
|
-
"description": "
|
|
40905
|
+
"description": "Specifies the vertical alignment of the data cell. The possible enumerated values are baseline, bottom, middle, and top. Use the vertical-align CSS property instead, as this attribute is deprecated.",
|
|
40916
40906
|
"deprecated": true
|
|
40917
40907
|
},
|
|
40918
40908
|
"width": {
|
|
40919
|
-
"description": "
|
|
40909
|
+
"description": "Defines a recommended data cell width. Use the width CSS property instead, as this attribute is deprecated.",
|
|
40920
40910
|
"deprecated": true
|
|
40921
40911
|
}
|
|
40922
40912
|
}
|
|
@@ -40924,7 +40914,7 @@
|
|
|
40924
40914
|
{
|
|
40925
40915
|
"name": "template",
|
|
40926
40916
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template",
|
|
40927
|
-
"description": "The <template> HTML element
|
|
40917
|
+
"description": "The <template> HTML element serves as a mechanism for holding HTML fragments, which can either be used later via JavaScript or generated immediately into shadow DOM.",
|
|
40928
40918
|
"categories": ["#metadata", "#flow", "#phrasing", "#script-supporting"],
|
|
40929
40919
|
"contentModel": {
|
|
40930
40920
|
"contents": true
|
|
@@ -41060,7 +41050,7 @@
|
|
|
41060
41050
|
{
|
|
41061
41051
|
"name": "tfoot",
|
|
41062
41052
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot",
|
|
41063
|
-
"description": "The <tfoot> HTML element
|
|
41053
|
+
"description": "The <tfoot> HTML element encapsulates a set of table rows (<tr> elements), indicating that they comprise the foot of a table with information about the table's columns. This is usually a summary of the columns, e.g., a sum of the given numbers in a column.",
|
|
41064
41054
|
"categories": [],
|
|
41065
41055
|
"contentModel": {
|
|
41066
41056
|
"contents": [
|
|
@@ -41081,23 +41071,23 @@
|
|
|
41081
41071
|
},
|
|
41082
41072
|
"attributes": {
|
|
41083
41073
|
"align": {
|
|
41084
|
-
"description": "
|
|
41074
|
+
"description": "Specifies the horizontal alignment of each foot cell. The possible enumerated values are left, center, right, justify, and char. When supported, the char value aligns the textual content on the character defined in the char attribute and on offset defined by the charoff attribute. Use the text-align CSS property instead, as this attribute is deprecated.",
|
|
41085
41075
|
"deprecated": true
|
|
41086
41076
|
},
|
|
41087
41077
|
"bgcolor": {
|
|
41088
|
-
"description": "
|
|
41078
|
+
"description": "Defines the background color of each foot cell. The value is an HTML color; either a 6-digit hexadecimal RGB code, prefixed by a '#', or a color keyword. Other CSS <color> values are not supported. Use the background-color CSS property instead, as this attribute is deprecated.",
|
|
41089
41079
|
"deprecated": true
|
|
41090
41080
|
},
|
|
41091
41081
|
"char": {
|
|
41092
|
-
"description": "
|
|
41082
|
+
"description": "Specifies the alignment of the content to a character of each foot cell. Typical values for this include a period (.) when attempting to align numbers or monetary values. If align is not set to char, this attribute is ignored.",
|
|
41093
41083
|
"deprecated": true
|
|
41094
41084
|
},
|
|
41095
41085
|
"charoff": {
|
|
41096
|
-
"description": "
|
|
41086
|
+
"description": "Specifies the number of characters to offset the foot cell content from the alignment character specified by the char attribute.",
|
|
41097
41087
|
"deprecated": true
|
|
41098
41088
|
},
|
|
41099
41089
|
"valign": {
|
|
41100
|
-
"description": "
|
|
41090
|
+
"description": "Specifies the vertical alignment of each foot cell. The possible enumerated values are baseline, bottom, middle, and top. Use the vertical-align CSS property instead, as this attribute is deprecated.",
|
|
41101
41091
|
"deprecated": true
|
|
41102
41092
|
}
|
|
41103
41093
|
}
|
|
@@ -41105,7 +41095,7 @@
|
|
|
41105
41095
|
{
|
|
41106
41096
|
"name": "th",
|
|
41107
41097
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th",
|
|
41108
|
-
"description": "The <th> HTML element defines a cell as the header of a group of table cells. The exact nature of this group is defined by the scope and headers attributes.",
|
|
41098
|
+
"description": "The <th> HTML element defines a cell as the header of a group of table cells and may be used as a child of the <tr> element. The exact nature of this group is defined by the scope and headers attributes.",
|
|
41109
41099
|
"categories": [],
|
|
41110
41100
|
"contentModel": {
|
|
41111
41101
|
"contents": [
|
|
@@ -41153,37 +41143,37 @@
|
|
|
41153
41143
|
"type": "Any"
|
|
41154
41144
|
},
|
|
41155
41145
|
"align": {
|
|
41156
|
-
"description": "
|
|
41146
|
+
"description": "Specifies the horizontal alignment of the header cell. The possible enumerated values are left, center, right, justify, and char. When supported, the char value aligns the textual content on the character defined in the char attribute and the offset defined by the charoff attribute. Use the text-align CSS property instead, as this attribute is deprecated.",
|
|
41157
41147
|
"deprecated": true
|
|
41158
41148
|
},
|
|
41159
41149
|
"axis": {
|
|
41160
|
-
"description": "
|
|
41150
|
+
"description": "Contains a list of space-separated strings, each corresponding to the id attribute of a group of cells that the header cell applies to. Use the scope attribute instead, as this attribute is deprecated.",
|
|
41161
41151
|
"deprecated": true
|
|
41162
41152
|
},
|
|
41163
41153
|
"bgcolor": {
|
|
41164
|
-
"description": "
|
|
41154
|
+
"description": "Defines the background color of the header cell. The value is an HTML color; either a 6-digit hexadecimal RGB code, prefixed by a '#', or a color keyword. Other CSS <color> values are not supported. Use the background-color CSS property instead, as this attribute is deprecated.",
|
|
41165
41155
|
"deprecated": true
|
|
41166
41156
|
},
|
|
41167
41157
|
"char": {
|
|
41168
|
-
"description": "
|
|
41158
|
+
"description": "Specifies the alignment of the content to a character of the header cell. Typical values for this include a period (.) when attempting to align numbers or monetary values. If align is not set to char, this attribute is ignored.",
|
|
41169
41159
|
"deprecated": true
|
|
41170
41160
|
},
|
|
41171
41161
|
"charoff": {
|
|
41172
|
-
"description": "
|
|
41162
|
+
"description": "Specifies the number of characters to offset the header cell content from the alignment character specified by the char attribute.",
|
|
41173
41163
|
"deprecated": true
|
|
41174
41164
|
},
|
|
41175
41165
|
"colspan": {
|
|
41176
|
-
"description": "
|
|
41166
|
+
"description": "A non-negative integer value indicating how many columns the header cell spans or extends. The default value is 1. User agents dismiss values higher than 1000 as incorrect, defaulting such values to 1."
|
|
41177
41167
|
},
|
|
41178
41168
|
"headers": {
|
|
41179
|
-
"description": "
|
|
41169
|
+
"description": "A list of space-separated strings corresponding to the id attributes of the <th> elements that provide the headers for this header cell."
|
|
41180
41170
|
},
|
|
41181
41171
|
"height": {
|
|
41182
|
-
"description": "
|
|
41172
|
+
"description": "Defines a recommended header cell height. Use the height CSS property instead, as this attribute is deprecated.",
|
|
41183
41173
|
"deprecated": true
|
|
41184
41174
|
},
|
|
41185
41175
|
"rowspan": {
|
|
41186
|
-
"description": "
|
|
41176
|
+
"description": "A non-negative integer value indicating how many rows the header cell spans or extends. The default value is 1; if its value is set to 0, the header cell will extends to the end of the table grouping section (<thead>, <tbody>, <tfoot>, even if implicitly defined), that the <th> belongs to. Values higher than 65534 are clipped at 65534."
|
|
41187
41177
|
},
|
|
41188
41178
|
"scope": {
|
|
41189
41179
|
"type": {
|
|
@@ -41193,11 +41183,11 @@
|
|
|
41193
41183
|
}
|
|
41194
41184
|
},
|
|
41195
41185
|
"valign": {
|
|
41196
|
-
"description": "
|
|
41186
|
+
"description": "Specifies the vertical alignment of the header cell. The possible enumerated values are baseline, bottom, middle, and top. Use the vertical-align CSS property instead, as this attribute is deprecated.",
|
|
41197
41187
|
"deprecated": true
|
|
41198
41188
|
},
|
|
41199
41189
|
"width": {
|
|
41200
|
-
"description": "
|
|
41190
|
+
"description": "Defines a recommended header cell width. Use the width CSS property instead, as this attribute is deprecated.",
|
|
41201
41191
|
"deprecated": true
|
|
41202
41192
|
}
|
|
41203
41193
|
}
|
|
@@ -41205,7 +41195,7 @@
|
|
|
41205
41195
|
{
|
|
41206
41196
|
"name": "thead",
|
|
41207
41197
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead",
|
|
41208
|
-
"description": "The <thead> HTML element
|
|
41198
|
+
"description": "The <thead> HTML element encapsulates a set of table rows (<tr> elements), indicating that they comprise the head of a table with information about the table's columns. This is usually in the form of column headers (<th> elements).",
|
|
41209
41199
|
"categories": [],
|
|
41210
41200
|
"contentModel": {
|
|
41211
41201
|
"contents": [
|
|
@@ -41226,23 +41216,23 @@
|
|
|
41226
41216
|
},
|
|
41227
41217
|
"attributes": {
|
|
41228
41218
|
"align": {
|
|
41229
|
-
"description": "
|
|
41219
|
+
"description": "Specifies the horizontal alignment of each head cell. The possible enumerated values are left, center, right, justify, and char. When supported, the char value aligns the textual content on the character defined in the char attribute and the offset defined by the charoff attribute. Use the text-align CSS property instead, as this attribute is deprecated.",
|
|
41230
41220
|
"deprecated": true
|
|
41231
41221
|
},
|
|
41232
41222
|
"bgcolor": {
|
|
41233
|
-
"description": "
|
|
41223
|
+
"description": "Defines the background color of each head cell. The value is an HTML color; either a 6-digit hexadecimal RGB code, prefixed by a '#', or a color keyword. Other CSS <color> values are not supported. Use the background-color CSS property instead, as this attribute is deprecated.",
|
|
41234
41224
|
"deprecated": true
|
|
41235
41225
|
},
|
|
41236
41226
|
"char": {
|
|
41237
|
-
"description": "
|
|
41227
|
+
"description": "Specifies the alignment of the content to a character of each head cell. If align is not set to char, this attribute is ignored.",
|
|
41238
41228
|
"deprecated": true
|
|
41239
41229
|
},
|
|
41240
41230
|
"charoff": {
|
|
41241
|
-
"description": "
|
|
41231
|
+
"description": "Specifies the number of characters to offset the head cell content from the alignment character specified by the char attribute.",
|
|
41242
41232
|
"deprecated": true
|
|
41243
41233
|
},
|
|
41244
41234
|
"valign": {
|
|
41245
|
-
"description": "
|
|
41235
|
+
"description": "Specifies the vertical alignment of each head cell. The possible enumerated values are baseline, bottom, middle, and top. Use the vertical-align CSS property instead, as this attribute is deprecated.",
|
|
41246
41236
|
"deprecated": true
|
|
41247
41237
|
}
|
|
41248
41238
|
}
|
|
@@ -41333,23 +41323,23 @@
|
|
|
41333
41323
|
},
|
|
41334
41324
|
"attributes": {
|
|
41335
41325
|
"align": {
|
|
41336
|
-
"description": "
|
|
41326
|
+
"description": "Specifies the horizontal alignment of each row cell. The possible enumerated values are left, center, right, justify, and char. When supported, the char value aligns the textual content on the character defined in the char attribute and on offset defined by the charoff attribute. Use the text-align CSS property instead, as this attribute is deprecated.",
|
|
41337
41327
|
"deprecated": true
|
|
41338
41328
|
},
|
|
41339
41329
|
"bgcolor": {
|
|
41340
|
-
"description": "
|
|
41330
|
+
"description": "Defines the background color of each row cell. The value is an HTML color; either a 6-digit hexadecimal RGB code, prefixed by a '#', or a color keyword. Other CSS <color> values are not supported. Use the background-color CSS property instead, as this attribute is deprecated.",
|
|
41341
41331
|
"deprecated": true
|
|
41342
41332
|
},
|
|
41343
41333
|
"char": {
|
|
41344
|
-
"description": "
|
|
41334
|
+
"description": "Specifies the alignment of the content to a character of each row cell. Typical values for this include a period (.) when attempting to align numbers or monetary values. If align is not set to char, this attribute is ignored.",
|
|
41345
41335
|
"deprecated": true
|
|
41346
41336
|
},
|
|
41347
41337
|
"charoff": {
|
|
41348
|
-
"description": "
|
|
41338
|
+
"description": "Specifies the number of characters to offset the row cell content from the alignment character specified by the char attribute.",
|
|
41349
41339
|
"deprecated": true
|
|
41350
41340
|
},
|
|
41351
41341
|
"valign": {
|
|
41352
|
-
"description": "
|
|
41342
|
+
"description": "Specifies the vertical alignment of each row cell. The possible enumerated values are baseline, bottom, middle, and top. Use the vertical-align CSS property instead, as this attribute is deprecated.",
|
|
41353
41343
|
"deprecated": true
|
|
41354
41344
|
}
|
|
41355
41345
|
}
|
|
@@ -41609,8 +41599,7 @@
|
|
|
41609
41599
|
"description": "This enumerated attribute indicates whether to use CORS to fetch the related video. CORS-enabled resources can be reused in the <canvas> element without being tainted. The allowed values are: anonymous Sends a cross-origin request without a credential. In other words, it sends the Origin: HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the Access-Control-Allow-Origin: HTTP header), the resource will be tainted, and its usage restricted. use-credentials Sends a cross-origin request with a credential. In other words, it sends the Origin: HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through Access-Control-Allow-Credentials: HTTP header), the resource will be tainted and its usage restricted. When not present, the resource is fetched without a CORS request (i.e. without sending the Origin: HTTP header), preventing its non-tainted use in <canvas> elements. If invalid, it is handled as if the enumerated keyword anonymous was used. See CORS settings attributes for additional information."
|
|
41610
41600
|
},
|
|
41611
41601
|
"disablepictureinpicture": {
|
|
41612
|
-
"description": "Prevents the browser from suggesting a Picture-in-Picture context menu or to request Picture-in-Picture automatically in some cases."
|
|
41613
|
-
"experimental": true
|
|
41602
|
+
"description": "Prevents the browser from suggesting a Picture-in-Picture context menu or to request Picture-in-Picture automatically in some cases."
|
|
41614
41603
|
},
|
|
41615
41604
|
"disableremoteplayback": {
|
|
41616
41605
|
"description": "A Boolean attribute used to disable the capability of remote playback in devices that are attached using wired (HDMI, DVI, etc.) and wireless technologies (Miracast, Chromecast, DLNA, AirPlay, etc.). In Safari, you can use x-webkit-airplay=\"deny\" as a fallback."
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/html-spec",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-rc.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>",
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
"gen:prettier": "prettier --write index.json"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@markuplint/spec-generator": "4.0.0-
|
|
21
|
-
"@markuplint/test-tools": "4.0.0-
|
|
20
|
+
"@markuplint/spec-generator": "4.0.0-rc.0",
|
|
21
|
+
"@markuplint/test-tools": "4.0.0-rc.0"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@markuplint/ml-spec": "4.0.0-
|
|
24
|
+
"@markuplint/ml-spec": "4.0.0-rc.0"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "3fdeb45cb69ed52b3a215a7520cea1181601443f"
|
|
27
27
|
}
|