Skip to content

Commit

Permalink
Synchronize with BCD v5.6.11
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkarRuikar committed Oct 31, 2024
1 parent 217a5e0 commit d7687b8
Show file tree
Hide file tree
Showing 23 changed files with 40 additions and 84 deletions.
4 changes: 1 addition & 3 deletions files/en-us/web/api/commandevent/command/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "CommandEvent: command property"
short-title: command
slug: Web/API/CommandEvent/command
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.CommandEvent.command
---

{{APIRef("Invoker Commands API")}}{{SeeCompatTable}}
{{APIRef("Invoker Commands API")}}

The **`command`** read-only property of the {{domxref("CommandEvent")}} interface returns a string containing the value of the {{domxref("HTMLButtonElement.command", "command")}} property at the time the event was dispatched.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/commandevent/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "CommandEvent: source property"
short-title: source
slug: Web/API/CommandEvent/source
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.CommandEvent.source
---

{{APIRef("Invoker Commands API")}}{{SeeCompatTable}}
{{APIRef("Invoker Commands API")}}

The **`source`** read-only property of the {{domxref("CommandEvent")}} interface returns an {{domxref("EventTarget")}} representing the control that invoked the given command.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/imagedecoder/close/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "ImageDecoder: close() method"
short-title: close()
slug: Web/API/ImageDecoder/close
page-type: web-api-instance-method
status:
- experimental
browser-compat: api.ImageDecoder.close
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`close()`** method of the {{domxref("ImageDecoder")}} interface ends all pending work and releases system resources.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/imagedecoder/complete/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "ImageDecoder: complete property"
short-title: complete
slug: Web/API/ImageDecoder/complete
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.ImageDecoder.complete
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`complete`** read-only property of the {{domxref("ImageDecoder")}} interface returns true if encoded data has completed buffering.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/imagedecoder/completed/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "ImageDecoder: completed property"
short-title: completed
slug: Web/API/ImageDecoder/completed
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.ImageDecoder.completed
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`completed`** read-only property of the {{domxref("ImageDecoder")}} interface returns a promise that resolves once encoded data has finished buffering.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/imagedecoder/decode/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "ImageDecoder: decode() method"
short-title: decode()
slug: Web/API/ImageDecoder/decode
page-type: web-api-instance-method
status:
- experimental
browser-compat: api.ImageDecoder.decode
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`decode()`** method of the {{domxref("ImageDecoder")}} interface enqueues a control message to decode the frame of an image.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/imagedecoder/imagedecoder/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "ImageDecoder: ImageDecoder() constructor"
short-title: ImageDecoder()
slug: Web/API/ImageDecoder/ImageDecoder
page-type: web-api-constructor
status:
- experimental
browser-compat: api.ImageDecoder.ImageDecoder
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`ImageDecoder()`** constructor creates a new {{domxref("ImageDecoder")}} object which unpacks and decodes image data.

Expand Down
22 changes: 10 additions & 12 deletions files/en-us/web/api/imagedecoder/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,41 @@
title: ImageDecoder
slug: Web/API/ImageDecoder
page-type: web-api-interface
status:
- experimental
browser-compat: api.ImageDecoder
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`ImageDecoder`** interface of the {{domxref('WebCodecs API','','','true')}} provides a way to unpack and decode encoded image data.

## Constructor

- {{domxref("ImageDecoder.ImageDecoder", "ImageDecoder()")}} {{Experimental_Inline}}
- {{domxref("ImageDecoder.ImageDecoder", "ImageDecoder()")}}
- : Creates a new `ImageDecoder` object.

## Instance properties

- {{domxref("ImageDecoder.complete")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("ImageDecoder.complete")}} {{ReadOnlyInline}}
- : Returns a boolean value indicating whether encoded data is completely buffered.
- {{domxref("ImageDecoder.completed")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("ImageDecoder.completed")}} {{ReadOnlyInline}}
- : Returns a {{jsxref("Promise")}} that resolves once `complete` is true.
- {{domxref("ImageDecoder.tracks")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("ImageDecoder.tracks")}} {{ReadOnlyInline}}
- : Returns an {{domxref("ImageTrackList")}} object listing the available tracks and providing a method for selecting a track to decode.
- {{domxref("ImageDecoder.type")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("ImageDecoder.type")}} {{ReadOnlyInline}}
- : Returns a string reflecting the [MIME type](/en-US/docs/Web/HTTP/MIME_types) configured during construction.

