@markuplint/html-spec 4.0.0-alpha.6 → 4.0.0-alpha.8

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 (3) hide show
  1. package/LICENSE +1 -1
  2. package/index.json +36 -22
  3. package/package.json +5 -5
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2017-2023 Yusuke Hirao
3
+ Copyright (c) 2017-2024 Yusuke Hirao
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/index.json CHANGED
@@ -706,7 +706,8 @@
706
706
  "opener",
707
707
  "prev",
708
708
  "search",
709
- "tag"
709
+ "tag",
710
+ "terms-of-service"
710
711
  ]
711
712
  },
712
713
  "unique": true,
@@ -35616,8 +35617,7 @@
35616
35617
  "description": "This enumerated attribute indicates whether to use CORS to fetch the related audio file. CORS-enabled resources can be reused in the <canvas> element without being tainted. The allowed values are: anonymous Sends a cross-origin request without a credential. In other words, it sends the Origin: HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the Access-Control-Allow-Origin: HTTP header), the resource will be tainted, and its usage restricted. use-credentials Sends a cross-origin request with a credential. In other words, it sends the Origin: HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through Access-Control-Allow-Credentials: HTTP header), the resource will be tainted and its usage restricted. When not present, the resource is fetched without a CORS request (i.e. without sending the Origin: HTTP header), preventing its non-tainted use in <canvas> elements. If invalid, it is handled as if the enumerated keyword anonymous was used. See CORS settings attributes for additional information."
35617
35618
  },
35618
35619
  "disableremoteplayback": {
35619
- "description": "A Boolean attribute used to disable the capability of remote playback in devices that are attached using wired (HDMI, DVI, etc.) and wireless technologies (Miracast, Chromecast, DLNA, AirPlay, etc.). See this proposed specification for more information. Note: In Safari, you can use x-webkit-airplay=\"deny\" as a fallback.",
35620
- "experimental": true
35620
+ "description": "A Boolean attribute used to disable the capability of remote playback in devices that are attached using wired (HDMI, DVI, etc.) and wireless technologies (Miracast, Chromecast, DLNA, AirPlay, etc.). See this proposed specification for more information. In Safari, you can use x-webkit-airplay=\"deny\" as a fallback."
35621
35621
  },
35622
35622
  "loop": {
35623
35623
  "description": "A Boolean attribute: if specified, the audio player will automatically seek back to the start upon reaching the end of the audio."
@@ -35798,8 +35798,7 @@
35798
35798
  "description": "This enumerated attribute indicates whether to use CORS to fetch the related audio file. CORS-enabled resources can be reused in the <canvas> element without being tainted. The allowed values are: anonymous Sends a cross-origin request without a credential. In other words, it sends the Origin: HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the Access-Control-Allow-Origin: HTTP header), the resource will be tainted, and its usage restricted. use-credentials Sends a cross-origin request with a credential. In other words, it sends the Origin: HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through Access-Control-Allow-Credentials: HTTP header), the resource will be tainted and its usage restricted. When not present, the resource is fetched without a CORS request (i.e. without sending the Origin: HTTP header), preventing its non-tainted use in <canvas> elements. If invalid, it is handled as if the enumerated keyword anonymous was used. See CORS settings attributes for additional information."
35799
35799
  },
35800
35800
  "disableremoteplayback": {
35801
- "description": "A Boolean attribute used to disable the capability of remote playback in devices that are attached using wired (HDMI, DVI, etc.) and wireless technologies (Miracast, Chromecast, DLNA, AirPlay, etc.). See this proposed specification for more information. Note: In Safari, you can use x-webkit-airplay=\"deny\" as a fallback.",
35802
- "experimental": true
35801
+ "description": "A Boolean attribute used to disable the capability of remote playback in devices that are attached using wired (HDMI, DVI, etc.) and wireless technologies (Miracast, Chromecast, DLNA, AirPlay, etc.). See this proposed specification for more information. In Safari, you can use x-webkit-airplay=\"deny\" as a fallback."
35803
35802
  },
35804
35803
  "loop": {
35805
35804
  "description": "A Boolean attribute: if specified, the audio player will automatically seek back to the start upon reaching the end of the audio."
@@ -36611,6 +36610,9 @@
36611
36610
  "#HTMLGlobalAttrs": true
36612
36611
  },
36613
36612
  "attributes": {
36613
+ "name": {
36614
+ "type": "NoEmptyAny"
36615
+ },
36614
36616
  "open": {
36615
36617
  "type": "Boolean"
36616
36618
  }
@@ -37124,8 +37126,7 @@
37124
37126
  "type": "URL"
37125
37127
  },
