@markuplint/html-spec 2.2.1-dev.20220307.1 → 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,6 +270,12 @@
|
|
|
270
270
|
},
|
|
271
271
|
"hidden": {
|
|
272
272
|
"ref": "https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden",
|
|
273
|
+
"type": {
|
|
274
|
+
"enum": ["", "hidden", "until-found"]
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
"inert": {
|
|
278
|
+
"ref": "https://html.spec.whatwg.org/multipage/interaction.html#the-inert-attribute",
|
|
273
279
|
"type": "Boolean"
|
|
274
280
|
},
|
|
275
281
|
"inputmode": {
|
|
@@ -406,6 +412,10 @@
|
|
|
406
412
|
"ref": "https://w3c.github.io/uievents/#beforeinput",
|
|
407
413
|
"type": "FunctionBody"
|
|
408
414
|
},
|
|
415
|
+
"onbeforematch": {
|
|
416
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onbeforematch",
|
|
417
|
+
"type": "FunctionBody"
|
|
418
|
+
},
|
|
409
419
|
"onblur": {
|
|
410
420
|
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onabort",
|
|
411
421
|
"type": "FunctionBody"
|
|
@@ -10575,7 +10585,7 @@
|
|
|
10575
10585
|
"deprecated": true
|
|
10576
10586
|
},
|
|
10577
10587
|
"download": {
|
|
10578
|
-
"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."
|
|
10579
10589
|
},
|
|
10580
10590
|
"href": {
|
|
10581
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()"
|
|
@@ -11488,7 +11498,7 @@
|
|
|
11488
11498
|
{
|
|
11489
11499
|
"name": "button",
|
|
11490
11500
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button",
|
|
11491
|
-
"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.",
|
|
11492
11502
|
"categories": ["#flow", "#phrasing", "#interactive", "#palpable"],
|
|
11493
11503
|
"permittedStructures": {
|
|
11494
11504
|
"summary": "Phrasing content but there must be no Interactive content",
|
|
@@ -13302,7 +13312,8 @@
|
|
|
13302
13312
|
"allow-scripts",
|
|
13303
13313
|
"allow-top-navigation",
|
|
13304
13314
|
"allow-top-navigation-by-user-activation",
|
|
13305
|
-
"allow-downloads"
|
|
13315
|
+
"allow-downloads",
|
|
13316
|
+
"allow-custom-protocols-navigation"
|
|
13306
13317
|
]
|
|
13307
13318
|
},
|
|
13308
13319
|
"caseInsensitive": true,
|
|
@@ -14966,9 +14977,6 @@
|
|
|
14966
14977
|
"#HTMLGlobalAttrs": true
|
|
14967
14978
|
},
|
|
14968
14979
|
"attributes": {
|
|
14969
|
-
"form": {
|
|
14970
|
-
"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\">."
|
|
14971
|
-
},
|
|
14972
14980
|
"high": {
|
|
14973
14981
|
"ref": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-meter-high",
|
|
14974
14982
|
"type": "Number"
|
|
@@ -16201,7 +16209,7 @@
|
|
|
16201
16209
|
{
|
|
16202
16210
|
"name": "select",
|
|
16203
16211
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select",
|
|
16204
|
-
"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.",
|
|
16205
16213
|
"categories": ["#flow", "#phrasing", "#interactive"],
|
|
16206
16214
|
"permittedStructures": {
|
|
16207
16215
|
"summary": "Zero or more <option> or <optgroup> elements.",
|
|
@@ -24613,7 +24621,7 @@
|
|
|
24613
24621
|
},
|
|
24614
24622
|
"refX": {
|
|
24615
24623
|
"ref": "https://svgwg.org/svg2-draft/struct.html#SymbolElementRefXAttribute",
|
|
24616
|
-
"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",
|
|
24617
24625
|
"type": [
|
|
24618
24626
|
"<svg-length>",
|
|
24619
24627
|
"<percentage>",
|
|
@@ -24621,12 +24629,11 @@
|
|
|
24621
24629
|
{
|
|
24622
24630
|
"enum": ["left", "center", "right"]
|
|
24623
24631
|
}
|
|
24624
|
-
]
|
|
24625
|
-
"defaultValue": "0"
|
|
24632
|
+
]
|
|
24626
24633
|
},
|
|
24627
24634
|
"refY": {
|
|
24628
24635
|
"ref": "https://svgwg.org/svg2-draft/struct.html#SymbolElementRefYAttribute",
|
|
24629
|
-
"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",
|
|
24630
24637
|
"type": [
|
|
24631
24638
|
"<svg-length>",
|
|
24632
24639
|
"<percentage>",
|
|
@@ -24634,8 +24641,7 @@
|
|
|
24634
24641
|
{
|
|
24635
24642
|
"enum": ["top", "center", "bottom"]
|
|
24636
24643
|
}
|
|
24637
|
-
]
|
|
24638
|
-
"defaultValue": "0"
|
|
24644
|
+
]
|
|
24639
24645
|
},
|
|
24640
24646
|
"height": {
|
|
24641
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.
|
|
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,6 +61,12 @@
|
|
|
61
61
|
},
|
|
62
62
|
"hidden": {
|
|
63
63
|
"ref": "https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden",
|
|
64
|
+
"type": {
|
|
65
|
+
"enum": ["", "hidden", "until-found"]
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"inert": {
|
|
69
|
+
"ref": "https://html.spec.whatwg.org/multipage/interaction.html#the-inert-attribute",
|
|
64
70
|
"type": "Boolean"
|
|
65
71
|
},
|
|
66
72
|
"inputmode": {
|
|
@@ -197,6 +203,10 @@
|
|
|
197
203
|
"ref": "https://w3c.github.io/uievents/#beforeinput",
|
|
198
204
|
"type": "FunctionBody"
|
|
199
205
|
},
|
|
206
|
+
"onbeforematch": {
|
|
207
|
+
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onbeforematch",
|
|
208
|
+
"type": "FunctionBody"
|
|
209
|
+
},
|
|
200
210
|
"onblur": {
|
|
201
211
|
"ref": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onabort",
|
|
202
212
|
"type": "FunctionBody"
|