Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UI Events as features, update existing events #2285

Merged
merged 35 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1b9ecf6
More permissions keys
autonome Nov 19, 2024
00a3713
Merge branch 'main' of https://github.com/web-platform-dx/web-features
autonome Nov 19, 2024
de5745e
Merge branch 'main' of https://github.com/web-platform-dx/web-features
autonome Nov 19, 2024
7b88ae9
Merge branch 'main' of https://github.com/web-platform-dx/web-features
autonome Nov 19, 2024
85333ba
Merge branch 'main' of https://github.com/web-platform-dx/web-features
autonome Nov 19, 2024
674194f
Merge branch 'main' of https://github.com/web-platform-dx/web-features
autonome Nov 20, 2024
d003e48
Add UI events and update some existing events
autonome Nov 20, 2024
f2c2a1b
Merge branch 'main' into uievents
autonome Nov 20, 2024
1132fa3
Merge branch 'main' of https://github.com/web-platform-dx/web-features
autonome Nov 20, 2024
9e67598
Merge branch 'main' of https://github.com/web-platform-dx/web-features
autonome Nov 20, 2024
fb6591f
Revert "More permissions keys"
autonome Nov 20, 2024
df87adb
Revert "More permissions keys"
autonome Nov 20, 2024
ccf814c
Merge branch 'main' into uievents
autonome Nov 20, 2024
3027834
Merge branch 'uievents' of https://github.com/autonome/web-features i…
autonome Nov 20, 2024
8f6371f
Merge branch 'main' into uievents
autonome Nov 22, 2024
e8b988a
put input events back
autonome Nov 25, 2024
0c8169c
pointer pointer events events
autonome Nov 25, 2024
c5906ab
Merge branch 'uievents' of https://github.com/autonome/web-features i…
autonome Nov 25, 2024
1866e15
Merge branch 'main' into uievents
autonome Nov 25, 2024
0755d98
Update features/focus-events.yml
autonome Nov 25, 2024
24a2dd7
more review fixes
autonome Nov 25, 2024
278772a
update descriptions per review
autonome Nov 25, 2024
80b557d
regen
autonome Nov 25, 2024
7dea818
format
autonome Nov 25, 2024
8e24d23
rename pointer events
autonome Nov 25, 2024
fcc2b87
Merge branch 'main' into uievents
autonome Nov 25, 2024
82ad6d9
Merge branch 'main' into uievents
autonome Nov 25, 2024
68aeb8b
add comment about focus events
autonome Nov 26, 2024
183ed84
Merge branch 'uievents' of https://github.com/autonome/web-features i…
autonome Nov 26, 2024
88f49ba
Update features/composition-events.yml
autonome Nov 26, 2024
e906f3b
Update features/focus-events.yml
autonome Nov 26, 2024
cb410f3
Update features/keyboard-events.yml
autonome Nov 26, 2024
8852172
Update features/pointer-events-api.yml
autonome Nov 26, 2024
e9ef14d
Merge branch 'main' into uievents
autonome Nov 26, 2024
8867c87
Merge branch 'main' into uievents
autonome Nov 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions features/composition-events.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Composition events
description: Composition Events are a method of adding text containing characters that might not be commonly available on keyboard, from emoji to logograms in Asian languages to input from speech recognition processors.
autonome marked this conversation as resolved.
Show resolved Hide resolved
spec: https://w3c.github.io/uievents/#events-compositionevents
compat_features:
- api.CompositionEvent
- api.CompositionEvent.CompositionEvent
- api.CompositionEvent.data
- api.Element.compositionend_event
- api.Element.compositionstart_event
- api.Element.compositionupdate_event
58 changes: 58 additions & 0 deletions features/composition-events.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Generated from: composition-events.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2017-04-19
baseline_high_date: 2019-10-19
support:
chrome: "26"
chrome_android: "26"
edge: "12"
firefox: "53"
firefox_android: "53"
safari: "7"
safari_ios: "7"
compat_features:
# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "15"
# chrome_android: "18"
# edge: "12"
# firefox: "9"
# firefox_android: "9"
# safari: "5"
# safari_ios: "5"
- api.CompositionEvent
- api.CompositionEvent.data
- api.Element.compositionend_event
- api.Element.compositionstart_event

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "18"
# chrome_android: "18"
# edge: "12"
# firefox: "9"
# firefox_android: "9"
# safari: "5"
# safari_ios: "5"
- api.Element.compositionupdate_event

# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2017-04-19
# baseline_high_date: 2019-10-19
# support:
# chrome: "26"
# chrome_android: "26"
# edge: "12"
# firefox: "53"
# firefox_android: "53"
# safari: "7"
# safari_ios: "7"
- api.CompositionEvent.CompositionEvent
14 changes: 14 additions & 0 deletions features/focus-events.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Focus events
description: Focus events represent changes in the focused or blurred elements or windows.
spec: https://w3c.github.io/uievents/#events-focusevent
caniuse: focusin-focusout-events
status:
compute_from: api.Element.focus_event
autonome marked this conversation as resolved.
Show resolved Hide resolved
compat_features:
- api.Element.blur_event
- api.Element.focus_event
- api.Element.focusin_event
- api.Element.focusout_event
- api.FocusEvent
- api.FocusEvent.FocusEvent
- api.FocusEvent.relatedTarget
64 changes: 64 additions & 0 deletions features/focus-events.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Generated from: focus-events.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2015-07-29
baseline_high_date: 2018-01-29
support:
chrome: "1"
chrome_android: "18"
edge: "12"
firefox: "24"
firefox_android: "24"
safari: "3.1"
safari_ios: "2"
compat_features:
# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "12"
# firefox: "6"
# firefox_android: "6"
# safari: "3.1"
# safari_ios: "2"
- api.Element.blur_event

# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "12"
# firefox: "24"
# firefox_android: "24"
# safari: "3.1"
# safari_ios: "2"
- api.Element.focus_event

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "26"
# chrome_android: "26"
# edge: "12"
# firefox: "24"
# firefox_android: "24"
# safari: "7"
# safari_ios: "7"
- api.FocusEvent
- api.FocusEvent.FocusEvent
- api.FocusEvent.relatedTarget

# baseline: false
# support:
# safari: "5"
# safari_ios: "4.2"
- api.Element.focusin_event
- api.Element.focusout_event
4 changes: 0 additions & 4 deletions features/input-event.yml
autonome marked this conversation as resolved.
Show resolved Hide resolved

This file was deleted.

17 changes: 17 additions & 0 deletions features/input-events.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Input events
description: The `input` event fires when a form control changes or an element with the `contenteditable` attribute changes.
spec: https://w3c.github.io/uievents/#event-type-input
caniuse: input-event
status:
compute_from: api.Element.input_event
compat_features:
- api.Element.beforeinput_event
- api.Element.input_event
- api.InputEvent
- api.InputEvent.InputEvent
- api.InputEvent.inputType
- api.InputEvent.data
- api.InputEvent.dataTransfer
- api.InputEvent.getTargetRanges
- api.InputEvent.inputType.insertFromPasteAsQuotation
- api.InputEvent.isComposing
27 changes: 18 additions & 9 deletions features/input-event.yml.dist → features/input-events.yml.dist
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
# Generated from: input-event.yml
# Generated from: input-events.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: low
baseline_low_date: 2023-03-27
baseline: high
baseline_low_date: 2020-01-15
baseline_high_date: 2022-07-15
support:
chrome: "60"
chrome_android: "60"
chrome: "1"
chrome_android: "18"
edge: "79"
firefox: "87"
firefox_android: "87"
safari: "16.4"
safari_ios: "16.4"
firefox: "6"
firefox_android: "6"
safari: "3.1"
safari_ios: "2"
compat_features:
# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2020-01-15
# baseline_high_date: 2022-07-15
Expand Down Expand Up @@ -78,6 +80,7 @@ compat_features:
# firefox_android: "87"
# safari: "10.1"
# safari_ios: "10.3"
- api.Element.beforeinput_event
- api.InputEvent.getTargetRanges

# baseline: low
Expand All @@ -91,3 +94,9 @@ compat_features:
# safari: "16.4"
# safari_ios: "16.4"
- api.InputEvent.isComposing

# baseline: false
# support:
# firefox: "67"
# firefox_android: "67"
- api.InputEvent.inputType.insertFromPasteAsQuotation
33 changes: 33 additions & 0 deletions features/keyboard-events.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Keyboard events
description: Keyboard events describe a single interaction between the user and a key (or combination of a key with modifier keys) on the keyboard.
spec: https://w3c.github.io/uievents/#events-keyboardevents
status:
compute_from: api.KeyboardEvent.KeyboardEvent
autonome marked this conversation as resolved.
Show resolved Hide resolved
compat_features:
- api.Element.keydown_event
- api.Element.keyup_event
- api.KeyboardEvent
- api.KeyboardEvent.KeyboardEvent
- api.KeyboardEvent.altKey
- api.KeyboardEvent.code
- api.KeyboardEvent.ctrlKey
- api.KeyboardEvent.getModifierState
- api.KeyboardEvent.getModifierState.key_parameter_alt
- api.KeyboardEvent.getModifierState.key_parameter_altgraph
- api.KeyboardEvent.getModifierState.key_parameter_capslock
- api.KeyboardEvent.getModifierState.key_parameter_control
- api.KeyboardEvent.getModifierState.key_parameter_fn
- api.KeyboardEvent.getModifierState.key_parameter_meta
- api.KeyboardEvent.getModifierState.key_parameter_numlock
- api.KeyboardEvent.getModifierState.key_parameter_scrolllock
- api.KeyboardEvent.getModifierState.key_parameter_shift
- api.KeyboardEvent.getModifierState.key_parameter_symbol
- api.KeyboardEvent.isComposing
- api.KeyboardEvent.key
- api.KeyboardEvent.key.dead_key
- api.KeyboardEvent.key.non_printable_keys
- api.KeyboardEvent.key.printable_key
- api.KeyboardEvent.location
- api.KeyboardEvent.metaKey
- api.KeyboardEvent.repeat
- api.KeyboardEvent.shiftKey
Loading