@markuplint/html-spec 2.4.0 → 2.4.1
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
CHANGED
|
@@ -270,7 +270,9 @@
|
|
|
270
270
|
},
|
|
271
271
|
"hidden": {
|
|
272
272
|
"ref": "https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden",
|
|
273
|
-
"type":
|
|
273
|
+
"type": {
|
|
274
|
+
"enum": ["", "hidden", "until-found"]
|
|
275
|
+
}
|
|
274
276
|
},
|
|
275
277
|
"inert": {
|
|
276
278
|
"ref": "https://html.spec.whatwg.org/multipage/interaction.html#the-inert-attribute",
|
|
@@ -410,6 +412,10 @@
|
|
|
410
412
|
"ref": "https://w3c.github.io/uievents/#beforeinput",
|
|
411
413
|
"type": "FunctionBody"
|
|
412
414
|
},
|
|
415
|
+
"onbeforematch": {
|
|
416
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onbeforematch",
|
|
417
|
+
"type": "FunctionBody"
|
|
418
|
+
},
|
|
413
419
|
"onblur": {
|
|
414
420
|
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onabort",
|
|
415
421
|
"type": "FunctionBody"
|
|
@@ -10579,7 +10585,7 @@
|
|
|
10579
10585
|
"deprecated": true
|
|
10580
10586
|
},
|
|
10581
10587
|
"download": {
|
|
10582
|
-
"description": "
|
|
10588
|
+
"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."
|
|
10583
10589
|
},
|
|
10584
10590
|
"href": {
|
|
10585
10591
|
"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, web sites can with registerProtocolHandler()"
|
|
@@ -11492,7 +11498,7 @@
|
|
|
11492
11498
|
{
|
|
11493
11499
|
"name": "button",
|
|
11494
11500
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button",
|
|
11495
|
-
"description": "The <button> HTML element
|
|
11501
|
+
"description": "The <button> HTML element is an interactive element activated by a user with a mouse, keyboard, finger, voice command, or other assistive technology. Once activated, it then performs a programmable action, such as submitting a form or opening a dialog.",
|
|
11496
11502
|
"categories": ["#flow", "#phrasing", "#interactive", "#palpable"],
|
|
11497
11503
|
"permittedStructures": {
|
|
11498
11504
|
"summary": "Phrasing content but there must be no Interactive content",
|
|
@@ -14971,9 +14977,6 @@
|
|
|
14971
14977
|
"#HTMLGlobalAttrs": true
|
|
14972
14978
|
},
|
|
14973
14979
|
"attributes": {
|
|
14974
|
-
"form": {
|
|
14975
|
-
"description": "The <form> element to associate the <meter> element with (its form owner). The value of this attribute must be the id of a <form> in the same document. If this attribute is not set, the <meter> is associated with its ancestor <form> element, if any. This attribute is only used if the <meter> element is being used as a form-associated element, such as one displaying a range corresponding to an <input type=\"number\">."
|
|
14976
|
-
},
|
|
14977
14980
|
"high": {
|
|
14978
14981
|
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-meter-high",
|
|
14979
14982
|
"type": "Number"
|
|
@@ -16206,7 +16209,7 @@
|
|
|
16206
16209
|
{
|
|
16207
16210
|
"name": "select",
|
|
16208
16211
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select",
|
|
16209
|
-
"description": "The <select> HTML element represents a control that provides a menu of options
|
|
16212
|
+
"description": "The <select> HTML element represents a control that provides a menu of options.",
|
|
16210
16213
|
"categories": ["#flow", "#phrasing", "#interactive"],
|
|
16211
16214
|
"permittedStructures": {
|
|
16212
16215
|
"summary": "Zero or more <option> or <optgroup> elements.",
|
|
@@ -24618,7 +24621,7 @@
|
|
|
24618
24621
|
},
|
|
24619
24622
|
"refX": {
|
|
24620
24623
|
"ref": "https://svgwg.org/svg2-draft/struct.html#SymbolElementRefXAttribute",
|
|
24621
|
-
"description": "This attribute determines the x coordinate of the reference point of the symbol. Value type: <length>|<percentage>|left|center|right ; Default value:
|
|
24624
|
+
"description": "This attribute determines the x coordinate of the reference point of the symbol. Value type: <length>|<percentage>|left|center|right ; Default value: None; Animatable: yes",
|
|
24622
24625
|
"type": [
|
|
24623
24626
|
"<svg-length>",
|
|
24624
24627
|
"<percentage>",
|
|
@@ -24626,12 +24629,11 @@
|
|
|
24626
24629
|
{
|
|
24627
24630
|
"enum": ["left", "center", "right"]
|
|
24628
24631
|
}
|
|
24629
|
-
]
|
|
24630
|
-
"defaultValue": "0"
|
|
24632
|
+
]
|
|
24631
24633
|
},
|
|
24632
24634
|
"refY": {
|
|
24633
24635
|
"ref": "https://svgwg.org/svg2-draft/struct.html#SymbolElementRefYAttribute",
|
|
24634
|
-
"description": "This attribute determines the y coordinate of the reference point of the symbol. Value type: <length>|<percentage>|top|center|bottom ; Default value:
|
|
24636
|
+
"description": "This attribute determines the y coordinate of the reference point of the symbol. Value type: <length>|<percentage>|top|center|bottom ; Default value: None; Animatable: yes",
|
|
24635
24637
|
"type": [
|
|
24636
24638
|
"<svg-length>",
|
|
24637
24639
|
"<percentage>",
|
|
@@ -24639,8 +24641,7 @@
|
|
|
24639
24641
|
{
|
|
24640
24642
|
"enum": ["top", "center", "bottom"]
|
|
24641
24643
|
}
|
|
24642
|
-
]
|
|
24643
|
-
"defaultValue": "0"
|
|
24644
|
+
]
|
|
24644
24645
|
},
|
|
24645
24646
|
"height": {
|
|
24646
24647
|
"description": "This attribute determines the height of the symbol. Value type: <length>|<percentage> ; Default value: auto; Animatable: yes"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/html-spec",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.1",
|
|
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
|
"node-fetch": "2"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@markuplint/ml-spec": "^2.0.
|
|
29
|
+
"@markuplint/ml-spec": "^2.0.2"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "76939e9a8278829f1871a117f8c0cbc9777db7c2"
|
|
32
32
|
}
|
|
@@ -28,8 +28,7 @@
|
|
|
28
28
|
{
|
|
29
29
|
"enum": ["left", "center", "right"]
|
|
30
30
|
}
|
|
31
|
-
]
|
|
32
|
-
"defaultValue": "0"
|
|
31
|
+
]
|
|
33
32
|
},
|
|
34
33
|
"refY": {
|
|
35
34
|
"ref": "https://svgwg.org/svg2-draft/struct.html#SymbolElementRefYAttribute",
|
|
@@ -40,8 +39,7 @@
|
|
|
40
39
|
{
|
|
41
40
|
"enum": ["top", "center", "bottom"]
|
|
42
41
|
}
|
|
43
|
-
]
|
|
44
|
-
"defaultValue": "0"
|
|
42
|
+
]
|
|
45
43
|
}
|
|
46
44
|
}
|
|
47
45
|
}
|
|
@@ -61,7 +61,9 @@
|
|
|
61
61
|
},
|
|
62
62
|
"hidden": {
|
|
63
63
|
"ref": "https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden",
|
|
64
|
-
"type":
|
|
64
|
+
"type": {
|
|
65
|
+
"enum": ["", "hidden", "until-found"]
|
|
66
|
+
}
|
|
65
67
|
},
|
|
66
68
|
"inert": {
|
|
67
69
|
"ref": "https://html.spec.whatwg.org/multipage/interaction.html#the-inert-attribute",
|
|
@@ -201,6 +203,10 @@
|
|
|
201
203
|
"ref": "https://w3c.github.io/uievents/#beforeinput",
|
|
202
204
|
"type": "FunctionBody"
|
|
203
205
|
},
|
|
206
|
+
"onbeforematch": {
|
|
207
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onbeforematch",
|
|
208
|
+
"type": "FunctionBody"
|
|
209
|
+
},
|
|
204
210
|
"onblur": {
|
|
205
211
|
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onabort",
|
|
206
212
|
"type": "FunctionBody"
|