@markuplint/html-spec 3.3.1 → 3.4.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.
Files changed (2) hide show
  1. package/index.json +30 -45
  2. package/package.json +3 -3
package/index.json CHANGED
@@ -148,7 +148,6 @@
148
148
  "https://developer.mozilla.org/en-US/docs/Web/SVG/Element/altGlyphDef",
149
149
  "https://developer.mozilla.org/en-US/docs/Web/SVG/Element/altGlyphItem",
150
150
  "https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animate",
151
- "https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateColor",
152
151
  "https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateMotion",
153
152
  "https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateTransform",
154
153
  "https://developer.mozilla.org/en-US/docs/Web/SVG/Element/circle",
@@ -254,7 +253,7 @@
254
253
  },
255
254
  "contenteditable": {
256
255
  "type": {
257
- "enum": ["", "true", "false"],
256
+ "enum": ["", "true", "false", "plaintext-only"],
258
257
  "disallowToSurroundBySpaces": true,
259
258
  "invalidValueDefault": "inherit",
260
259
  "missingValueDefault": "inherit",
@@ -745,8 +744,7 @@
745
744
  "enum": ["high", "low", "auto"],
746
745
  "invalidValueDefault": "auto",
747
746
  "missingValueDefault": "auto"
748
- },
749
- "experimental": true
747
+ }
750
748
  }
751
749
  },
