-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Add loading attribute to source elements #7237
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can tell it isn't spelled out how to actually implement this feature (apart from its IDL attribute).
Also, you forgot to update the element index.
attribute is a <span>lazy loading attribute</span>. The <code>img</code> element can use the | ||
<code data-x="attr-source-loading">loading</code> attribute of a <code>source</code> element, | ||
instead of those on the <code>img</code> element itself, to determine its | ||
<a href="#attr-img-loading">loading policy</a>.</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see the processing model implications for this attribute spelled out elsewhere.
Thanks for contributing this by the way! |
I think the Changing any of the The following places would also need to (re)-evaluate the current lazy loading policy:
|
Going to close this out for now. There's an existing way to do it that covers more scenarios without having to change the behavior of |
(work-in-process while platform tests are created and implementor positions are requested)
This addresses #7227
💥 Error: Wattsi server error 💥
PR Preview failed to build. (Last tried on Oct 18, 2021, 3:30 PM UTC).
More
PR Preview relies on a number of web services to run. There seems to be an issue with the following one:
🚨 Wattsi Server - Wattsi Server is the web service used to build the WHATWG HTML spec.
🔗 Related URL
If you don't have enough information above to solve the error by yourself (or to understand to which web service the error is related to, if any), please file an issue.