## Static methods

- {{domxref("ImageDecoder.isTypeSupported_static", "ImageDecoder.isTypeSupported()")}} {{Experimental_Inline}}
- {{domxref("ImageDecoder.isTypeSupported_static", "ImageDecoder.isTypeSupported()")}}
- : Indicates if the provided [MIME type](/en-US/docs/Web/HTTP/MIME_types) is supported for unpacking and decoding.

## Instance methods

- {{domxref("ImageDecoder.close()")}} {{Experimental_Inline}}
- {{domxref("ImageDecoder.close()")}}
- : Ends all pending work and releases system resources.
- {{domxref("ImageDecoder.decode()")}} {{Experimental_Inline}}
- {{domxref("ImageDecoder.decode()")}}
- : Enqueues a control message to decode the frame of an image.
- {{domxref("ImageDecoder.reset()")}} {{Experimental_Inline}}
- {{domxref("ImageDecoder.reset()")}}
- : Aborts all pending `decode()` operations.

## Examples
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "ImageDecoder: isTypeSupported() static method"
short-title: isTypeSupported()
slug: Web/API/ImageDecoder/isTypeSupported_static
page-type: web-api-static-method
status:
- experimental
browser-compat: api.ImageDecoder.isTypeSupported_static
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`ImageDecoder.isTypeSupported()`** static method checks if a given [MIME type](/en-US/docs/Web/HTTP/MIME_types) can be decoded by the user agent.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/imagedecoder/reset/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "ImageDecoder: reset() method"
short-title: reset()
slug: Web/API/ImageDecoder/reset
page-type: web-api-instance-method
status:
- experimental
browser-compat: api.ImageDecoder.reset
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`reset()`** method of the {{domxref("ImageDecoder")}} interface aborts all pending `decode()` operations; rejecting all pending promises. All other state will be unchanged. Class methods can continue to be invoked after `reset()`. E.g., calling `decode()` after `reset()` is permitted.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/imagedecoder/tracks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "ImageDecoder: tracks property"
short-title: tracks
slug: Web/API/ImageDecoder/tracks
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.ImageDecoder.tracks
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`tracks`** read-only property of the {{domxref("ImageDecoder")}} interface returns a list of the tracks in the encoded image data.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/imagedecoder/type/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "ImageDecoder: type property"
short-title: type
slug: Web/API/ImageDecoder/type
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.ImageDecoder.type
---

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`type`** read-only property of the {{domxref("ImageDecoder")}} interface reflects the [MIME type](/en-US/docs/Web/HTTP/MIME_types) configured during construction.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/imagetrack/animated/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "ImageTrack: animated property"
short-title: animated
slug: Web/API/ImageTrack/animated
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.ImageTrack.animated
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`animated`** property of the {{domxref("ImageTrack")}} interface returns `true` if the track is animated and therefore has multiple frames.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/imagetrack/framecount/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "ImageTrack: frameCount property"
short-title: frameCount
slug: Web/API/ImageTrack/frameCount
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.ImageTrack.frameCount
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`frameCount`** property of the {{domxref("ImageTrack")}} interface returns the number of frames in the track.

Expand Down
12 changes: 5 additions & 7 deletions files/en-us/web/api/imagetrack/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,24 @@
title: ImageTrack
slug: Web/API/ImageTrack
page-type: web-api-interface
status:
- experimental
browser-compat: api.ImageTrack
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`ImageTrack`** interface of the {{domxref('WebCodecs API','','','true')}} represents an individual image track.

{{InheritanceDiagram}}

## Instance properties

