Skip to content

Commit 1862105

Browse files
autonomecaptainbrossetddbeck
authored
Add global element attributes/properties (#2423)
Co-authored-by: Patrick Brosset <[email protected]> Co-authored-by: Daniel D. Beck <[email protected]>
1 parent 92d6be7 commit 1862105

32 files changed

+563
-17
lines changed

features/accesskey.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Accesskey
2+
description: The `accessKey` global HTML attribute gives a hint for generating a keyboard shortcut for the current element. The attribute value must consist of a single printable character.
3+
spec: https://html.spec.whatwg.org/multipage/interaction.html#the-accesskey-attribute
4+
status:
5+
compute_from: api.HTMLElement.accessKey
6+
compat_features:
7+
- api.HTMLElement.accessKey
8+
- api.HTMLElement.accessKeyLabel
9+
- html.global_attributes.accesskey

features/accesskey.yml.dist

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Generated from: accesskey.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: high
6+
baseline_low_date: 2015-07-29
7+
baseline_high_date: 2018-01-29
8+
support:
9+
chrome: "17"
10+
chrome_android: "18"
11+
edge: "12"
12+
firefox: "5"
13+
firefox_android: "5"
14+
safari: "6"
15+
safari_ios: "6"
16+
compat_features:
17+
# baseline: high
18+
# baseline_low_date: 2015-07-29
19+
# baseline_high_date: 2018-01-29
20+
# support:
21+
# chrome: "1"
22+
# chrome_android: "18"
23+
# edge: "12"
24+
# firefox: "1"
25+
# firefox_android: "4"
26+
# safari: ≤4
27+
# safari_ios: ≤3.2
28+
- html.global_attributes.accesskey
29+
30+
# ⬇️ Same status as overall feature ⬇️
31+
# baseline: high
32+
# baseline_low_date: 2015-07-29
33+
# baseline_high_date: 2018-01-29
34+
# support:
35+
# chrome: "17"
36+
# chrome_android: "18"
37+
# edge: "12"
38+
# firefox: "5"
39+
# firefox_android: "5"
40+
# safari: "6"
41+
# safari_ios: "6"
42+
- api.HTMLElement.accessKey
43+
44+
# baseline: false
45+
# support:
46+
# firefox: "8"
47+
# firefox_android: "8"
48+
# safari: "14"
49+
# safari_ios: "14"
50+
- api.HTMLElement.accessKeyLabel

features/autocapitalize.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: Autocapitalize
2+
description: The `autocapitalize` global HTML attribute sets the virtual keyboard capitalization behavior for user input on an element, such as the first letter of sentences or all words.
3+
spec: https://html.spec.whatwg.org/multipage/interaction.html#autocapitalization
4+
compat_features:
5+
- api.HTMLElement.autocapitalize
6+
- html.global_attributes.autocapitalize

features/autocapitalize.yml.dist

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Generated from: autocapitalize.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support:
7+
chrome: "66"
8+
chrome_android: "66"
9+
edge: "79"
10+
firefox: "111"
11+
firefox_android: "111"
12+
safari_ios: "10.3"
13+
compat_features:
14+
# baseline: false
15+
# support:
16+
# chrome: "43"
17+
# chrome_android: "43"
18+
# edge: "79"
19+
# firefox: "111"
20+
# firefox_android: "111"
21+
# safari_ios: "5"
22+
- html.global_attributes.autocapitalize
23+
24+
# ⬇️ Same status as overall feature ⬇️
25+
# baseline: false
26+
# support:
27+
# chrome: "66"
28+
# chrome_android: "66"
29+
# edge: "79"
30+
# firefox: "111"
31+
# firefox_android: "111"
32+
# safari_ios: "10.3"
33+
- api.HTMLElement.autocapitalize

features/autocorrect.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: Autocorrect
2+
description: The `autocorrect` global HTML attribute controls whether to automatically correct spelling or punctuation errors for user input.
3+
spec: https://html.spec.whatwg.org/multipage/interaction.html#autocorrection
4+
compat_features:
5+
- api.HTMLElement.autocorrect
6+
- html.global_attributes.autocorrect

features/autocorrect.yml.dist

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Generated from: autocorrect.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support: {}
7+
compat_features:
8+
# baseline: false
9+
# support:
10+
# safari: "14.1"
11+
# safari_ios: "14.5"
12+
- api.HTMLElement.autocorrect
13+
14+
# ⬇️ Same status as overall feature ⬇️
15+
# baseline: false
16+
# support: {}
17+
- html.global_attributes.autocorrect

features/change-event.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: Change event
2+
description: The `change` event for `<input>`, `<select>`, and `<textarea>` elements fires when the user modifies the element's value. Unlike the `input` event, the change event does not necessarily fire on every alteration to an element's value.
3+
spec:
4+
- https://html.spec.whatwg.org/multipage/indices.html#event-change
5+
- https://html.spec.whatwg.org/multipage/webappapis.html#handler-onchange
6+
compat_features:
7+
- api.HTMLElement.change_event

features/change-event.yml.dist

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Generated from: change-event.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: high
6+
baseline_low_date: 2015-07-29
7+
baseline_high_date: 2018-01-29
8+
support:
9+
chrome: "1"
10+
chrome_android: "18"
11+
edge: "12"
12+
firefox: "1"
13+
firefox_android: "4"
14+
safari: "3"
15+
safari_ios: "2"
16+
compat_features:
17+
- api.HTMLElement.change_event
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: 'contenteditable="plaintext-only"'
2+
description: The `contenteditable="plaintext-only"` global HTML attribute allows the user to edit the content of an element, but prevents rich-text formatting.
3+
spec: https://html.spec.whatwg.org/multipage/interaction.html#attr-contenteditable-plaintextonly-state
4+
compat_features:
5+
- html.global_attributes.contenteditable.plaintext-only
6+
- api.HTMLElement.contentEditable.plaintext-only
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Generated from: contenteditable-plaintextonly.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support:
7+
chrome: "51"
8+
chrome_android: "51"
9+
edge: ≤79
10+
safari: ≤13.1
11+
safari_ios: ≤13.4
12+
compat_features:
13+
# baseline: false
14+
# support:
15+
# chrome: "51"
16+
# chrome_android: "51"
17+
# edge: ≤79
18+
# safari: "5.1"
19+
# safari_ios: "5"
20+
- api.HTMLElement.contentEditable.plaintext-only
21+
22+
# ⬇️ Same status as overall feature ⬇️
23+
# baseline: false
24+
# support:
25+
# chrome: "51"
26+
# chrome_android: "51"
27+
# edge: ≤79
28+
# safari: ≤13.1
29+
# safari_ios: ≤13.4
30+
- html.global_attributes.contenteditable.plaintext-only

0 commit comments

Comments
 (0)