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

fix typos #38076

Merged
merged 2 commits into from
Feb 10, 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
2 changes: 2 additions & 0 deletions .vscode/dictionaries/ignore-list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ notavideo
notebox
nytimes
Odtsetseg
Oggi
opensas
opensesame
OPQRTUVXYZ
Expand Down Expand Up @@ -321,3 +322,4 @@ YSDEgCDwkICAIOaWhyDwn6aE
Yuckymeat
YWxhZGRpbjpvcGVuc2VzYW1l
Zorp
ZRWB
1 change: 1 addition & 0 deletions .vscode/dictionaries/terms-abbreviations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ snapport
snapshotted
snapshotting
SNES
spammy
spatialization
spatializations
spatialize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ In addition, `signalUnknownCredential()` might also be called if a web app is ab

In this example, a login attempt is made using discoverable credentials via a [`get()`](/en-US/docs/Web/API/CredentialsContainer/get) call. The credential is returned successfully, and the credential ID and payload are stored in constants.

The payload is sent to the RP server via a [`fetch()`](/en-US/docs/Web/API/Window/fetch) request to log the user in, but the request fails with a {{httpstatus("404")}} response because the RP doesn't recognize that user (for example because that credential was prevously deleted from the RP).
The payload is sent to the RP server via a [`fetch()`](/en-US/docs/Web/API/Window/fetch) request to log the user in, but the request fails with a {{httpstatus("404")}} response because the RP doesn't recognize that user (for example because that credential was previously deleted from the RP).

As a result of this, we invoke the `signalUnknownCredential()` method, passing it the `rpId` and credential ID, to inform the authenticator that the credential is unknown to the RP. The authenticator should then delete the credential so it does not cause the same problem again.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ browser-compat: api.RestrictionTarget.fromElement_static

{{APIRef("Screen Capture API")}}{{SeeCompatTable}}{{securecontext_header}}

The **`fromElement()`** static method of the {{domxref("RestrictionTarget")}} interface returns a {{domxref("RestrictionTarget")}} instance that can be used to restrict a captured video track to a specified DOM element (plus its decendants).
The **`fromElement()`** static method of the {{domxref("RestrictionTarget")}} interface returns a {{domxref("RestrictionTarget")}} instance that can be used to restrict a captured video track to a specified DOM element (plus its descendants).

## Syntax

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/restrictiontarget/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The **`RestrictionTarget`** interface of the {{domxref("Screen Capture API", "Sc
## Static methods

- {{domxref("RestrictionTarget.fromElement_static", "fromElement()")}} {{Experimental_Inline}}
- : Returns a `RestrictionTarget` instance that can be used to restrict a captured video track to a specified DOM element (plus its decendants).
- : Returns a `RestrictionTarget` instance that can be used to restrict a captured video track to a specified DOM element (plus its descendants).

## Examples

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/_colon_open/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ There is nothing special about our fruit selector.

```html
<label>
Choose your favourite fruit:
Choose your favorite fruit:
<select name="fruit">
<option>apple</option>
<option>banana</option>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/word-spacing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ Legible `word-spacing` must be determined on a case-by-case basis, as different
## See also

- {{cssxref("letter-spacing")}}
- SVG {{SVGAttr("word-spacin")}} attribute
- SVG {{SVGAttr("word-spacing")}} attribute
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ A new `Temporal.Instant` object representing the instant in time specified by `i
- {{jsxref("TypeError")}}
- : Thrown if `info` is not a `Temporal.Instant` instance or a string.
- {{jsxref("RangeError")}}
- : Thrown in one of the folowing cases:
- : Thrown in one of the following cases:
- The string is not a valid RFC 9557 string.
- The info is not in the [representable range](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal#representable_dates), which is ±10<sup>8</sup> days, or about ±273,972.6 years, from the Unix epoch.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ A new `Temporal.Instant` object representing the instant in time specified by `e
### Exceptions

- {{jsxref("RangeError")}}
- : Thrown in one of the folowing cases:
- : Thrown in one of the following cases:
- `epochMilliseconds` cannot be converted to a BigInt (e.g., not an integer).
- `epochMilliseconds` is not in the [representable range](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal#representable_dates), which is ±10<sup>8</sup> days, or about ±273,972.6 years, from the Unix epoch.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ A new `Temporal.PlainDateTime` object, representing the date-time specified by t
- {{jsxref("RangeError")}}
- : Thrown in one of the following cases:
- Any date-time component is not a finite number.
- The date-time comopnent combination does not represent a valid date in the ISO calendar system, or is not in the [representable range](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal#representable_dates), which is ±(10<sup>8</sup> + 1) days, or about ±273,972.6 years, from the Unix epoch.
- The date-time component combination does not represent a valid date in the ISO calendar system, or is not in the [representable range](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal#representable_dates), which is ±(10<sup>8</sup> + 1) days, or about ±273,972.6 years, from the Unix epoch.
- `calendar` is not a valid calendar identifier.

## Examples
Expand Down