- {{domxref("ImageTrack.animated")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("ImageTrack.animated")}} {{ReadOnlyInline}}
- : Returns a {{jsxref("boolean")}} indicating whether the track is animated and therefore has multiple frames.
- {{domxref("ImageTrack.frameCount")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("ImageTrack.frameCount")}} {{ReadOnlyInline}}
- : Returns an integer indicating the number of frames in the track.
- {{domxref("ImageTrack.repetitionCount")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("ImageTrack.repetitionCount")}} {{ReadOnlyInline}}
- : Returns an integer indicating the number of times that the animation repeats.
- {{domxref("ImageTrack.selected")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("ImageTrack.selected")}} {{ReadOnlyInline}}
- : Returns a {{jsxref("boolean")}} indicating whether the track is selected for decoding.

## Specifications
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/imagetrack/repetitioncount/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "ImageTrack: repetitionCount property"
short-title: repetitionCount
slug: Web/API/ImageTrack/repetitionCount
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.ImageTrack.repetitionCount
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`repetitionCount`** property of the {{domxref("ImageTrack")}} interface returns the number of repetitions of this track.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/imagetrack/selected/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "ImageTrack: selected property"
short-title: selected
slug: Web/API/ImageTrack/selected
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.ImageTrack.selected
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`selected`** property of the {{domxref("ImageTrack")}} interface returns `true` if the track is selected for decoding.

Expand Down
12 changes: 5 additions & 7 deletions files/en-us/web/api/imagetracklist/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,22 @@
title: ImageTrackList
slug: Web/API/ImageTrackList
page-type: web-api-interface
status:
- experimental
browser-compat: api.ImageTrackList
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`ImageTrackList`** interface of the {{domxref('WebCodecs API','','','true')}} represents a list of image tracks.

## Instance properties

- {{domxref("ImageTrackList.ready")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("ImageTrackList.ready")}} {{ReadOnlyInline}}
- : Returns a {{jsxref("promise")}} that resolves once the `ImageTrackList` has been populated with {{domxref("ImageTrack","tracks")}}.
- {{domxref("ImageTrackList.length")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("ImageTrackList.length")}} {{ReadOnlyInline}}
- : Returns an integer indicating the length of the `ImageTrackList`.
- {{domxref("ImageTrackList.selectedIndex")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("ImageTrackList.selectedIndex")}} {{ReadOnlyInline}}
- : Returns an integer indicating the index of the `selectedTrack`.
- {{domxref("ImageTrackList.selectedTrack")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("ImageTrackList.selectedTrack")}} {{ReadOnlyInline}}
- : Returns the selected {{domxref("ImageTrack")}}.

## Specifications
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/imagetracklist/length/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "ImageTrackList: length property"
short-title: length
slug: Web/API/ImageTrackList/length
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.ImageTrackList.length
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`length`** property of the {{domxref("ImageTrackList")}} interface returns the length of the `ImageTrackList`.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/imagetracklist/ready/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "ImageTrackList: ready property"
short-title: ready
slug: Web/API/ImageTrackList/ready
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.ImageTrackList.ready
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`ready`** property of the {{domxref("ImageTrackList")}} interface returns a {{jsxref("Promise")}} that resolves when the `ImageTrackList` is populated with {{domxref("ImageTrack","tracks")}}.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/imagetracklist/selectedindex/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "ImageTrackList: selectedIndex property"
short-title: selectedIndex
slug: Web/API/ImageTrackList/selectedIndex
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.ImageTrackList.selectedIndex
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`selectedIndex`** property of the {{domxref("ImageTrackList")}} interface returns the `index` of the selected track.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/imagetracklist/selectedtrack/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "ImageTrackList: selectedTrack property"
short-title: selectedTrack
slug: Web/API/ImageTrackList/selectedTrack
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.ImageTrackList.selectedTrack
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}{{AvailableInWorkers("window_and_dedicated")}}
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`selectedTrack`** property of the {{domxref("ImageTrackList")}} interface returns an {{domxref("ImageTrack")}} object representing the currently selected track.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/text-emphasis-position/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The property accepts one or two values:

The values include:

- `auto` {{Experimental_Inline}}
- `auto`
- : Draws marks over the text in horizontal writing mode and to the right of the text in vertical writing mode.
- `over`
- : Draws marks over the text in horizontal writing mode.
Expand Down

0 comments on commit d7687b8

Please sign in to comment.