37126
37128
  "autocapitalize": {
37127
- "description": "A nonstandard attribute used by iOS Safari that controls how textual form elements should be automatically capitalized. autocapitalize attributes on a form elements override it on <form>. Possible values: none: No automatic capitalization. sentences (default): Capitalize the first letter of each sentence. words: Capitalize the first letter of each word. characters: Capitalize all characters — that is, uppercase.",
37128
- "nonStandard": true
37129
+ "description": "Controls whether inputted text is automatically capitalized and, if so, in what manner. See the autocapitalize global attribute page for more information."
37129
37130
  },
37130
37131
  "autocomplete": {
37131
37132
  "type": {
@@ -37686,7 +37687,8 @@
37686
37687
  },
37687
37688
  "allowpaymentrequest": {
37688
37689
  "description": "Set to true if a cross-origin <iframe> should be allowed to invoke the Payment Request API. Note: This attribute is considered a legacy attribute and redefined as allow=\"payment\".",
37689
- "experimental": true
37690
+ "deprecated": true,
37691
+ "nonStandard": true
37690
37692
  },
37691
37693
  "credentialless": {
37692
37694
  "description": "Set to true to make the <iframe> credentialless, meaning that its content will be loaded in a new, ephemeral context. It doesn't have access to the network, cookies, and storage data associated with its origin. It uses a new context local to the top-level document lifetime. In return, the Cross-Origin-Embedder-Policy (COEP) embedding rules can be lifted, so documents with COEP set can embed third-party documents that do not. See IFrame credentialless for more details.",
@@ -37872,8 +37874,7 @@
37872
37874
  "description": "Marks the image for observation by the PerformanceElementTiming API. The value given becomes an identifier for the observed image element. See also the elementtiming attribute page."
37873
37875
  },
37874
37876
  "fetchpriority": {
37875
- "description": "Provides a hint of the relative priority to use when fetching the image. Allowed values: high Signals a high-priority fetch relative to other images. low Signals a low-priority fetch relative to other images. auto Default: Signals automatic determination of fetch priority relative to other images.",
37876
- "experimental": true
37877
+ "description": "Provides a hint of the relative priority to use when fetching the image. Allowed values: high Signals a high-priority fetch relative to other images. low Signals a low-priority fetch relative to other images. auto Default: Signals automatic determination of fetch priority relative to other images."
37877
37878
  },
37878
37879
  "height": {
37879
37880
  "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."
@@ -38436,8 +38437,7 @@
38436
38437
  "condition": "[type='image' i]"
38437
38438
  },
38438
38439
  "autocapitalize": {
38439
- "description": "(Safari only). A string which indicates how auto-capitalization should be applied while the user is editing this field. Permitted values are: none Do not automatically capitalize any text sentences Automatically capitalize the first character of each sentence. words Automatically capitalize the first character of each word. characters Automatically capitalize every character.",
38440
- "nonStandard": true
38440
+ "description": "Controls whether inputted text is automatically capitalized and, if so, in what manner. See the autocapitalize global attribute page for more information."
38441
38441
  },
38442
38442
  "autocomplete": {
38443
38443
  "condition": [
@@ -38476,12 +38476,14 @@
38476
38476
  "dirname": {
38477
38477
  "condition": [
38478
38478
  ":not([type])",
38479
+ "[type='hidden' i]",
38479
38480
  "[type='text' i]",
38480
38481
  "[type='search' i]",
38481
- "[type='hidden' i]",
38482
38482
  "[type='tel' i]",
38483
38483
  "[type='url' i]",
38484
- "[type='email' i]"
38484
+ "[type='email' i]",
38485
+ "[type='password' i]",
38486
+ "[type='submit' i]"
38485
38487
  ]
38486
38488
  },
38487
38489
  "disabled": {
@@ -39036,8 +39038,7 @@
39036
39038
  "type": "Boolean"
39037
39039
  },
39038
39040
  "fetchpriority": {
39039
- "description": "Provides a hint of the relative priority to use when fetching a preloaded resource. Allowed values: high Signals a high-priority fetch relative to other resources of the same type. low Signals a low-priority fetch relative to other resources of the same type. auto Default: Signals automatic determination of fetch priority relative to other resources of the same type.",
39040
- "experimental": true
39041
+ "description": "Provides a hint of the relative priority to use when fetching a preloaded resource. Allowed values: high Signals a high-priority fetch relative to other resources of the same type. low Signals a low-priority fetch relative to other resources of the same type. auto Default: Signals automatic determination of fetch priority relative to other resources of the same type."
39041
39042
  },
39042
39043
  "href": {
39043
39044
  "description": "This attribute specifies the URL of the linked resource. A URL can be absolute or relative."
@@ -39095,7 +39096,8 @@
39095
39096
  "prerender",
39096
39097
  "prev",
39097
39098
  "search",
39098
- "stylesheet"
39099
+ "stylesheet",
39100
+ "terms-of-service"
39099
39101
  ]
39100
39102
  },
39101
39103
  "unique": true,
@@ -40498,8 +40500,7 @@
40498
40500
  "ineffective": ["[type='module' i]", ":not([src])", "[async]"]
40499
40501
  },
40500
40502
  "fetchpriority": {
40501
- "description": "Provides a hint of the relative priority to use when fetching an external script. Allowed values: high Signals a high-priority fetch relative to other external scripts. low Signals a low-priority fetch relative to other external scripts. auto Default: Signals automatic determination of fetch priority relative to other external scripts.",
40502
- "experimental": true
40503
+ "description": "Provides a hint of the relative priority to use when fetching an external script. Allowed values: high Signals a high-priority fetch relative to other external scripts. low Signals a low-priority fetch relative to other external scripts. auto Default: Signals automatic determination of fetch priority relative to other external scripts."
40503
40504
  },
40504
40505
  "integrity": {
40505
40506
  "condition": "[src]"
@@ -41296,7 +41297,18 @@
41296
41297
  "#GlobalEventAttrs": true,
41297
41298
  "#HTMLGlobalAttrs": true
41298
41299
  },
41299
- "attributes": {}
41300
+ "attributes": {
41301
+ "shadowrootdelegatesfocus": {
41302
+ "type": "Boolean"
41303
+ },
41304
+ "shadowrootmode": {
41305
+ "type": {
41306
+ "enum": ["open", "closed"],
41307
+ "missingValueDefault": "none",
41308
+ "invalidValueDefault": "none"
41309
+ }
41310
+ }
41311
+ }
41300
41312
  },
