Skip to content

Commit

Permalink
Synchronize with BCD v5.6.25 (#37257)
Browse files Browse the repository at this point in the history
Co-authored-by: OnkarRuikar <[email protected]>
  • Loading branch information
OnkarRuikar and OnkarRuikar authored Dec 18, 2024
1 parent 792424f commit 8583c12
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 16 deletions.
3 changes: 2 additions & 1 deletion files/en-us/web/api/mutationevent/attrchange/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ slug: Web/API/MutationEvent/attrChange
page-type: web-api-instance-property
status:
- deprecated
- non-standard
browser-compat: api.MutationEvent.attrChange
---

{{APIRef("UI Events")}}{{Deprecated_Header}}
{{APIRef("UI Events")}}{{Deprecated_Header}}{{non-standard_header}}

The **`attrChange`** read-only property of the {{domxref("MutationEvent")}} interface returns a number indicating what kind of change triggered the `DOMAttrModified` event. The three possible values are `MODIFICATION` (`1`), `ADDITION` (`2`) or `REMOVAL` (`3`). It has no meaning for other events and is then set to `0`.

Expand Down
3 changes: 2 additions & 1 deletion files/en-us/web/api/mutationevent/attrname/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ slug: Web/API/MutationEvent/attrName
page-type: web-api-instance-property
status:
- deprecated
- non-standard
browser-compat: api.MutationEvent.attrName
---

{{APIRef("UI Events")}}{{Deprecated_Header}}
{{APIRef("UI Events")}}{{Deprecated_Header}}{{non-standard_header}}

The **`attrName`** read-only property of the {{domxref("MutationEvent")}} interface returns a string with the name of the node affected by the `DOMAttrModified` event. It has no meaning for other events and is then set to the empty string (`""`).

Expand Down
15 changes: 8 additions & 7 deletions files/en-us/web/api/mutationevent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ slug: Web/API/MutationEvent
page-type: web-api-interface
status:
- deprecated
- non-standard
browser-compat: api.MutationEvent
---

{{APIRef("UI Events")}}{{Deprecated_Header}}
{{APIRef("UI Events")}}{{Deprecated_Header}}{{non-standard_header}}

The **`MutationEvent`** interface provides event properties that are specific to modifications to the Document Object Model (DOM) hierarchy and nodes.

Expand All @@ -26,20 +27,20 @@ The **`MutationEvent`** interface provides event properties that are specific to

_This interface also inherits properties from its parent {{domxref("UIEvent")}}, and indirectly from {{domxref("Event")}}._

- {{domxref("MutationEvent.attrChange")}} {{ReadOnlyInline}} {{Deprecated_Inline}}
- {{domxref("MutationEvent.attrChange")}} {{ReadOnlyInline}} {{Deprecated_Inline}} {{non-standard_inline}}
- : Indicates what kind of change triggered the `DOMAttrModified` event. It can be `MODIFICATION` (`1`), `ADDITION` (`2`) or `REMOVAL` (`3`). It has no meaning for other events and is then set to `0`.
- {{domxref("MutationEvent.attrName")}} {{ReadOnlyInline}} {{Deprecated_Inline}}
- {{domxref("MutationEvent.attrName")}} {{ReadOnlyInline}} {{Deprecated_Inline}} {{non-standard_inline}}
- : Indicates the name of the node affected by the `DOMAttrModified` event. It has no meaning for other events and is then set to the empty string (`""`).
- {{domxref("MutationEvent.newValue")}} {{ReadOnlyInline}} {{Deprecated_Inline}}
- {{domxref("MutationEvent.newValue")}} {{ReadOnlyInline}} {{Deprecated_Inline}} {{non-standard_inline}}
- : In `DOMAttrModified` events, contains the new value of the modified {{domxref("Attr")}} node. In `DOMCharacterDataModified` events, contains the new value of the modified {{domxref("CharacterData")}} node. In all other cases, returns the empty string (`""`).
- {{domxref("MutationEvent.prevValue")}} {{ReadOnlyInline}} {{Deprecated_Inline}}
- {{domxref("MutationEvent.prevValue")}} {{ReadOnlyInline}} {{Deprecated_Inline}} {{non-standard_inline}}
- : In `DOMAttrModified` events, contains the previous value of the modified {{domxref("Attr")}} node. In `DOMCharacterDataModified` events, contains previous new value of the modified {{domxref("CharacterData")}} node. In all other cases, returns the empty string (`""`).
- {{domxref("MutationEvent.relatedNode")}} {{ReadOnlyInline}} {{Deprecated_Inline}}
- {{domxref("MutationEvent.relatedNode")}} {{ReadOnlyInline}} {{Deprecated_Inline}} {{non-standard_inline}}
- : Indicates the node related to the event, like the changed node inside the subtree for `DOMSubtreeModified`.

## Instance methods

- {{domxref("MutationEvent.initMutationEvent()")}} {{Deprecated_Inline}}
- {{domxref("MutationEvent.initMutationEvent()")}} {{Deprecated_Inline}} {{non-standard_inline}}
- : Constructor method that returns a new `MutationEvent` configured with the parameters given.

## Mutation events list
Expand Down
3 changes: 2 additions & 1 deletion files/en-us/web/api/mutationevent/initmutationevent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ slug: Web/API/MutationEvent/initMutationEvent
page-type: web-api-instance-method
status:
- deprecated
- non-standard
browser-compat: api.MutationEvent.initMutationEvent
---

{{APIRef("UI Events")}}{{deprecated_header}}
{{APIRef("UI Events")}}{{deprecated_header}}{{non-standard_header}}

The **`initMutationEvent()`** method of the {{domxref("MutationEvent")}} interface initializes the
value of a mutation event once it's been created (normally using the {{domxref("Document.createEvent()")}} method).
Expand Down
3 changes: 2 additions & 1 deletion files/en-us/web/api/mutationevent/newvalue/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ slug: Web/API/MutationEvent/newValue
page-type: web-api-instance-property
status:
- deprecated
- non-standard
browser-compat: api.MutationEvent.newValue
---

{{APIRef("UI Events")}}{{Deprecated_Header}}
{{APIRef("UI Events")}}{{Deprecated_Header}}{{non-standard_header}}

The **`newValue`** read-only property of the {{domxref("MutationEvent")}} interface returns a string. In `DOMAttrModified` events, it represents the new value of the {{domxref("Attr")}} node. In `DOMCharacterDataModified` events, it contains the new value of the {{domxref("CharacterData")}} node. In all other cases, returns the empty string (`""`).

Expand Down
3 changes: 2 additions & 1 deletion files/en-us/web/api/mutationevent/prevvalue/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ slug: Web/API/MutationEvent/prevValue
page-type: web-api-instance-property
status:
- deprecated
- non-standard
browser-compat: api.MutationEvent.prevValue
---

{{APIRef("UI Events")}}{{Deprecated_Header}}
{{APIRef("UI Events")}}{{Deprecated_Header}}{{non-standard_header}}

The **`prevValue`** read-only property of the {{domxref("MutationEvent")}} interface returns a string. In `DOMAttrModified` events, it represents the previous value of the {{domxref("Attr")}} node. In `DOMCharacterDataModified` events, it contains the previous value of the {{domxref("CharacterData")}} node. In all other cases, returns the empty string (`""`).

Expand Down
3 changes: 2 additions & 1 deletion files/en-us/web/api/mutationevent/relatednode/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ slug: Web/API/MutationEvent/relatedNode
page-type: web-api-instance-property
status:
- deprecated
- non-standard
browser-compat: api.MutationEvent.relatedNode
---

{{APIRef("UI Events")}}{{Deprecated_Header}}
{{APIRef("UI Events")}}{{Deprecated_Header}}{{non-standard_header}}

The **`relatedNode`** read-only property of the {{domxref("MutationEvent")}} interface returns a string indicating the node related to the event, like the changed node inside the subtree for `DOMSubtreeModified`.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/css/@view-transition/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
title: "@view-transition"
slug: Web/CSS/@view-transition
page-type: css-at-rule
status:
- experimental
browser-compat: css.at-rules.view-transition
---

{{CSSRef}}{{SeeCompatTable}}
{{CSSRef}}

The **`@view-transition`** [CSS](/en-US/docs/Web/CSS) [at-rule](/en-US/docs/Web/CSS/At-rule) is used to opt in the current and destination documents to undergo a [view transition](/en-US/docs/Web/API/View_Transitions_API), in the case of a cross-document navigation.

Expand Down

0 comments on commit 8583c12

Please sign in to comment.