752
750
  "#HTMLEmbededAndMediaContentAttrs": {
@@ -23223,7 +23221,13 @@
23223
23221
  "permittedRoles": false,
23224
23222
  "namingProhibited": true,
23225
23223
  "properties": {
23226
- "global": true
23224
+ "global": true,
23225
+ "without": [
23226
+ {
23227
+ "name": "aria-hidden",
23228
+ "type": "must-not"
23229
+ }
23230
+ ]
23227
23231
  },
23228
23232
  "1.1": {
23229
23233
  "implicitRole": false,
@@ -23448,7 +23452,7 @@
23448
23452
  },
23449
23453
  "attributes": {
23450
23454
  "autocomplete": {
23451
- "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 bug 654072.",
23455
+ "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.",
23452
23456
  "nonStandard": true
23453
23457
  },
23454
23458
  "autofocus": {
@@ -23478,14 +23482,16 @@
23478
23482
  "name": {
23479
23483
  "description": "The name of the button, submitted as a pair with the button's value as part of the form data, when that button is used to submit the form."
23480
23484
  },
23481
- "popoverhidetarget": {
23485
+ "popovertarget": {
23482
23486
  "type": "DOMID"
23483
23487
  },
23484
- "popovershowtarget": {
23485
- "type": "DOMID"
23486
- },
23487
- "popovertoggletarget": {
23488
- "type": "DOMID"
23488
+ "popovertargetaction": {
23489
+ "type": {
23490
+ "enum": ["toggle", "show", "hide"],
23491
+ "disallowToSurroundBySpaces": true,
23492
+ "invalidValueDefault": "toggle",
23493
+ "missingValueDefault": "toggle"
23494
+ }
23489
23495
  },
23490
23496
  "type": {
23491
23497
  "type": {
@@ -25011,10 +25017,6 @@
25011
25017
  "description": "A Content Security Policy enforced for the embedded resource. See HTMLIFrameElement.csp for details.",
25012
25018
  "experimental": true
25013
25019
  },
25014
- "fetchpriority": {
25015
- "description": "Provides a hint of the relative priority to use when fetching the iframe document. Allowed values: high Signals a high-priority fetch relative to other iframe documents. low Signals a low-priority fetch relative to other iframe documents. auto Default: Signals automatic determination of fetch priority relative to other iframe documents.",
25016
- "experimental": true
25017
- },
25018
25020
  "frameborder": {
25019
25021
  "description": "The value 1 (the default) draws a border around this frame. The value 0 removes the border around this frame, but you should instead use the CSS property border to control <iframe> borders.",
25020
25022
  "deprecated": true
@@ -25926,16 +25928,17 @@
25926
25928
  "[type='number' i]"
25927
25929
  ]
25928
25930
  },
25929
- "popoverhidetarget": {
25930
- "type": "DOMID",
25931
- "condition": ["[type='button' i]", "[type='image' i]", "[type='reset' i]", "[type='submit' i]"]
25932
- },
25933
- "popovershowtarget": {
25931
+ "popovertarget": {
25934
25932
  "type": "DOMID",
25935
25933
  "condition": ["[type='button' i]", "[type='image' i]", "[type='reset' i]", "[type='submit' i]"]
25936
25934
  },
25937
- "popovertoggletarget": {
25938
- "type": "DOMID",
25935
+ "popovertargetaction": {
25936
+ "type": {
25937
+ "enum": ["toggle", "show", "hide"],
25938
+ "disallowToSurroundBySpaces": true,
25939
+ "invalidValueDefault": "toggle",
25940
+ "missingValueDefault": "toggle"
25941
+ },
25939
25942
  "condition": ["[type='button' i]", "[type='image' i]", "[type='reset' i]", "[type='submit' i]"]
25940
25943
  },
25941
25944
  "readonly": {
@@ -28513,7 +28516,7 @@
28513
28516
  "deprecated": true
28514
28517
  },
28515
28518
  "align": {
28516
- "description": "This enumerated attribute specifies how the cell content's horizontal alignment will be handled. Possible values are: left: The content is aligned to the left of the cell. center: The content is centered in the cell. right: The content is aligned to the right of the cell. justify (with text only): The content is stretched out inside the cell so that it covers its entire width. char (with text only): The content is aligned to a character inside the <th> element with minimal offset. This character is defined by the char and charoff attributes Unimplemented (see bug 2212). The default value when this attribute is not specified is left. Note: To achieve the same effect as the left, center, right or justify values, apply the CSS text-align property to the element. To achieve the same effect as the char value, give the text-align property the same value you would use for the char. Unimplemented in CSS.",
28519
+ "description": "This enumerated attribute specifies how the cell content's horizontal alignment will be handled. Possible values are: left: The content is aligned to the left of the cell. center: The content is centered in the cell. right: The content is aligned to the right of the cell. justify (with text only): The content is stretched out inside the cell so that it covers its entire width. char (with text only): The content is aligned to a character inside the <th> element with minimal offset. This character is defined by the char and charoff attributes. The default value when this attribute is not specified is left. Note: To achieve the same effect as the left, center, right or justify values, apply the CSS text-align property to the element. To achieve the same effect as the char value, give the text-align property the same value you would use for the char.",
28517
28520
  "deprecated": true
28518
28521
  },
28519
28522
  "axis": {
@@ -28702,7 +28705,7 @@
28702
28705
  },
28703
28706
  "attributes": {
28704
28707
  "align": {
28705
- "description": "This enumerated attribute specifies how horizontal alignment of each 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. Note: To achieve the same effect as the left, center, right or justify values, use the CSS text-align property on it. To achieve the same effect as the char value, in CSS, you can use the value of the char as the value of the text-align property Unimplemented.",
28708
+ "description": "This enumerated attribute specifies how horizontal alignment of each 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. Note: To achieve the same effect as the left, center, right or justify values, use the CSS text-align property on it. To achieve the same effect as the char value, in CSS, you can use the value of the char as the value of the text-align property.",
28706
28709
  "deprecated": true
28707
28710
  },
28708
28711
  "bgcolor": {
@@ -29661,24 +29664,6 @@
29661
29664
  },
29662
29665
  "attributes": {}
29663
29666
  },
29664
- {
29665
- "name": "svg:animateColor",
29666
- "namespace": "http://www.w3.org/2000/svg",
29667
- "cite": "https://html.spec.whatwg.org/multipage/obsolete.html#non-conforming-features",
29668
- "description": "The SVG <animate> element provides a way to animate an attribute of an element over time.",
29669
- "categories": [],
29670
- "contentModel": {
29671
- "contents": true
29672
- },
29673
- "aria": {
29674
- "permittedRoles": true,
29675
- "implicitRole": false
29676
- },
29677
- "omission": false,
29678
- "obsolete": true,
29679
- "globalAttrs": {},
29680
- "attributes": {}
29681
- },
29682
29667
  {
29683
29668
  "name": "svg:animateMotion",
29684
29669
  "namespace": "http://www.w3.org/2000/svg",
@@ -33562,7 +33547,7 @@
33562
33547
  "name": "svg:marker",
33563
33548
  "namespace": "http://www.w3.org/2000/svg",
33564
33549
  "cite": "https://developer.mozilla.org/en-US/docs/Web/SVG/Element/marker",
33565
- "description": "The <marker> element defines the graphic that is to be used for drawing arrowheads or polymarkers on a given <path>, <line>, <polyline> or <polygon> element.",
33550
+ "description": "The <marker> element defines a graphic used for drawing arrowheads or polymarkers on a given <path>, <line>, <polyline> or <polygon> element.",
33566
33551
  "categories": [],
33567
33552
  "contentModel": {
33568
33553
  "contents": [
@@ -35848,7 +35833,7 @@
35848
35833
  "name": "svg:use",
35849
35834
  "namespace": "http://www.w3.org/2000/svg",
35850
35835
  "cite": "https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use",
35851
- "description": "The <use> element takes nodes from within the SVG document, and duplicates them somewhere else.",
35836
+ "description": "The <use> element takes nodes from within the SVG document, and duplicates them somewhere else. The effect is the same as if the nodes were deeply cloned into a non-exposed DOM, then pasted where the use element is, much like cloned template elements.",
35852
35837
  "categories": [],
35853
35838
  "contentModel": {
35854
35839
  "contents": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/html-spec",
3
- "version": "3.3.1",
3
+ "version": "3.4.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>",
@@ -27,7 +27,7 @@
27
27
  "strip-json-comments": "3"
28
28
  },
29
29
  "dependencies": {
30
- "@markuplint/ml-spec": "3.3.0"
30
+ "@markuplint/ml-spec": "3.4.0"
31
31
  },
32
- "gitHead": "f19e7de726cf01d53342bc5513c30da75d28da63"
32
+ "gitHead": "a83e0f5f214a9bbcc0286b9e269074ddca6189e7"
33
33
  }