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 discouraged mutation events #2518

Merged
merged 5 commits into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
17 changes: 17 additions & 0 deletions features/mutation-events.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Mutation events
description: Mutation events like `DOMSubtreeModified`, `DOMNodeInserted`, or `DOMNodeRemoved` fire when DOM changes occur.
# The latest spec doesn't mention them at all anymore.
spec: https://w3c.github.io/uievents/
discouraged:
according_to:
- https://www.w3.org/TR/2024/WD-uievents-20240906/#legacy-mutationevent-events
alternatives:
- mutationobserver
compat_features:
- api.MutationEvent
- api.MutationEvent.attrChange
- api.MutationEvent.attrName
- api.MutationEvent.initMutationEvent
- api.MutationEvent.newValue
- api.MutationEvent.prevValue
- api.MutationEvent.relatedNode
18 changes: 18 additions & 0 deletions features/mutation-events.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated from: mutation-events.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support:
firefox: "1"
firefox_android: "4"
safari: "1"
safari_ios: "1"
compat_features:
- api.MutationEvent
- api.MutationEvent.attrChange
- api.MutationEvent.attrName
- api.MutationEvent.initMutationEvent
- api.MutationEvent.newValue
- api.MutationEvent.prevValue
- api.MutationEvent.relatedNode
Loading