Closed Bug 1554532 Opened 6 years ago Closed 10 months ago

[wpt-sync] Sync PR 16403 - [ FeaturePolicy ] Introduce 'loading-image-default-eager'

Categories

(Core :: DOM: Core & HTML, defect, P4)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 16403 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/16403
Details from upstream follow.

Ehsan Karamad <ekaramad@chromium.org> wrote:

[ FeaturePolicy ] Introduce 'loading-image-default-eager'

Introducing the new loading policy on top of the "loading" attribute which will
replace the current deprecated "lazyload" policy for images. This policy is the
counterpart to 'loading-frames-default-eager' which only affects images.

The new policy helps overriding the default behavior of loading to "lazy" for
\<img>s where the loading attribute is either "auto" or unset.

Explainer PR:
https://github.com/w3c/webappsec-feature-policy/pull/295

Bug: 949683
Change-Id: Ieae1a7688d6a434b3b5c5555dedd56fe743aefc4
Reviewed-on: https://chromium-review.googlesource.com/1567899
WPT-Export-Revision: d18765fff3fb08a71da37d217ddacf2440b71c88

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Severity: normal → S3
Status: REOPENED → RESOLVED
Closed: 5 years ago10 months ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.