41301
41313
  {
41302
41314
  "name": "textarea",
@@ -41336,6 +41348,9 @@
41336
41348
  "#HTMLGlobalAttrs": true
41337
41349
  },
41338
41350
  "attributes": {
41351
+ "autocapitalize": {
41352
+ "description": "Controls whether inputted text is automatically capitalized and, if so, in what manner. See the autocapitalize global attribute page for more information."
41353
+ },
41339
41354
  "autocomplete": {
41340
41355
  "description": "This attribute indicates whether the value of the control can be automatically completed by the browser. Possible values are: off: The user must explicitly enter a value into this field for every use, or the document provides its own auto-completion method; the browser does not automatically complete the entry. on: The browser can automatically complete the value based on values that the user has entered during previous uses. If the autocomplete attribute is not specified on a <textarea> element, then the browser uses the autocomplete attribute value of the <textarea> element's form owner. The form owner is either the <form> element that this <textarea> element is a descendant of or the form element whose id is specified by the form attribute of the input element. For more information, see the autocomplete attribute in <form>."
41341
41356
  },
@@ -41955,8 +41970,7 @@
41955
41970
  "experimental": true
41956
41971
  },
41957
41972
  "disableremoteplayback": {
41958
- "description": "A Boolean attribute used to disable the capability of remote playback in devices that are attached using wired (HDMI, DVI, etc.) and wireless technologies (Miracast, Chromecast, DLNA, AirPlay, etc.). In Safari, you can use x-webkit-airplay=\"deny\" as a fallback.",
41959
- "experimental": true
41973
+ "description": "A Boolean attribute used to disable the capability of remote playback in devices that are attached using wired (HDMI, DVI, etc.) and wireless technologies (Miracast, Chromecast, DLNA, AirPlay, etc.). In Safari, you can use x-webkit-airplay=\"deny\" as a fallback."
41960
41974
  },
41961
41975
  "height": {
41962
41976
  "description": "The height of the video's display area, in CSS pixels (absolute values only; no percentages)."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/html-spec",
3
- "version": "4.0.0-alpha.6",
3
+ "version": "4.0.0-alpha.8",
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>",
@@ -17,11 +17,11 @@
17
17
  "gen:prettier": "prettier --write index.json"
18
18
  },
19
19
  "devDependencies": {
20
- "@markuplint/spec-generator": "4.0.0-alpha.6",
21
- "@markuplint/test-tools": "4.0.0-alpha.6"
20
+ "@markuplint/spec-generator": "4.0.0-alpha.8",
21
+ "@markuplint/test-tools": "4.0.0-alpha.8"
22
22
  },
23
23
  "dependencies": {
24
- "@markuplint/ml-spec": "4.0.0-alpha.6"
24
+ "@markuplint/ml-spec": "4.0.0-alpha.8"
25
25
  },
26
- "gitHead": "06e1242d274c72cf08a10a572b06ac35d1b924a4"
26
+ "gitHead": "5bcd25f13ff804af0d09aaabd87e495af668e6a8"
27
27
  }