@markuplint/html-spec 3.0.0-rc.4 → 3.0.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 +7 -7
- package/package.json +3 -3
- package/src/spec-common.attributes.json +0 -1650
- package/src/spec-common.contents.json +0 -392
- package/src/spec.a.json +0 -58
- package/src/spec.abbr.json +0 -25
- package/src/spec.address.json +0 -25
- package/src/spec.area.json +0 -64
- package/src/spec.article.json +0 -24
- package/src/spec.aside.json +0 -38
- package/src/spec.audio.json +0 -48
- package/src/spec.b.json +0 -24
- package/src/spec.base.json +0 -21
- package/src/spec.bdi.json +0 -24
- package/src/spec.bdo.json +0 -24
- package/src/spec.blockquote.json +0 -31
- package/src/spec.body.json +0 -100
- package/src/spec.br.json +0 -32
- package/src/spec.button.json +0 -70
- package/src/spec.canvas.json +0 -33
- package/src/spec.caption.json +0 -30
- package/src/spec.cite.json +0 -24
- package/src/spec.code.json +0 -27
- package/src/spec.col.json +0 -31
- package/src/spec.colgroup.json +0 -41
- package/src/spec.data.json +0 -29
- package/src/spec.datalist.json +0 -38
- package/src/spec.dd.json +0 -30
- package/src/spec.del.json +0 -36
- package/src/spec.details.json +0 -35
- package/src/spec.dfn.json +0 -23
- package/src/spec.dialog.json +0 -36
- package/src/spec.div.json +0 -55
- package/src/spec.dl.json +0 -56
- package/src/spec.dt.json +0 -26
- package/src/spec.em.json +0 -27
- package/src/spec.embed.json +0 -30
- package/src/spec.fieldset.json +0 -27
- package/src/spec.figcaption.json +0 -24
- package/src/spec.figure.json +0 -52
- package/src/spec.footer.json +0 -37
- package/src/spec.form.json +0 -100
- package/src/spec.h1.json +0 -26
- package/src/spec.h2.json +0 -26
- package/src/spec.h3.json +0 -26
- package/src/spec.h4.json +0 -26
- package/src/spec.h5.json +0 -26
- package/src/spec.h6.json +0 -26
- package/src/spec.head.json +0 -30
- package/src/spec.header.json +0 -37
- package/src/spec.hgroup.json +0 -45
- package/src/spec.hr.json +0 -23
- package/src/spec.html.json +0 -27
- package/src/spec.i.json +0 -24
- package/src/spec.iframe.json +0 -70
- package/src/spec.img.json +0 -109
- package/src/spec.input.json +0 -792
- package/src/spec.ins.json +0 -36
- package/src/spec.kbd.json +0 -24
- package/src/spec.label.json +0 -29
- package/src/spec.legend.json +0 -24
- package/src/spec.li.json +0 -40
- package/src/spec.link.json +0 -140
- package/src/spec.main.json +0 -27
- package/src/spec.map.json +0 -30
- package/src/spec.mark.json +0 -24
- package/src/spec.math.json +0 -20
- package/src/spec.menu.json +0 -53
- package/src/spec.meta.json +0 -59
- package/src/spec.meter.json +0 -62
- package/src/spec.nav.json +0 -26
- package/src/spec.noscript.json +0 -24
- package/src/spec.object.json +0 -40
- package/src/spec.ol.json +0 -71
- package/src/spec.optgroup.json +0 -34
- package/src/spec.option.json +0 -70
- package/src/spec.output.json +0 -29
- package/src/spec.p.json +0 -27
- package/src/spec.picture.json +0 -46
- package/src/spec.portal.json +0 -25
- package/src/spec.pre.json +0 -24
- package/src/spec.progress.json +0 -44
- package/src/spec.q.json +0 -29
- package/src/spec.rp.json +0 -23
- package/src/spec.rt.json +0 -24
- package/src/spec.ruby.json +0 -55
- package/src/spec.s.json +0 -24
- package/src/spec.samp.json +0 -24
- package/src/spec.script.json +0 -73
- package/src/spec.section.json +0 -73
- package/src/spec.select.json +0 -66
- package/src/spec.slot.json +0 -29
- package/src/spec.small.json +0 -24
- package/src/spec.source.json +0 -52
- package/src/spec.span.json +0 -24
- package/src/spec.strong.json +0 -27
- package/src/spec.style.json +0 -35
- package/src/spec.sub.json +0 -27
- package/src/spec.summary.json +0 -38
- package/src/spec.sup.json +0 -27
- package/src/spec.svg_a.json +0 -118
- package/src/spec.svg_animate.json +0 -109
- package/src/spec.svg_animateMotion.json +0 -73
- package/src/spec.svg_animateTransform.json +0 -47
- package/src/spec.svg_circle.json +0 -113
- package/src/spec.svg_clipPath.json +0 -108
- package/src/spec.svg_defs.json +0 -109
- package/src/spec.svg_desc.json +0 -21
- package/src/spec.svg_discard.json +0 -31
- package/src/spec.svg_ellipse.json +0 -116
- package/src/spec.svg_feBlend.json +0 -115
- package/src/spec.svg_feColorMatrix.json +0 -104
- package/src/spec.svg_feComponentTransfer.json +0 -97
- package/src/spec.svg_feComposite.json +0 -146
- package/src/spec.svg_feConvolveMatrix.json +0 -147
- package/src/spec.svg_feDiffuseLighting.json +0 -126
- package/src/spec.svg_feDisplacementMap.json +0 -133
- package/src/spec.svg_feDistantLight.json +0 -32
- package/src/spec.svg_feDropShadow.json +0 -109
- package/src/spec.svg_feFlood.json +0 -101
- package/src/spec.svg_feFuncA.json +0 -20
- package/src/spec.svg_feFuncB.json +0 -20
- package/src/spec.svg_feFuncG.json +0 -20
- package/src/spec.svg_feFuncR.json +0 -20
- package/src/spec.svg_feGaussianBlur.json +0 -105
- package/src/spec.svg_feImage.json +0 -123
- package/src/spec.svg_feMerge.json +0 -90
- package/src/spec.svg_feMergeNode.json +0 -20
- package/src/spec.svg_feMorphology.json +0 -106
- package/src/spec.svg_feOffset.json +0 -103
- package/src/spec.svg_fePointLight.json +0 -38
- package/src/spec.svg_feSpecularLighting.json +0 -131
- package/src/spec.svg_feSpotLight.json +0 -67
- package/src/spec.svg_feTile.json +0 -90
- package/src/spec.svg_feTurbulence.json +0 -126
- package/src/spec.svg_filter.json +0 -138
- package/src/spec.svg_foreignObject.json +0 -97
- package/src/spec.svg_g.json +0 -115
- package/src/spec.svg_image.json +0 -128
- package/src/spec.svg_line.json +0 -136
- package/src/spec.svg_linearGradient.json +0 -152
- package/src/spec.svg_marker.json +0 -180
- package/src/spec.svg_mask.json +0 -142
- package/src/spec.svg_metadata.json +0 -21
- package/src/spec.svg_mpath.json +0 -26
- package/src/spec.svg_path.json +0 -114
- package/src/spec.svg_pattern.json +0 -157
- package/src/spec.svg_polygon.json +0 -117
- package/src/spec.svg_polyline.json +0 -117
- package/src/spec.svg_radialGradient.json +0 -162
- package/src/spec.svg_rect.json +0 -118
- package/src/spec.svg_script.json +0 -40
- package/src/spec.svg_set.json +0 -42
- package/src/spec.svg_stop.json +0 -110
- package/src/spec.svg_style.json +0 -36
- package/src/spec.svg_svg.json +0 -170
- package/src/spec.svg_switch.json +0 -105
- package/src/spec.svg_symbol.json +0 -77
- package/src/spec.svg_text.json +0 -153
- package/src/spec.svg_textPath.json +0 -169
- package/src/spec.svg_title.json +0 -21
- package/src/spec.svg_tspan.json +0 -147
- package/src/spec.svg_use.json +0 -115
- package/src/spec.svg_view.json +0 -45
- package/src/spec.table.json +0 -64
- package/src/spec.tbody.json +0 -23
- package/src/spec.td.json +0 -37
- package/src/spec.template.json +0 -20
- package/src/spec.textarea.json +0 -67
- package/src/spec.tfoot.json +0 -23
- package/src/spec.th.json +0 -66
- package/src/spec.thead.json +0 -23
- package/src/spec.time.json +0 -32
- package/src/spec.title.json +0 -24
- package/src/spec.tr.json +0 -29
- package/src/spec.track.json +0 -54
- package/src/spec.u.json +0 -24
- package/src/spec.ul.json +0 -53
- package/src/spec.var.json +0 -24
- package/src/spec.video.json +0 -78
- package/src/spec.wbr.json +0 -25
- package/src/structure.test.ts +0 -84
- package/tsconfig.tsbuildinfo +0 -1
package/index.json
CHANGED
|
@@ -22556,7 +22556,7 @@
|
|
|
22556
22556
|
"deprecated": true
|
|
22557
22557
|
},
|
|
22558
22558
|
"download": {
|
|
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)
|
|
22559
|
+
"description": "Causes the browser to treat the linked URL as a download. Can be used with or without a filename 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) filename: 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."
|
|
22560
22560
|
},
|
|
22561
22561
|
"href": {
|
|
22562
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()"
|
|
@@ -22743,7 +22743,7 @@
|
|
|
22743
22743
|
{
|
|
22744
22744
|
"name": "area",
|
|
22745
22745
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area",
|
|
22746
|
-
"description": "The <area> HTML element defines an area inside an image map that has predefined clickable areas. An image map allows geometric areas on an image to be associated with hypertext
|
|
22746
|
+
"description": "The <area> HTML element defines an area inside an image map that has predefined clickable areas. An image map allows geometric areas on an image to be associated with hypertext links.",
|
|
22747
22747
|
"categories": ["#flow", "#phrasing"],
|
|
22748
22748
|
"contentModel": {
|
|
22749
22749
|
"contents": false,
|
|
@@ -23390,7 +23390,7 @@
|
|
|
23390
23390
|
{
|
|
23391
23391
|
"name": "button",
|
|
23392
23392
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button",
|
|
23393
|
-
"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
|
|
23393
|
+
"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 an action, such as submitting a form or opening a dialog.",
|
|
23394
23394
|
"categories": ["#flow", "#phrasing", "#interactive", "#palpable"],
|
|
23395
23395
|
"contentModel": {
|
|
23396
23396
|
"contents": [
|
|
@@ -25216,7 +25216,7 @@
|
|
|
25216
25216
|
"experimental": true
|
|
25217
25217
|
},
|
|
25218
25218
|
"height": {
|
|
25219
|
-
"description": "The intrinsic height of the image, in pixels. Must be an integer without a unit."
|
|
25219
|
+
"description": "The intrinsic height of the image, in pixels. Must be an integer without a unit. Note: Including height and width enables the aspect ratio of the image to be calculated by the browser prior to the image being loaded. This aspect ratio is used to reserve the space needed to display the image, reducing or even preventing a layout shift when the image is downloaded and painted to the screen. Reducing layout shift is a major component of good user experience and web performance."
|
|
25220
25220
|
},
|
|
25221
25221
|
"hspace": {
|
|
25222
25222
|
"description": "The number of pixels of white space on the left and right of the image. Use the margin CSS property instead.",
|
|
@@ -25227,7 +25227,7 @@
|
|
|
25227
25227
|
"condition": "a[href] img"
|
|
25228
25228
|
},
|
|
25229
25229
|
"loading": {
|
|
25230
|
-
"description": "Indicates how the browser should load the image: eager
|
|
25230
|
+
"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."
|
|
25231
25231
|
},
|
|
25232
25232
|
"longdesc": {
|
|
25233
25233
|
"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.",
|
|
@@ -28845,7 +28845,7 @@
|
|
|
28845
28845
|
"deprecated": true
|
|
28846
28846
|
},
|
|
28847
28847
|
"bgcolor": {
|
|
28848
|
-
"description": "This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in sRGB and is prefixed by '#'.
|
|
28848
|
+
"description": "This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in sRGB and is prefixed by '#'.",
|
|
28849
28849
|
"deprecated": true
|
|
28850
28850
|
},
|
|
28851
28851
|
"char": {
|
|
@@ -32669,7 +32669,7 @@
|
|
|
32669
32669
|
"animatable": true
|
|
32670
32670
|
},
|
|
32671
32671
|
"numOctaves": {
|
|
32672
|
-
"type": "<
|
|
32672
|
+
"type": "<integer>",
|
|
32673
32673
|
"defaultValue": "1",
|
|
32674
32674
|
"animatable": true
|
|
32675
32675
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/html-spec",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.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>",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"strip-json-comments": "3"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@markuplint/ml-spec": "3.0.0
|
|
29
|
+
"@markuplint/ml-spec": "3.0.0"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "51af6a64bb8da54376a138f19e3f15a2f759a967"
|
|
32
32
|
}
|