@markuplint/html-spec 2.0.0-dev.20211213.2 → 2.0.0-dev.20220110.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 (42) hide show
  1. package/index.json +81 -129
  2. package/package.json +3 -3
  3. package/src/aria-in-html/abbr.json +8 -0
  4. package/src/aria-in-html/address.json +8 -0
  5. package/src/aria-in-html/b.json +8 -0
  6. package/src/aria-in-html/base.json +8 -0
  7. package/src/aria-in-html/bdi.json +8 -0
  8. package/src/aria-in-html/bdo.json +8 -0
  9. package/src/aria-in-html/blockquote.json +8 -0
  10. package/src/aria-in-html/canvas.json +8 -0
  11. package/src/aria-in-html/caption.json +8 -0
  12. package/src/aria-in-html/cite.json +8 -0
  13. package/src/aria-in-html/code.json +8 -0
  14. package/src/aria-in-html/data.json +8 -0
  15. package/src/aria-in-html/del.json +8 -0
  16. package/src/aria-in-html/div.json +8 -0
  17. package/src/aria-in-html/em.json +8 -0
  18. package/src/aria-in-html/hgroup.json +8 -0
  19. package/src/aria-in-html/i.json +8 -0
  20. package/src/aria-in-html/ins.json +8 -0
  21. package/src/aria-in-html/kbd.json +8 -0
  22. package/src/aria-in-html/mark.json +8 -0
  23. package/src/aria-in-html/p.json +8 -0
  24. package/src/aria-in-html/pre.json +8 -0
  25. package/src/aria-in-html/q.json +8 -0
  26. package/src/aria-in-html/rp.json +8 -0
  27. package/src/aria-in-html/rt.json +8 -0
  28. package/src/aria-in-html/ruby.json +8 -0
  29. package/src/aria-in-html/s.json +8 -0
  30. package/src/aria-in-html/samp.json +8 -0
  31. package/src/aria-in-html/small.json +8 -0
  32. package/src/aria-in-html/span.json +8 -0
  33. package/src/aria-in-html/strong.json +8 -0
  34. package/src/aria-in-html/sub.json +8 -0
  35. package/src/aria-in-html/sup.json +8 -0
  36. package/src/aria-in-html/time.json +8 -0
  37. package/src/aria-in-html/u.json +8 -0
  38. package/src/aria-in-html/var.json +8 -0
  39. package/src/aria-in-html/wbr.json +8 -0
  40. package/src/attributes/abbr.json +11 -0
  41. package/src/attributes/hgroup.json +11 -0
  42. package/src/attributes/math.json +8 -0
package/index.json CHANGED
@@ -5904,12 +5904,74 @@
5904
5904
  {
5905
5905
  "name": "none",
5906
5906
  "description": "An element whose implicit native role semantics will not be mapped to the accessibility API. See synonym presentation.\n\nIn ARIA 1.1, the working group introduced none as a synonym to the presentation role, due to author confusion surrounding the intended meaning of the word \"presentation\" or \"presentational.\" Many individuals erroneously consider role=\"presentation\" to be synonymous with aria-hidden=\"true\", and we believe role=\"none\" conveys the actual meaning more unambiguously.",
5907
- "generalization": [],
5907
+ "generalization": ["structure"],
5908
5908
  "requiredContextRole": [],
5909
5909
  "accessibleNameRequired": false,
5910
5910
  "accessibleNameFromContent": false,
5911
5911
  "accessibleNameProhibited": false,
5912
- "ownedAttribute": []
5912
+ "ownedAttribute": [
5913
+ {
5914
+ "name": "aria-atomic"
5915
+ },
5916
+ {
5917
+ "name": "aria-busy"
5918
+ },
5919
+ {
5920
+ "name": "aria-controls"
5921
+ },
5922
+ {
5923
+ "name": "aria-current"
5924
+ },
5925
+ {
5926
+ "name": "aria-describedby"
5927
+ },
5928
+ {
5929
+ "name": "aria-details"
5930
+ },
5931
+ {
5932
+ "name": "aria-disabled",
5933
+ "deprecated": true
5934
+ },
5935
+ {
5936
+ "name": "aria-dropeffect"
5937
+ },
5938
+ {
5939
+ "name": "aria-errormessage",
5940
+ "deprecated": true
5941
+ },
5942
+ {
5943
+ "name": "aria-flowto"
5944
+ },
5945
+ {
5946
+ "name": "aria-grabbed"
5947
+ },
5948
+ {
5949
+ "name": "aria-haspopup",
5950
+ "deprecated": true
5951
+ },
5952
+ {
5953
+ "name": "aria-hidden"
5954
+ },
5955
+ {
5956
+ "name": "aria-invalid",
5957
+ "deprecated": true
5958
+ },
5959
+ {
5960
+ "name": "aria-keyshortcuts"
5961
+ },
5962
+ {
5963
+ "name": "aria-live"
5964
+ },
5965
+ {
5966
+ "name": "aria-owns"
5967
+ },
5968
+ {
5969
+ "name": "aria-relevant"
5970
+ },
5971
+ {
5972
+ "name": "aria-roledescription"
5973
+ }
5974
+ ]
5913
5975
  },
