-
Notifications
You must be signed in to change notification settings - Fork 278
Expand file tree
/
Copy pathmutation-events.yml
More file actions
22 lines (22 loc) · 885 Bytes
/
mutation-events.yml
File metadata and controls
22 lines (22 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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/
caniuse: mutation-events
group: dom
discouraged:
removal_date: 2025-09-15
reason: Mutation events negatively impact performance and they were selected for removal from the web as part of Interop 2025.
according_to:
- https://www.w3.org/TR/2024/WD-uievents-20240906/#legacy-mutationevent-events
- https://github.com/web-platform-tests/interop/issues/784
alternatives:
- mutationobserver
compat_features:
- api.MutationEvent
- api.MutationEvent.attrChange
- api.MutationEvent.attrName
- api.MutationEvent.initMutationEvent
- api.MutationEvent.newValue
- api.MutationEvent.prevValue
- api.MutationEvent.relatedNode