@markuplint/html-spec 3.2.0 → 3.3.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.
Files changed (2) hide show
  1. package/index.json +45 -9
  2. package/package.json +4 -3
package/index.json CHANGED
@@ -331,6 +331,17 @@
331
331
  "nonce": {
332
332
  "type": "Any"
333
333
  },
334
+ "popover": {
335
+ "type": {
336
+ "enum": ["", "auto", "manual"],
337
+ "disallowToSurroundBySpaces": true,
338
+ "invalidValueDefault": "manual",
339
+ "missingValueDefault": "no popover",
340
+ "sameStates": {
341
+ "auto": [""]
342
+ }
343
+ }
344
+ },
334
345
  "spellcheck": {
335
346
  "type": {
336
347
  "enum": ["", "true", "false"],
@@ -404,6 +415,9 @@
404
415
  "onbeforematch": {
405
416
  "type": "FunctionBody"
406
417
  },
418
+ "onbeforetoggle": {
419
+ "type": "FunctionBody"
420
+ },
407
421
  "onblur": {
408
422
  "type": "FunctionBody"
409
423
  },
@@ -22975,7 +22989,7 @@
22975
22989
  {
22976
22990
  "name": "b",
22977
22991
  "cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b",
22978
- "description": "The <b> HTML element is used to draw the reader's attention to the element's contents, which are not otherwise granted special importance. This was formerly known as the Boldface element, and most browsers still draw the text in boldface. However, you should not use <b> for styling text; instead, you should use the CSS font-weight property to create boldface text, or the <strong> element to indicate that text is of special importance.",
22992
+ "description": "The <b> HTML element is used to draw the reader's attention to the element's contents, which are not otherwise granted special importance. This was formerly known as the Boldface element, and most browsers still draw the text in boldface. However, you should not use <b> for styling text or granting importance. If you wish to create boldface text, you should use the CSS font-weight property. If you wish to indicate an element is of special importance, you should use the <strong> element.",
22979
22993
  "categories": ["#flow", "#phrasing", "#palpable"],
22980
22994
  "contentModel": {
22981
22995
  "contents": [
@@ -23464,6 +23478,15 @@
23464
23478
  "name": {
23465
23479
  "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."
23466
23480
  },
23481
+ "popoverhidetarget": {
23482
+ "type": "DOMID"
23483
+ },
23484
+ "popovershowtarget": {
23485
+ "type": "DOMID"
23486
+ },
23487
+ "popovertoggletarget": {
23488
+ "type": "DOMID"
23489
+ },
23467
23490
  "type": {
23468
23491
  "type": {
23469
23492
  "enum": ["submit", "reset", "button"],
@@ -25903,6 +25926,18 @@
25903
25926
  "[type='number' i]"
25904
25927
  ]
25905
25928
  },
25929
+ "popoverhidetarget": {
25930
+ "type": "DOMID",
25931
+ "condition": ["[type='button' i]", "[type='image' i]", "[type='reset' i]", "[type='submit' i]"]
25932
+ },
25933
+ "popovershowtarget": {
25934
+ "type": "DOMID",
25935
+ "condition": ["[type='button' i]", "[type='image' i]", "[type='reset' i]", "[type='submit' i]"]
25936
+ },
25937
+ "popovertoggletarget": {
25938
+ "type": "DOMID",
25939
+ "condition": ["[type='button' i]", "[type='image' i]", "[type='reset' i]", "[type='submit' i]"]
25940
+ },
25906
25941
  "readonly": {
25907
25942
  "condition": [
25908
25943
  ":not([type])",
@@ -28380,7 +28415,7 @@
28380
28415
  "deprecated": true
28381
28416
  },
28382
28417
  "rules": {
28383
- "description": "This enumerated attribute defines where rules, i.e. lines, should appear in a table. It can have the following values: none, which indicates that no rules will be displayed; it is the default value; groups, which will cause the rules to be displayed between row groups (defined by the <thead>, <tbody> and <tfoot> elements) and between column groups (defined by the <col> and <colgroup> elements) only; rows, which will cause the rules to be displayed between rows; columns, which will cause the rules to be displayed between columns; all, which will cause the rules to be displayed between rows and columns. To achieve a similar effect, apply the border property to the appropriate <thead>, <tbody>, <tfoot>, <col>, or <colgroup> elements.",
28418
+ "description": "This enumerated attribute defines where rules, i.e. lines, should appear in a table. It can have the following values: none, which indicates that no rules will be displayed; it is the default value; groups, which will cause the rules to be displayed between row groups (defined by the <thead>, <tbody> and <tfoot> elements) and between column groups (defined by the <col> and <colgroup> elements) only; rows, which will cause the rules to be displayed between rows; cols, which will cause the rules to be displayed between columns; all, which will cause the rules to be displayed between rows and columns. To achieve a similar effect, apply the border property to the appropriate <thead>, <tbody>, <tfoot>, <col>, or <colgroup> elements.",
28384
28419
  "deprecated": true
28385
28420
  },
28386
28421
  "summary": {
@@ -30299,10 +30334,10 @@
30299
30334
  },
30300
30335
  "attributes": {
30301
30336
  "cx": {
30302
- "description": "The x position of the ellipse. Value type: <length>|<percentage> ; Default value: 0; Animatable: yes"
30337
+ "description": "The x position of the center of the ellipse. Value type: <length>|<percentage> ; Default value: 0; Animatable: yes"
30303
30338
  },
30304
30339
  "cy": {
30305
- "description": "The y position of the ellipse. Value type: <length>|<percentage> ; Default value: 0; Animatable: yes"
30340
+ "description": "The y position of the center of the ellipse. Value type: <length>|<percentage> ; Default value: 0; Animatable: yes"
30306
30341
  },
30307
30342
  "pathLength": {
30308
30343
  "type": "<number>",
@@ -35921,22 +35956,23 @@
35921
35956
  },
35922
35957
  "attributes": {
35923
35958
  "height": {
35924
- "description": "The height of the use element. Value type: <length> ; Default value: 0; Animatable: yes"
35959
+ "description": "The height of the use element.Value type: <length> ; Default value: 0; Animatable: yes"
35925
35960
  },
35926
35961
  "href": {
35927
35962
  "type": "URL"
35928
35963
  },
35929
35964
  "width": {
35930
- "description": "The width of the use element. Value type: <length> ; Default value: 0; Animatable: yes"
35965
+ "description": "The width of the use element.Value type: <length> ; Default value: 0; Animatable: yes"
35931
35966
  },
35932
35967
  "x": {
35933
- "description": "The x coordinate of the use element. Value type: <coordinate> ; Default value: 0; Animatable: yes"
35968
+ "description": "The x coordinate of an additional final offset transformation applied to the <use> element.Value type: <coordinate> ; Default value: 0; Animatable: yes"
35934
35969
  },
35935
35970
  "xlink:href": {
35936
- "description": "Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.An <IRI> reference to an element/fragment that needs to be duplicated. Value type: <IRI> ; Default value: none; Animatable: yes"
35971
+ "description": "An <IRI> reference to an element/fragment that needs to be duplicated. If both href and xlink:href are present, the value given by href is used.Value type: <IRI> ; Default value: none; Animatable: yes",
35972
+ "deprecated": true
35937
35973
  },
35938
35974
  "y": {
35939
- "description": "The y coordinate of the use element. Value type: <coordinate> ; Default value: 0; Animatable: yes"
35975
+ "description": "The y coordinate of an additional final offset transformation applied to the <use> element.Value type: <coordinate> ; Default value: 0; Animatable: yes"
35940
35976
  }
35941
35977
  }
35942
35978
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/html-spec",
3
- "version": "3.2.0",
3
+ "version": "3.3.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>",
@@ -22,11 +22,12 @@
22
22
  "cheerio": "^1.0.0-rc.12",
23
23
  "cli-progress": "^3.11.2",
24
24
  "fast-xml-parser": "^4.0.12",
25
+ "glob": "^9.2.1",
25
26
  "node-fetch": "2",
26
27
  "strip-json-comments": "3"
27
28
  },
28
29
  "dependencies": {
29
- "@markuplint/ml-spec": "3.2.0"
30
+ "@markuplint/ml-spec": "3.3.0"
30
31
  },
31
- "gitHead": "26b04e045d91e29befca34c10dda2147b1bca9c7"
32
+ "gitHead": "f19e7de726cf01d53342bc5513c30da75d28da63"
32
33
  }