From c0b52cda13bb78c6c9d3d3abbd8a2931b2acedd7 Mon Sep 17 00:00:00 2001 From: Rumyra Date: Mon, 8 Mar 2021 13:53:22 +0000 Subject: [PATCH 1/4] updates --- .../firefox/experimental_features/index.html | 80 ------------------- .../mozilla/firefox/releases/87/index.html | 4 + .../htmlelement/beforeinput_event/index.html | 2 + .../api/inputevent/gettargetranges/index.html | 6 +- 4 files changed, 9 insertions(+), 83 deletions(-) diff --git a/files/en-us/mozilla/firefox/experimental_features/index.html b/files/en-us/mozilla/firefox/experimental_features/index.html index b80f7107bb276ef..8c30710f1ed1b85 100644 --- a/files/en-us/mozilla/firefox/experimental_features/index.html +++ b/files/en-us/mozilla/firefox/experimental_features/index.html @@ -830,86 +830,6 @@

WebGPU API

HTML DOM API

-

Global event: beforeinput

- -

The global {{domxref("HTMLElement.beforeinput_event", "beforeinput")}} event is sent to an {{HTMLElement("input")}} element—or any element whose {{htmlattrxref("contenteditable")}} attribute is enabled—immediately before the element's value changes.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Release channelVersion addedEnabled by default?
Nightly74No
Developer Edition74No
Beta74No
Release74No
Preference namedom.input_events.beforeinput.enabled
- -

InputEvent.getTargetRanges()

- -

The {{domxref('InputEvent.getTargetRanges()', 'getTargetRanges()')}} method of the {{domxref("InputEvent")}} interface returns an array of static ranges that will be affected by a change to the DOM if the input event is not canceled.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Release channelVersion addedEnabled by default?
Nightly83No
Developer Edition83No
Beta83No
Release83No
Preference namedom.input_events.beforeinput.enabled
-

HTMLMediaElement method: setSinkId()

{{domxref("HTMLMediaElement.setSinkId()")}} allows you to set the sink ID of an audio output device on an {{domxref("HTMLMediaElement")}}, thereby changing where the audio is being output. See {{bug(934425)}} for more details.

diff --git a/files/en-us/mozilla/firefox/releases/87/index.html b/files/en-us/mozilla/firefox/releases/87/index.html index f13aa7fe4850dda..6472efce24b85f2 100644 --- a/files/en-us/mozilla/firefox/releases/87/index.html +++ b/files/en-us/mozilla/firefox/releases/87/index.html @@ -68,6 +68,10 @@

APIs

DOM

+ +

Media, WebRTC, and Web Audio

Removals

diff --git a/files/en-us/web/api/htmlelement/beforeinput_event/index.html b/files/en-us/web/api/htmlelement/beforeinput_event/index.html index 342706c03b8ef57..cbbddbf0c5d43fa 100644 --- a/files/en-us/web/api/htmlelement/beforeinput_event/index.html +++ b/files/en-us/web/api/htmlelement/beforeinput_event/index.html @@ -14,6 +14,8 @@

The DOM beforeinput event fires when the value of an {{HTMLElement("input")}}, {{HTMLElement("select")}}, or {{HTMLElement("textarea")}} element is about to be modified. The event also applies to elements with {{domxref("HTMLElement.contentEditable", "contenteditable")}} enabled, and to any element when {{domxref("Document.designMode", "designMode")}} is turned on.

+

This allows web apps to override text edit behaviour before the browser modifies the DOM tree, and in turn gives them more control over input events to improve performance.

+

In the case of contenteditable and designMode, the event target is the editing host. If these properties apply to multiple elements, the editing host is the nearest ancestor element whose parent isn't editable.

diff --git a/files/en-us/web/api/inputevent/gettargetranges/index.html b/files/en-us/web/api/inputevent/gettargetranges/index.html index 94ab3356b54170a..23306d2031e417a 100644 --- a/files/en-us/web/api/inputevent/gettargetranges/index.html +++ b/files/en-us/web/api/inputevent/gettargetranges/index.html @@ -13,9 +13,9 @@ ---

{{APIRef("DOM Events")}}

-

The getTargetRanges() method of the - {{domxref("InputEvent")}} interface returns an array of static ranges that will be - affected by a change to the DOM if the input event is not canceled.

+

The getTargetRanges() method of the {{domxref("InputEvent")}} interface returns an array of static ranges that will be affected by a change to the DOM if the input event is not canceled.

+ +

This allows web apps to override text edit behaviour before the browser modifies the DOM tree, and in turn gives them more control over input events to improve performance.

Syntax