5914
5976
  {
5915
5977
  "name": "note",
@@ -10530,7 +10592,12 @@
10530
10592
  "role": false
10531
10593
  },
10532
10594
  "omittion": false,
10533
- "globalAttrs": {},
10595
+ "globalAttrs": {
10596
+ "#ARIAAttrs": true,
10597
+ "#DocumentElementEventAttrs": true,
10598
+ "#GlobalEventAttrs": true,
10599
+ "#HTMLGlobalAttrs": true
10600
+ },
10534
10601
  "attributes": {}
10535
10602
  },
10536
10603
  {
@@ -12962,7 +13029,12 @@
12962
13029
  "role": false
12963
13030
  },
12964
13031
  "omittion": false,
12965
- "globalAttrs": {},
13032
+ "globalAttrs": {
13033
+ "#ARIAAttrs": true,
13034
+ "#DocumentElementEventAttrs": true,
13035
+ "#GlobalEventAttrs": true,
13036
+ "#HTMLGlobalAttrs": true
13037
+ },
12966
13038
  "attributes": {}
12967
13039
  },
12968
13040
  {
@@ -14434,7 +14506,7 @@
14434
14506
  "requiredEither": ["itemprop"]
14435
14507
  },
14436
14508
  "rev": {
14437
- "description": "The value of this attribute shows the relationship of the current document to the linked document, as defined by the href attribute. The attribute thus defines the reverse relationship compared to the value of the rel attribute. Link type values for the attribute are similar to the possible values for rel. Note: This attribute is considered obsolete by the WHATWG HTML living standard (which is the specification MDN treats as canonical). However, it's worth noting that rev is not considered obsolete in the W3C specification. That said, given the uncertainty, relying on rev is unwise. Note: Instead, you should use the rel attribute with the opposite link type value. For example, to establish the reverse link for made, specify author. Also this attribute doesn't stand for \"revision\" and must not be used with a version number, even though many sites misuse it in this way.",
14509
+ "description": "The value of this attribute shows the relationship of the current document to the linked document, as defined by the href attribute. The attribute thus defines the reverse relationship compared to the value of the rel attribute. Link type values for the attribute are similar to the possible values for rel. Note: Instead of rev, you should use the rel attribute with the opposite link type value. For example, to establish the reverse link for made, specify author. Also this attribute doesn't stand for \"revision\" and must not be used with a version number, even though many sites misuse it in this way.",
14438
14510
  "obsolete": true,
14439
14511
  "deprecated": true
14440
14512
  },
@@ -21747,126 +21819,6 @@
21747
21819
  },
21748
21820
  "attributes": {}
21749
21821
  },
