From 988a46356f5229eda422ba1dec53c43cca1470cf Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Fri, 11 Oct 2024 16:06:22 +1100 Subject: [PATCH] Apply suggestions from code review --- files/en-us/web/api/htmlimageelement/fetchpriority/index.md | 2 +- files/en-us/web/api/htmllinkelement/fetchpriority/index.md | 3 +-- files/en-us/web/html/element/img/index.md | 4 ++-- files/en-us/web/html/element/link/index.md | 4 ++-- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/files/en-us/web/api/htmlimageelement/fetchpriority/index.md b/files/en-us/web/api/htmlimageelement/fetchpriority/index.md index f33eca56bf39735..e1404596ae1e98a 100644 --- a/files/en-us/web/api/htmlimageelement/fetchpriority/index.md +++ b/files/en-us/web/api/htmlimageelement/fetchpriority/index.md @@ -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. diff --git a/files/en-us/web/api/htmllinkelement/fetchpriority/index.md b/files/en-us/web/api/htmllinkelement/fetchpriority/index.md index d0135568fb42abb..29ccf0ce8b8a5a0 100644 --- a/files/en-us/web/api/htmllinkelement/fetchpriority/index.md +++ b/files/en-us/web/api/htmllinkelement/fetchpriority/index.md @@ -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. diff --git a/files/en-us/web/html/element/img/index.md b/files/en-us/web/html/element/img/index.md index a3791b66d25cdcd..d3f9599595cee3d 100644 --- a/files/en-us/web/html/element/img/index.md +++ b/files/en-us/web/html/element/img/index.md @@ -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. diff --git a/files/en-us/web/html/element/link/index.md b/files/en-us/web/html/element/link/index.md index c74633e45c28650..fa80555897f2bb2 100644 --- a/files/en-us/web/html/element/link/index.md +++ b/files/en-us/web/html/element/link/index.md @@ -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.