From 2fc48efdf09449da615a9c7d284d975e9f392dd4 Mon Sep 17 00:00:00 2001 From: Chris Mills Date: Mon, 8 Mar 2021 14:25:39 +0000 Subject: [PATCH 2/4] copy edit --- files/en-us/web/api/inputevent/gettargetranges/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/api/inputevent/gettargetranges/index.html b/files/en-us/web/api/inputevent/gettargetranges/index.html index 23306d2031e417a..adb829fcab78f2f 100644 --- a/files/en-us/web/api/inputevent/gettargetranges/index.html +++ b/files/en-us/web/api/inputevent/gettargetranges/index.html @@ -15,7 +15,7 @@

The getTargetRanges() method of the {{domxref("InputEvent")}} interface returns an array of static ranges that will be affected by a change to the DOM if the input event is not canceled.

-

This allows web apps to override text edit behaviour before the browser modifies the DOM tree, and in turn gives them more control over input events to improve performance.

+

This allows web apps to override text edit behavior before the browser modifies the DOM tree, and provides more control over input events to improve performance.

Syntax

From dadd9adeea71a331ff0c70763ea6103c4cf0aaac Mon Sep 17 00:00:00 2001 From: Chris Mills Date: Mon, 8 Mar 2021 14:26:08 +0000 Subject: [PATCH 3/4] copy edit --- files/en-us/web/api/htmlelement/beforeinput_event/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/api/htmlelement/beforeinput_event/index.html b/files/en-us/web/api/htmlelement/beforeinput_event/index.html index cbbddbf0c5d43fa..c734b32bb0cbf8d 100644 --- a/files/en-us/web/api/htmlelement/beforeinput_event/index.html +++ b/files/en-us/web/api/htmlelement/beforeinput_event/index.html @@ -14,7 +14,7 @@

The DOM beforeinput event fires when the value of an {{HTMLElement("input")}}, {{HTMLElement("select")}}, or {{HTMLElement("textarea")}} element is about to be modified. The event also applies to elements with {{domxref("HTMLElement.contentEditable", "contenteditable")}} enabled, and to any element when {{domxref("Document.designMode", "designMode")}} is turned on.

-

This allows web apps to override text edit behaviour before the browser modifies the DOM tree, and in turn gives them more control over input events to improve performance.

+

This allows web apps to override text edit behavior before the browser modifies the DOM tree, and provides more control over input events to improve performance.

In the case of contenteditable and designMode, the event target is the editing host. If these properties apply to multiple elements, the editing host is the nearest ancestor element whose parent isn't editable.

From 0fc68a2dc8f16f8fb6fc13867fbb47daf37e4adb Mon Sep 17 00:00:00 2001 From: Chris Mills Date: Mon, 8 Mar 2021 14:28:22 +0000 Subject: [PATCH 4/4] copy edit --- files/en-us/mozilla/firefox/releases/87/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/mozilla/firefox/releases/87/index.html b/files/en-us/mozilla/firefox/releases/87/index.html index 6472efce24b85f2..b72ab23ba030a0f 100644 --- a/files/en-us/mozilla/firefox/releases/87/index.html +++ b/files/en-us/mozilla/firefox/releases/87/index.html @@ -69,7 +69,7 @@

APIs

DOM

    -
  • The global {{domxref("HTMLElement.beforeinput_event", "beforeinput")}} event and {{domxref('InputEvent.getTargetRanges()', 'getTargetRanges()')}} method are now enabled by default. This allows web apps to override text edit behaviour before the browser modifies the DOM tree, and in turn gives them more control over input events to improve performance. The global {{domxref("HTMLElement.beforeinput_event", "beforeinput")}} event is sent to an {{HTMLElement("input")}} element—or any element whose {{htmlattrxref("contenteditable")}} attribute is enabled—immediately before the element's value changes. The {{domxref('InputEvent.getTargetRanges()', 'getTargetRanges()')}} method of the {{domxref("InputEvent")}} interface returns an array of static ranges that will be affected by a change to the DOM if the input event is not canceled.
  • +
  • The {{domxref("HTMLElement.beforeinput_event", "beforeinput")}} event and {{domxref('InputEvent.getTargetRanges()', 'getTargetRanges()')}} method are now enabled by default. They allow web apps to override text edit behavior before the browser modifies the DOM tree, and provide more control over input events to improve performance. The global {{domxref("HTMLElement.beforeinput_event", "beforeinput")}} event is sent to an {{HTMLElement("input")}} element — or any element whose {{htmlattrxref("contenteditable")}} attribute is enabled — immediately before the element's value changes. The {{domxref('InputEvent.getTargetRanges()', 'getTargetRanges()')}} method of the {{domxref("InputEvent")}} interface returns an array of static ranges that will be affected by a change to the DOM if the input event is not canceled.

Media, WebRTC, and Web Audio