-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Web Platform Tests for HTML video element lazy loading via the loading attribute #57051
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
Open
scottjehl
wants to merge
19
commits into
web-platform-tests:master
Choose a base branch
from
Squarespace:video-loading-attr
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Web Platform Tests for HTML video element lazy loading via the loading attribute #57051
scottjehl
wants to merge
19
commits into
web-platform-tests:master
from
Squarespace:video-loading-attr
+564
−0
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…g attribute These tests support the proposal for the addition of a loading attribute on the video element, designed to enable lazy-loading for video and poster data. HTML Standard PR here whatwg/html#11980 Co-authored-by: Zach Lysobey <[email protected]> Co-authored-by: Brad Frost <[email protected]> Co-authored-by: Credo Duarte <[email protected]>
5 tasks
…d with a proposed HTML feature
rename files to use a .tentative.html convention since they correspond with a proposed HTML feature
Contributor
Author
|
Renamed the files to be |
zcorpan
requested changes
Jan 14, 2026
html/semantics/embedded-content/the-video-element/video-loading-attr-default.tentative.html
Outdated
Show resolved
Hide resolved
.../semantics/embedded-content/the-video-element/video-loading-autoplay-deferred.tentative.html
Outdated
Show resolved
Hide resolved
.../semantics/embedded-content/the-video-element/video-loading-autoplay-deferred.tentative.html
Show resolved
Hide resolved
html/semantics/embedded-content/the-video-element/video-loading-eager.tentative.html
Outdated
Show resolved
Hide resolved
.../semantics/embedded-content/the-video-element/video-loading-autoplay-deferred.tentative.html
Show resolved
Hide resolved
html/semantics/embedded-content/the-video-element/video-loading-lazy-in-viewport.tentative.html
Outdated
Show resolved
Hide resolved
html/semantics/embedded-content/the-video-element/video-loading-lazy-in-viewport.tentative.html
Outdated
Show resolved
Hide resolved
...ics/embedded-content/the-video-element/video-loading-lazy-poster-when-visible.tentative.html
Outdated
Show resolved
Hide resolved
...semantics/embedded-content/the-video-element/video-loading-lazy-window-onload.tentative.html
Outdated
Show resolved
Hide resolved
...semantics/embedded-content/the-video-element/video-loading-lazy-window-onload.tentative.html
Outdated
Show resolved
Hide resolved
… event and added a fallback if event never fires.
…t event comes after window load
… scscroll, as the poster image will impact its rendered size and be useful as a proxy for poster lazy loading
Contributor
Author
|
Thanks for the review.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These tests support the proposal for the addition of a loading attribute
on the video element, designed to enable lazy-loading for video and poster
data.
Related HTML Standard Proposal: whatwg/html#11980
Related issue: whatwg/html#10376
These are designed to pass in a browser that supports the proposed feature (verified in a locally patched browser).
Co-authored-by: Zach Lysobey [email protected]
Co-authored-by: Brad Frost [email protected]
Co-authored-by: Credo Duarte [email protected]