21750
- {
21751
- "name": "svg:g",
21752
- "namespace": "http://www.w3.org/2000/svg",
21753
- "cite": "https://developer.mozilla.org/en-US/docs/Web/SVG/Element/g",
21754
- "categories": ["#SVGContainer", "#SVGStructural"],
21755
- "permittedRoles": {
21756
- "summary": "WIP",
21757
- "roles": []
21758
- },
21759
- "implicitRole": {
21760
- "summary": "WIP",
21761
- "role": false
21762
- },
21763
- "permittedStructures": {
21764
- "summary": "Any number of the following elements, in any order:Animation elementsDescriptive elementsShape elementsStructural elementsGradient elements<a>, <altGlyphDef>, <clipPath>, <color-profile>, <cursor>, <filter>, <font>, <font-face>, <foreignObject>, <image>, <marker>, <mask>, <pattern>, <script>, <style>, <switch>, <text>, <view>",
21765
- "tag": "g",
21766
- "contents": [
21767
- {
21768
- "zeroOrMore": [
21769
- "#SVGAnimation",
21770
- "#SVGDescriptive",
21771
- "#SVGPaintServer",
21772
- "#SVGShape",
21773
- "#SVGStructural",
21774
- "svg:a",
21775
- "svg:clipPath",
21776
- "svg:filter",
21777
- "svg:foreignObject",
21778
- "svg:image",
21779
- "svg:marker",
21780
- "svg:mask",
21781
- "svg:script",
21782
- "svg:style",
21783
- "svg:switch",
21784
- "svg:text",
21785
- "svg:view"
21786
- ]
21787
- }
21788
- ]
21789
- },
21790
- "omittion": false,
21791
- "globalAttrs": {
21792
- "#HTMLGlobalAttrs": true,
21793
- "#GlobalEventAttrs": true,
21794
- "#DocumentElementEventAttrs": true,
21795
- "#ARIAAttrs": true,
21796
- "#SVGConditionalProcessingAttrs": ["requiredExtensions", "systemLanguage"],
21797
- "#SVGCoreAttrs": ["id", "tabindex", "autofocus", "lang", "xml:space", "class", "style"],
21798
- "#SVGPresentationAttrs": [
21799
- "alignment-baseline",
21800
- "baseline-shift",
21801
- "clip",
21802
- "clip-path",
21803
- "clip-rule",
21804
- "color",
21805
- "color-interpolation",
21806
- "color-interpolation-filters",
21807
- "color-rendering",
21808
- "cursor",
21809
- "direction",
21810
- "display",
21811
- "dominant-baseline",
21812
- "enable-background",
21813
- "fill",
21814
- "fill-opacity",
21815
- "fill-rule",
21816
- "filter",
21817
- "flood-color",
21818
- "flood-opacity",
21819
- "font",
21820
- "font-family",
21821
- "font-size",
21822
- "font-size-adjust",
21823
- "font-stretch",
21824
- "font-style",
21825
- "font-variant",
21826
- "font-weight",
21827
- "glyph-orientation-horizontal",
21828
- "glyph-orientation-vertical",
21829
- "image-rendering",
21830
- "isolation",
21831
- "kerning",
21832
- "letter-spacing",
21833
- "lighting-color",
21834
- "marker",
21835
- "marker-end",
21836
- "marker-mid",
21837
- "marker-start",
21838
- "mask",
21839
- "mask-type",
21840
- "opacity",
21841
- "overflow",
21842
- "paint-order",
21843
- "pointer-events",
21844
- "shape-rendering",
21845
- "stop-color",
21846
- "stop-opacity",
21847
- "stroke",
21848
- "stroke-dasharray",
21849
- "stroke-dashoffset",
21850
- "stroke-linecap",
21851
- "stroke-linejoin",
21852
- "stroke-miterlimit",
21853
- "stroke-opacity",
21854
- "stroke-width",
21855
- "text-anchor",
21856
- "text-decoration",
21857
- "text-overflow",
21858
- "text-rendering",
21859
- "transform-origin",
21860
- "unicode-bidi",
21861
- "vector-effect",
21862
- "visibility",
21863
- "white-space",
21864
- "word-spacing",
21865
- "writing-mode"
21866
- ]
21867
- },
21868
- "attributes": {}
21869
- },
21870
21822
  {
21871
21823
  "name": "svg:glyph",
21872
21824
  "namespace": "http://www.w3.org/2000/svg",
@@ -22562,28 +22514,28 @@
22562
22514
  "attributes": {
22563
22515
  "x1": {
22564
22516
  "ref": "https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementX1Attribute",
22565
- "description": "This attribute defines the x coordinate of the starting point of the vector gradient along which the linear gradient is drawn. Value type: <length> ; Default value: 0%; Animatable: yes",
22517
+ "description": "This attribute defines the x coordinate of the starting point of the vector gradient along which the linear gradient is drawn. Value type: <length-percentage> | <number>; Default value: 0%; Animatable: yes",
22566
22518
  "type": ["<svg-length>", "<percentage>"],
22567
22519
  "defaultValue": "0%",
22568
22520
  "animatable": true
22569
22521
  },
22570
22522
  "y1": {
22571
22523
  "ref": "https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementY1Attribute",
22572
- "description": "This attribute defines the y coordinate of the starting point of the vector gradient along which the linear gradient is drawn. Value type: <length> ; Default value: 0%; Animatable: yes",
22524
+ "description": "This attribute defines the y coordinate of the starting point of the vector gradient along which the linear gradient is drawn. Value type: <length-percentage> | <number>; Default value: 0%; Animatable: yes",
22573
22525
  "type": ["<svg-length>", "<percentage>"],
22574
22526
  "defaultValue": "0%",
22575
22527
  "animatable": true
22576
22528
  },
22577
22529
  "x2": {
22578
22530
  "ref": "https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementX2Attribute",
22579
- "description": "This attribute defines the x coordinate of the ending point of the vector gradient along which the linear gradient is drawn. Value type: <length> ; Default value: 100%; Animatable: yes",
22531
+ "description": "This attribute defines the x coordinate of the ending point of the vector gradient along which the linear gradient is drawn. Value type: <length-percentage> | <number>; Default value: 100%; Animatable: yes",
22580
22532
  "type": ["<svg-length>", "<percentage>"],
22581
22533
  "defaultValue": "100%",
22582
22534
  "animatable": true
22583
22535
  },
22584
22536
  "y2": {
22585
22537
  "ref": "https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementY2Attribute",
22586
- "description": "This attribute defines the y coordinate of the ending point of the vector gradient along which the linear gradient is drawn. Value type: <length> ; Default value: 0%; Animatable: yes",
22538
+ "description": "This attribute defines the y coordinate of the ending point of the vector gradient along which the linear gradient is drawn. Value type: <length-percentage> | <number>; Default value: 0%; Animatable: yes",
22587
22539
  "type": ["<svg-length>", "<percentage>"],
22588
22540
  "defaultValue": "0%",
22589
22541
  "animatable": true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/html-spec",
3
- "version": "2.0.0-dev.20211213.2",
3
+ "version": "2.0.0-dev.20220110.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
  "node-fetch": "2"
27
27
  },
28
28
  "dependencies": {
29
- "@markuplint/ml-spec": "2.0.0-dev.20211213.2"
29
+ "@markuplint/ml-spec": "2.0.0-dev.20220106.0"
30
30
  },
31
- "gitHead": "f94cbc11593ae7b65fab01272f91df9defc4413b"
31
+ "gitHead": "162fd80f8430d92941ea7afb87607bc4d32da22e"
32
32
  }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "permittedRoles": {
3
+ "roles": true
4
+ },
5
+ "implicitRole": {
6
+ "role": false
7
+ }
8
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "tag": "abbr",
3
+ "ref": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-abbr-element",
4
+ "global": {
5
+ "#HTMLGlobalAttrs": true,
6
+ "#GlobalEventAttrs": true,
7
+ "#DocumentElementEventAttrs": true,
8
+ "#ARIAAttrs": true
9
+ },
10
+ "attributes": {}
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "tag": "hgroup",
3
+ "ref": "https://html.spec.whatwg.org/multipage/sections.html#the-hgroup-element",
4
+ "global": {
5
+ "#HTMLGlobalAttrs": true,
6
+ "#GlobalEventAttrs": true,
7
+ "#DocumentElementEventAttrs": true,
8
+ "#ARIAAttrs": true
9
+ },
10
+ "attributes": {}
11
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "tag": "math",
3
+ "ref": "https://momdo.github.io/html/embedded-content-other.html#mathml",
4
+ "global": {
5
+ "#ARIAAttrs": true
6
+ },
7
+ "attributes": {}
8
+ }