@markuplint/html-spec 3.0.0-alpha.3 → 3.0.0-alpha.5
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 +103 -26
- package/package.json +3 -3
- package/src/spec-common.contents.json +78 -0
- package/src/spec.script.json +1 -1
- package/src/spec.svg_desc.json +1 -1
- package/src/spec.svg_metadata.json +1 -1
- package/src/spec.svg_script.json +1 -1
- package/src/spec.svg_title.json +1 -1
package/index.json
CHANGED
|
@@ -22268,6 +22268,83 @@
|
|
|
22268
22268
|
"textarea",
|
|
22269
22269
|
"video[controls]"
|
|
22270
22270
|
],
|
|
22271
|
+
"#palpable": [
|
|
22272
|
+
"a",
|
|
22273
|
+
"abbr",
|
|
22274
|
+
"address",
|
|
22275
|
+
"article",
|
|
22276
|
+
"aside",
|
|
22277
|
+
"audio[controls]",
|
|
22278
|
+
"b",
|
|
22279
|
+
"bdi",
|
|
22280
|
+
"bdo",
|
|
22281
|
+
"blockquote",
|
|
22282
|
+
"button",
|
|
22283
|
+
"canvas",
|
|
22284
|
+
"cite",
|
|
22285
|
+
"code",
|
|
22286
|
+
"data",
|
|
22287
|
+
"details",
|
|
22288
|
+
"dfn",
|
|
22289
|
+
"div",
|
|
22290
|
+
"dl:has(>:is(dt+dd))",
|
|
22291
|
+
"em",
|
|
22292
|
+
"embed",
|
|
22293
|
+
"fieldset",
|
|
22294
|
+
"figure",
|
|
22295
|
+
"footer",
|
|
22296
|
+
"form",
|
|
22297
|
+
"h1",
|
|
22298
|
+
"h2",
|
|
22299
|
+
"h3",
|
|
22300
|
+
"h4",
|
|
22301
|
+
"h5",
|
|
22302
|
+
"h6",
|
|
22303
|
+
"header",
|
|
22304
|
+
"hgroup",
|
|
22305
|
+
"i",
|
|
22306
|
+
"iframe",
|
|
22307
|
+
"img",
|
|
22308
|
+
"input:not([type='hidden' i])",
|
|
22309
|
+
"ins",
|
|
22310
|
+
"kbd",
|
|
22311
|
+
"label",
|
|
22312
|
+
"main",
|
|
22313
|
+
"map",
|
|
22314
|
+
"mark",
|
|
22315
|
+
"math",
|
|
22316
|
+
"menu:has(>li)",
|
|
22317
|
+
"meter",
|
|
22318
|
+
"nav",
|
|
22319
|
+
"object",
|
|
22320
|
+
"ol:has(>li)",
|
|
22321
|
+
"output",
|
|
22322
|
+
"p",
|
|
22323
|
+
"pre",
|
|
22324
|
+
"progress",
|
|
22325
|
+
"q",
|
|
22326
|
+
"ruby",
|
|
22327
|
+
"s",
|
|
22328
|
+
"samp",
|
|
22329
|
+
"section",
|
|
22330
|
+
"select",
|
|
22331
|
+
"small",
|
|
22332
|
+
"span",
|
|
22333
|
+
"strong",
|
|
22334
|
+
"sub",
|
|
22335
|
+
"sup ",
|
|
22336
|
+
"svg",
|
|
22337
|
+
"table",
|
|
22338
|
+
"text",
|
|
22339
|
+
"area",
|
|
22340
|
+
"time",
|
|
22341
|
+
"u",
|
|
22342
|
+
"ul:has(>li)",
|
|
22343
|
+
"var",
|
|
22344
|
+
"video",
|
|
22345
|
+
"#custom",
|
|
22346
|
+
"#text"
|
|
22347
|
+
],
|
|
22271
22348
|
"#script-supporting": ["script", "template"],
|
|
22272
22349
|
"#SVGAnimation": [
|
|
22273
22350
|
"svg|animate",
|
|
@@ -22482,7 +22559,7 @@
|
|
|
22482
22559
|
"description": "Causes the browser to treat the linked URL as a download. Can be used with or without a value: Without a value, the browser will suggest a filename/extension, generated from various sources: The Content-Disposition HTTP header The final segment in the URL path The media type (from the Content-Type header, the start of a data: URL, or Blob.type for a blob: URL) Defining a value suggests it as the filename. / and \\ characters are converted to underscores (_). Filesystems may forbid other characters in filenames, so browsers will adjust the suggested name if necessary. Note: download only works for same-origin URLs, or the blob: and data: schemes. How browsers treat downloads varies by browser, user settings, and other factors. The user may be prompted before a download starts, or the file may be saved automatically, or it may open automatically, either in an external application or in the browser itself. If the Content-Disposition header has different information from the download attribute, resulting behavior may differ: If the header specifies a filename, it takes priority over a filename specified in the download attribute. If the header specifies a disposition of inline, Chrome and Firefox prioritize the attribute and treat it as a download. Old Firefox versions (before 82) prioritize the header and will display the content inline."
|
|
22483
22560
|
},
|
|
22484
22561
|
"href": {
|
|
22485
|
-
"description": "The URL that the hyperlink points to. Links are not restricted to HTTP-based URLs — they can use any URL scheme supported by browsers: Sections of a page with fragment URLs Pieces of media files with media fragments Telephone numbers with tel: URLs Email addresses with mailto: URLs While web browsers may not support other URL schemes,
|
|
22562
|
+
"description": "The URL that the hyperlink points to. Links are not restricted to HTTP-based URLs — they can use any URL scheme supported by browsers: Sections of a page with fragment URLs Pieces of media files with media fragments Telephone numbers with tel: URLs Email addresses with mailto: URLs While web browsers may not support other URL schemes, websites can with registerProtocolHandler()"
|
|
22486
22563
|
},
|
|
22487
22564
|
"hreflang": {
|
|
22488
22565
|
"description": "Hints at the human language of the linked URL. No built-in functionality. Allowed values are the same as the global lang attribute."
|
|
@@ -22509,7 +22586,7 @@
|
|
|
22509
22586
|
"deprecated": true
|
|
22510
22587
|
},
|
|
22511
22588
|
"target": {
|
|
22512
|
-
"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.
|
|
22589
|
+
"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."
|
|
22513
22590
|
},
|
|
22514
22591
|
"type": {
|
|
22515
22592
|
"description": "Hints at the linked URL's format with a MIME type. No built-in functionality."
|
|
@@ -22879,7 +22956,7 @@
|
|
|
22879
22956
|
"nonStandard": true
|
|
22880
22957
|
},
|
|
22881
22958
|
"crossorigin": {
|
|
22882
|
-
"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
|
|
22959
|
+
"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."
|
|
22883
22960
|
},
|
|
22884
22961
|
"disableremoteplayback": {
|
|
22885
22962
|
"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.). See this proposed specification for more information. Note: In Safari, you can use x-webkit-airplay=\"deny\" as a fallback.",
|
|
@@ -23165,7 +23242,7 @@
|
|
|
23165
23242
|
"deprecated": true
|
|
23166
23243
|
},
|
|
23167
23244
|
"background": {
|
|
23168
|
-
"description": "URI of
|
|
23245
|
+
"description": "URI of an image to use as a background. Do not use this attribute! Use the CSS background property on the element instead.",
|
|
23169
23246
|
"deprecated": true
|
|
23170
23247
|
},
|
|
23171
23248
|
"bgcolor": {
|
|
@@ -23385,7 +23462,7 @@
|
|
|
23385
23462
|
"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."
|
|
23386
23463
|
},
|
|
23387
23464
|
"formenctype": {
|
|
23388
|
-
"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:
|
|
23465
|
+
"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: Used 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."
|
|
23389
23466
|
},
|
|
23390
23467
|
"formmethod": {
|
|
23391
23468
|
"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."
|
|
@@ -23440,7 +23517,7 @@
|
|
|
23440
23517
|
"defaultValue": "150"
|
|
23441
23518
|
},
|
|
23442
23519
|
"moz-opaque": {
|
|
23443
|
-
"description": "Lets the canvas know whether
|
|
23520
|
+
"description": "Lets the canvas know whether translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized. This is only supported by Mozilla-based browsers; use the standardized canvas.getContext('2d', { alpha: false }) instead.",
|
|
23444
23521
|
"deprecated": true,
|
|
23445
23522
|
"nonStandard": true
|
|
23446
23523
|
},
|
|
@@ -23605,7 +23682,7 @@
|
|
|
23605
23682
|
"defaultValue": "1"
|
|
23606
23683
|
},
|
|
23607
23684
|
"valign": {
|
|
23608
|
-
"description": "This attribute specifies the vertical alignment of the text within each cell of the column. Possible values for this attribute are: baseline, which will put the text as close to the bottom of the cell as it is possible, but align it on the baseline of the characters instead of the bottom of them. If characters are all of the size, this has the same effect as bottom. bottom, which will put the text as close to the bottom of the cell as it is possible; middle, which will center the text in the cell; and top, which will put the text as close to the top of the cell as it is possible. Note: Do not try to set the vertical-align property on a selector giving a <col> element. Because <td> elements are not descendant of the <col> element, they won't inherit it. If the table doesn't use a colspan attribute, use the td:nth-child(an+b) CSS selector where a is the total number of the columns in the table and b is the ordinal position of the column in the table. Only after this selector the vertical-align property can be used. 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.",
|
|
23685
|
+
"description": "This attribute specifies the vertical alignment of the text within each cell of the column. Possible values for this attribute are: baseline, which will put the text as close to the bottom of the cell as it is possible, but align it on the baseline of the characters instead of the bottom of them. If characters are all of the size, this has the same effect as bottom. bottom, which will put the text as close to the bottom of the cell as it is possible; middle, which will center the text in the cell; and top, which will put the text as close to the top of the cell as it is possible. Note: Do not try to set the vertical-align property on a selector giving a <col> element. Because <td> elements are not descendant of the <col> element, they won't inherit it. If the table doesn't use a colspan attribute, use the td:nth-child(an+b) CSS selector where 'a' is the total number of the columns in the table and 'b' is the ordinal position of the column in the table. Only after this selector the vertical-align property can be used. 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.",
|
|
23609
23686
|
"deprecated": true
|
|
23610
23687
|
},
|
|
23611
23688
|
"width": {
|
|
@@ -23646,7 +23723,7 @@
|
|
|
23646
23723
|
},
|
|
23647
23724
|
"attributes": {
|
|
23648
23725
|
"align": {
|
|
23649
|
-
"description": "This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are: left, aligning the content to the left of the cell center, centering the content in the cell right, aligning the content to the right of the cell justify, inserting spaces into the textual content so that the content is justified in the cell char, aligning the textual content on a special character with a minimal offset, defined by the char and charoff attributes. If this attribute is not set, the left value is assumed. The descendant <col> elements may override this value using their own align attribute. Note: Do not try to set the text-align property on a selector giving a <colgroup> element. Because <td> elements are not descendant of the <colgroup> element, they won't inherit it. If the table doesn't use a colspan attribute, use one td:nth-child(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 this column in the table. Only after this selector the text-align property can be used. 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.",
|
|
23726
|
+
"description": "This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are: left, aligning the content to the left of the cell center, centering the content in the cell right, aligning the content to the right of the cell justify, inserting spaces into the textual content so that the content is justified in the cell char, aligning the textual content on a special character with a minimal offset, defined by the char and charoff attributes. If this attribute is not set, the left value is assumed. The descendant <col> elements may override this value using their own align attribute. Note: Do not try to set the text-align property on a selector giving a <colgroup> element. Because <td> elements are not descendant of the <colgroup> element, they won't inherit it. If the table doesn't use a colspan attribute, use one td:nth-child(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 this column in the table. Only after this selector the text-align property can be used. 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.",
|
|
23650
23727
|
"deprecated": true
|
|
23651
23728
|
},
|
|
23652
23729
|
"bgcolor": {
|
|
@@ -23671,7 +23748,7 @@
|
|
|
23671
23748
|
"defaultValue": "1"
|
|
23672
23749
|
},
|
|
23673
23750
|
"valign": {
|
|
23674
|
-
"description": "This attribute specifies the vertical alignment of the text within each cell of the column. Possible values for this attribute are: baseline, which will put the text as close to the bottom of the cell as it is possible, but align it on the baseline of the characters instead of the bottom of them. If characters are all of the size, this has the same effect as bottom. bottom, which will put the text as close to the bottom of the cell as it is possible; middle, which will center the text in the cell; and top, which will put the text as close to the top of the cell as it is possible. Note: Do not try to set the vertical-align property on a selector giving a <colgroup> element. Because <td> elements are not descendant of the <colgroup> element, they won't inherit it. If the table doesn't use a colspan attribute, use the td:nth-child(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. Only after this selector the vertical-align property can be used. 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.",
|
|
23751
|
+
"description": "This attribute specifies the vertical alignment of the text within each cell of the column. Possible values for this attribute are: baseline, which will put the text as close to the bottom of the cell as it is possible, but align it on the baseline of the characters instead of the bottom of them. If characters are all of the size, this has the same effect as bottom. bottom, which will put the text as close to the bottom of the cell as it is possible; middle, which will center the text in the cell; and top, which will put the text as close to the top of the cell as it is possible. Note: Do not try to set the vertical-align property on a selector giving a <colgroup> element. Because <td> elements are not descendant of the <colgroup> element, they won't inherit it. If the table doesn't use a colspan attribute, use the td:nth-child(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. Only after this selector the vertical-align property can be used. 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.",
|
|
23675
23752
|
"deprecated": true
|
|
23676
23753
|
}
|
|
23677
23754
|
}
|
|
@@ -25724,7 +25801,7 @@
|
|
|
25724
25801
|
]
|
|
25725
25802
|
},
|
|
25726
25803
|
"autocorrect": {
|
|
25727
|
-
"description": "(Safari only). A string which indicates whether
|
|
25804
|
+
"description": "(Safari only). A string which indicates whether to activate automatic correction while the user is editing this field. Permitted values are: on Enable automatic correction of typos, as well as processing of text substitutions if any are configured. off Disable automatic correction and text substitutions.",
|
|
25728
25805
|
"nonStandard": true
|
|
25729
25806
|
},
|
|
25730
25807
|
"autofocus": {
|
|
@@ -26372,7 +26449,7 @@
|
|
|
26372
26449
|
"requiredEither": ["itemprop"]
|
|
26373
26450
|
},
|
|
26374
26451
|
"rev": {
|
|
26375
|
-
"description": "The value of this attribute shows the relationship of the current document to the linked document, as defined by the href attribute. The attribute thus defines the reverse relationship compared to the value of the rel attribute. Link type values for the attribute are similar to the possible values for rel. Note: Instead of rev, you should use the rel attribute with the opposite link type value. For example, to establish the reverse link for made, specify author. Also this attribute doesn't stand for \"revision\" and must not be used with a version number, even though many sites misuse it in this way.",
|
|
26452
|
+
"description": "The value of this attribute shows the relationship of the current document to the linked document, as defined by the href attribute. The attribute thus defines the reverse relationship compared to the value of the rel attribute. Link type values for the attribute are similar to the possible values for rel. Note: Instead of rev, you should use the rel attribute with the opposite link type value. For example, to establish the reverse link for made, specify author. Also, this attribute doesn't stand for \"revision\" and must not be used with a version number, even though many sites misuse it in this way.",
|
|
26376
26453
|
"obsolete": true,
|
|
26377
26454
|
"deprecated": true
|
|
26378
26455
|
},
|
|
@@ -26477,7 +26554,7 @@
|
|
|
26477
26554
|
{
|
|
26478
26555
|
"name": "mark",
|
|
26479
26556
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark",
|
|
26480
|
-
"description": "The <mark> HTML element represents text which is marked or highlighted for reference or notation purposes
|
|
26557
|
+
"description": "The <mark> HTML element represents text which is marked or highlighted for reference or notation purposes due to the marked passage's relevance in the enclosing context.",
|
|
26481
26558
|
"categories": ["#flow", "#phrasing", "#palpable"],
|
|
26482
26559
|
"contentModel": {
|
|
26483
26560
|
"contents": [
|
|
@@ -26565,7 +26642,7 @@
|
|
|
26565
26642
|
{
|
|
26566
26643
|
"name": "math",
|
|
26567
26644
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/math",
|
|
26568
|
-
"description": "The <math> element is the top-level MathML element, used to write a single mathematical formula. It can be placed in HTML content where flow content is permitted.",
|
|
26645
|
+
"description": "The <math> MathML element is the top-level MathML element, used to write a single mathematical formula. It can be placed in HTML content where flow content is permitted.",
|
|
26569
26646
|
"categories": [],
|
|
26570
26647
|
"contentModel": {
|
|
26571
26648
|
"contents": true
|
|
@@ -27797,7 +27874,7 @@
|
|
|
27797
27874
|
"type": [
|
|
27798
27875
|
"MIMEType",
|
|
27799
27876
|
{
|
|
27800
|
-
"enum": ["module"],
|
|
27877
|
+
"enum": ["module", "importmap"],
|
|
27801
27878
|
"caseInsensitive": true
|
|
27802
27879
|
}
|
|
27803
27880
|
]
|
|
@@ -28017,7 +28094,7 @@
|
|
|
28017
28094
|
{
|
|
28018
28095
|
"name": "source",
|
|
28019
28096
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source",
|
|
28020
|
-
"description": "The <source> HTML element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element. It is
|
|
28097
|
+
"description": "The <source> HTML element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element. It is a void element, meaning that it has no content and does not have a closing tag. It is commonly used to offer the same media content in multiple file formats in order to provide compatibility with a broad range of browsers given their differing support for image file formats and media file formats.",
|
|
28021
28098
|
"categories": [],
|
|
28022
28099
|
"contentModel": {
|
|
28023
28100
|
"contents": false
|
|
@@ -28064,7 +28141,7 @@
|
|
|
28064
28141
|
{
|
|
28065
28142
|
"name": "spacer",
|
|
28066
28143
|
"cite": "https://html.spec.whatwg.org/multipage/obsolete.html#non-conforming-features",
|
|
28067
|
-
"description": "The <spacer> HTML element is an obsolete HTML element which allowed insertion of empty spaces on pages. It was devised by Netscape to accomplish the same effect as a single-pixel layout image, which was something web designers used to use to add white spaces to web pages without actually using an image. However, <spacer> no longer supported by any major browser and the same effects can now be achieved using simple CSS.",
|
|
28144
|
+
"description": "The <spacer> HTML element is an obsolete HTML element which allowed insertion of empty spaces on pages. It was devised by Netscape to accomplish the same effect as a single-pixel layout image, which was something web designers used to use to add white spaces to web pages without actually using an image. However, <spacer> is no longer supported by any major browser and the same effects can now be achieved using simple CSS.",
|
|
28068
28145
|
"categories": [],
|
|
28069
28146
|
"contentModel": {
|
|
28070
28147
|
"contents": true
|
|
@@ -28610,7 +28687,7 @@
|
|
|
28610
28687
|
"description": "This attribute indicates whether the value of the control can be automatically completed by the browser. Possible values are: off: The user must explicitly enter a value into this field for every use, or the document provides its own auto-completion method; the browser does not automatically complete the entry. on: The browser can automatically complete the value based on values that the user has entered during previous uses. If the autocomplete attribute is not specified on a <textarea> element, then the browser uses the autocomplete attribute value of the <textarea> element's form owner. The form owner is either the <form> element that this <textarea> element is a descendant of or the form element whose id is specified by the form attribute of the input element. For more information, see the autocomplete attribute in <form>."
|
|
28611
28688
|
},
|
|
28612
28689
|
"autocorrect": {
|
|
28613
|
-
"description": "A string which indicates whether
|
|
28690
|
+
"description": "A string which indicates whether to activate automatic spelling correction and processing of text substitutions (if any are configured) while the user is editing this textarea. Permitted values are: on Enable automatic spelling correction and text substitutions. off Disable automatic spelling correction and text substitutions.",
|
|
28614
28691
|
"nonStandard": true
|
|
28615
28692
|
},
|
|
28616
28693
|
"autofocus": {
|
|
@@ -28952,7 +29029,7 @@
|
|
|
28952
29029
|
"deprecated": true
|
|
28953
29030
|
},
|
|
28954
29031
|
"bgcolor": {
|
|
28955
|
-
"description": "A string specifying a color to apply to the backgrounds of each of the row's cells. This can be either
|
|
29032
|
+
"description": "A string specifying a color to apply to the backgrounds of each of the row's cells. This can be either a hexadecimal #RRGGBB or #RGB value or a color keyword. Omitting the attribute or setting it to null in JavaScript causes the row's cells to inherit the row's parent element's background color. Note: The <tr> element should be styled using CSS. To give a similar effect as the bgcolor attribute, use the CSS property background-color.",
|
|
28956
29033
|
"deprecated": true
|
|
28957
29034
|
},
|
|
28958
29035
|
"char": {
|
|
@@ -28964,7 +29041,7 @@
|
|
|
28964
29041
|
"deprecated": true
|
|
28965
29042
|
},
|
|
28966
29043
|
"valign": {
|
|
28967
|
-
"description": "A string specifying the vertical alignment of the text within each cell in the row. Possible values for this attribute are: baseline Aligns each cell's content text as closely as possible to the bottom of the cell, handling alignment of different fonts and font sizes by aligning the characters along the baseline of the font(s) used in the row. If all
|
|
29044
|
+
"description": "A string specifying the vertical alignment of the text within each cell in the row. Possible values for this attribute are: baseline Aligns each cell's content text as closely as possible to the bottom of the cell, handling alignment of different fonts and font sizes by aligning the characters along the baseline of the font(s) used in the row. If all the characters in the row are the same size, the effect is the same as bottom. bottom, Draws the text in each of the row's cells as closely as possible to the bottom edge of those cells. middle Each cell's text is vertically centered. top Each cell's text is drawn as closely as possible to the top edge of the containing cell. Note: Don't use the obsolete valign attribute. Instead, add the CSS vertical-align property to the row.",
|
|
28968
29045
|
"deprecated": true
|
|
28969
29046
|
}
|
|
28970
29047
|
}
|
|
@@ -29227,7 +29304,7 @@
|
|
|
29227
29304
|
}
|
|
29228
29305
|
},
|
|
29229
29306
|
"crossorigin": {
|
|
29230
|
-
"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
|
|
29307
|
+
"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."
|
|
29231
29308
|
},
|
|
29232
29309
|
"disablepictureinpicture": {
|
|
29233
29310
|
"description": "Prevents the browser from suggesting a Picture-in-Picture context menu or to request Picture-in-Picture automatically in some cases.",
|
|
@@ -29253,7 +29330,7 @@
|
|
|
29253
29330
|
"type": "URL"
|
|
29254
29331
|
},
|
|
29255
29332
|
"preload": {
|
|
29256
|
-
"description": "This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience
|
|
29333
|
+
"description": "This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience regarding what content is loaded before the video is played. It may have one of the following values: none: Indicates that the video should not be preloaded. metadata: Indicates that only video metadata (e.g. length) is fetched. auto: Indicates that the whole video file can be downloaded, even if the user is not expected to use it. empty string: Synonym of the auto value. The default value is different for each browser. The spec advises it to be set to metadata. Note: The autoplay attribute has precedence over preload. If autoplay is specified, the browser would obviously need to start downloading the video for playback. The specification does not force the browser to follow the value of this attribute; it is a mere hint."
|
|
29257
29334
|
},
|
|
29258
29335
|
"src": {
|
|
29259
29336
|
"description": "The URL of the video to embed. This is optional; you may instead use the <source> element within the video block to specify the video to embed."
|
|
@@ -30179,7 +30256,7 @@
|
|
|
30179
30256
|
"contentModel": {
|
|
30180
30257
|
"contents": [
|
|
30181
30258
|
{
|
|
30182
|
-
"require": [":model(
|
|
30259
|
+
"require": [":model(SVGDescriptive)", ":model(SVGNeverRendered)", "#text"]
|
|
30183
30260
|
}
|
|
30184
30261
|
]
|
|
30185
30262
|
},
|
|
@@ -33896,7 +33973,7 @@
|
|
|
33896
33973
|
"contentModel": {
|
|
33897
33974
|
"contents": [
|
|
33898
33975
|
{
|
|
33899
|
-
"zeroOrMore": [":model(
|
|
33976
|
+
"zeroOrMore": [":model(SVGDescriptive)", ":model(SVGNeverRendered)", "#text"]
|
|
33900
33977
|
}
|
|
33901
33978
|
]
|
|
33902
33979
|
},
|
|
@@ -34234,7 +34311,7 @@
|
|
|
34234
34311
|
"description": "This attribute determines the x coordinate shift of the pattern tile. Value type: <length>|<percentage> ; Default value: 0; Animatable: yes"
|
|
34235
34312
|
},
|
|
34236
34313
|
"xlink:href": {
|
|
34237
|
-
"description": "This attribute
|
|
34314
|
+
"description": "This attribute references a template pattern that provides default values for the <pattern> attributes. Value type: <URL>; Default value: none; Animatable: yes Note: For browsers implementing href, if both href and xlink:href are set, xlink:href will be ignored and only href will be used.",
|
|
34238
34315
|
"deprecated": true
|
|
34239
34316
|
},
|
|
34240
34317
|
"y": {
|
|
@@ -34787,7 +34864,7 @@
|
|
|
34787
34864
|
"contentModel": {
|
|
34788
34865
|
"contents": [
|
|
34789
34866
|
{
|
|
34790
|
-
"zeroOrMore": [":model(
|
|
34867
|
+
"zeroOrMore": [":model(SVGNeverRendered)", ":model(SVGStructurallyExternal)", "#text"]
|
|
34791
34868
|
}
|
|
34792
34869
|
]
|
|
34793
34870
|
},
|
|
@@ -35700,7 +35777,7 @@
|
|
|
35700
35777
|
"contentModel": {
|
|
35701
35778
|
"contents": [
|
|
35702
35779
|
{
|
|
35703
|
-
"zeroOrMore": [":model(
|
|
35780
|
+
"zeroOrMore": [":model(SVGDescriptive)", ":model(SVGNeverRendered)", "#text"]
|
|
35704
35781
|
}
|
|
35705
35782
|
]
|
|
35706
35783
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/html-spec",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.5",
|
|
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>",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"strip-json-comments": "3"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@markuplint/ml-spec": "3.0.0-alpha.
|
|
29
|
+
"@markuplint/ml-spec": "3.0.0-alpha.5"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "d2ee395d917cb69b91dedb0262b1c12ddc81fb58"
|
|
32
32
|
}
|
|
@@ -186,6 +186,84 @@
|
|
|
186
186
|
"textarea",
|
|
187
187
|
"video[controls]"
|
|
188
188
|
],
|
|
189
|
+
// https://html.spec.whatwg.org/multipage/dom.html#palpable-content
|
|
190
|
+
"#palpable": [
|
|
191
|
+
"a",
|
|
192
|
+
"abbr",
|
|
193
|
+
"address",
|
|
194
|
+
"article",
|
|
195
|
+
"aside",
|
|
196
|
+
"audio[controls]",
|
|
197
|
+
"b",
|
|
198
|
+
"bdi",
|
|
199
|
+
"bdo",
|
|
200
|
+
"blockquote",
|
|
201
|
+
"button",
|
|
202
|
+
"canvas",
|
|
203
|
+
"cite",
|
|
204
|
+
"code",
|
|
205
|
+
"data",
|
|
206
|
+
"details",
|
|
207
|
+
"dfn",
|
|
208
|
+
"div",
|
|
209
|
+
"dl:has(>:is(dt+dd))",
|
|
210
|
+
"em",
|
|
211
|
+
"embed",
|
|
212
|
+
"fieldset",
|
|
213
|
+
"figure",
|
|
214
|
+
"footer",
|
|
215
|
+
"form",
|
|
216
|
+
"h1",
|
|
217
|
+
"h2",
|
|
218
|
+
"h3",
|
|
219
|
+
"h4",
|
|
220
|
+
"h5",
|
|
221
|
+
"h6",
|
|
222
|
+
"header",
|
|
223
|
+
"hgroup",
|
|
224
|
+
"i",
|
|
225
|
+
"iframe",
|
|
226
|
+
"img",
|
|
227
|
+
"input:not([type='hidden' i])",
|
|
228
|
+
"ins",
|
|
229
|
+
"kbd",
|
|
230
|
+
"label",
|
|
231
|
+
"main",
|
|
232
|
+
"map",
|
|
233
|
+
"mark",
|
|
234
|
+
"math",
|
|
235
|
+
"menu:has(>li)",
|
|
236
|
+
"meter",
|
|
237
|
+
"nav",
|
|
238
|
+
"object",
|
|
239
|
+
"ol:has(>li)",
|
|
240
|
+
"output",
|
|
241
|
+
"p",
|
|
242
|
+
"pre",
|
|
243
|
+
"progress",
|
|
244
|
+
"q",
|
|
245
|
+
"ruby",
|
|
246
|
+
"s",
|
|
247
|
+
"samp",
|
|
248
|
+
"section",
|
|
249
|
+
"select",
|
|
250
|
+
"small",
|
|
251
|
+
"span",
|
|
252
|
+
"strong",
|
|
253
|
+
"sub",
|
|
254
|
+
"sup ",
|
|
255
|
+
"svg",
|
|
256
|
+
"table",
|
|
257
|
+
"text",
|
|
258
|
+
"area",
|
|
259
|
+
"time",
|
|
260
|
+
"u",
|
|
261
|
+
"ul:has(>li)",
|
|
262
|
+
"var",
|
|
263
|
+
"video",
|
|
264
|
+
"#custom",
|
|
265
|
+
"#text"
|
|
266
|
+
],
|
|
189
267
|
"#script-supporting": ["script", "template"],
|
|
190
268
|
"#SVGAnimation": [
|
|
191
269
|
"svg|animate",
|
package/src/spec.script.json
CHANGED
package/src/spec.svg_desc.json
CHANGED
package/src/spec.svg_script.json
CHANGED