Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee authored Oct 11, 2024
1 parent ba742ea commit 988a463
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ browser-compat: api.HTMLImageElement.fetchPriority

{{APIRef("HTML DOM")}}

The **`fetchPriority`** property of the {{domxref("HTMLImageElement")}} interface represents a hint to the browser indicating how it should prioritize fetching the image relative to other images with the same internal priority.
The **`fetchPriority`** property of the {{domxref("HTMLImageElement")}} interface represents a hint to the browser indicating how it should prioritize fetching a particular image relative to other images.
It reflects the [`fetchpriority`](/en-US/docs/Web/HTML/Element/img#fetchpriority) attribute of the corresponding {{htmlelement("img")}} element, for the allowed values.

The property allows a developer to signal that fetching a particular image early in the loading process has more or less impact on user experience than a browser can reasonably infer when assigning an internal priority.
Expand Down
3 changes: 1 addition & 2 deletions files/en-us/web/api/htmllinkelement/fetchpriority/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ browser-compat: api.HTMLLinkElement.fetchPriority

{{APIRef("HTML DOM")}}

The **`fetchPriority`** property of the {{domxref("HTMLLinkElement")}} interface represents a hint to the browser indicating how it should prioritize fetching a given resource relative to other
resources of the same type and internal prioritization.
The **`fetchPriority`** property of the {{domxref("HTMLLinkElement")}} interface represents a hint to the browser indicating how it should prioritize fetching a particular resource relative to other resources of the same type.
It reflects the [`fetchpriority`](/en-US/docs/Web/HTML/Element/link#fetchpriority) attribute of the corresponding {{htmlelement("link")}} element, for the allowed values.

The property allows a developer to signal that fetching a particular resource early in the loading process has more or less impact on user experience than a browser can reasonably infer when assigning an internal priority, in particular when preloading resources.
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/html/element/img/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ This element includes the [global attributes](/en-US/docs/Web/HTML/Global_attrib
Allowed values:

- `high`
- : Fetch the image at a high priority relative to other images with the same internal prioritization.
- : Fetch the image at a high priority relative to other images.
- `low`
- : Fetch the image at a low priority relative to other images with the same internal prioritization.
- : Fetch the image at a low priority relative to other images.
- `auto`
- : No user preference for the fetch priority.
This is the default.
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/html/element/link/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ This element includes the [global attributes](/en-US/docs/Web/HTML/Global_attrib
Allowed values:

- `high`
- : Fetch the resource at a high priority relative to other resources of the same type and internal prioritization.
- : Fetch the resource at a high priority relative to other resources of the same type.
- `low`
- : Fetch the resource at a low priority relative to other resources of the same type and internal prioritization.
- : Fetch the resource at a low priority relative to other resources of the same type.
- `auto`
- : No user preference for the fetch priority.
This is the default.
Expand Down

0 comments on commit 988a463

Please sign in to comment.