Document blocking attribute for link,script,style elements
Summary
Document the blocking attribute on script, link and style HTML elements and basic examples for how to use it.
Motivation
The attribute was added to HTML spec in https://github.com/whatwg/html/pull/7474
Supporting details
Explainer for the added attribute : https://github.com/whatwg/html/issues/7131
Related issues
Fix https://github.com/mdn/content/issues/12900
Metadata
- [ ] Adds a new document
- [ ] Rewrites (or significantly expands) a document
- [ ] Fixes a typo, bug, or other error
Thanks! I think we should wait for an implementation before merging this. Implementation can get stalled.
What about making this a draft PR meanwhile?
Preview URLs
- /en-US/docs/Web/HTML/Element/link
- /en-US/docs/Web/HTML/Element/script
- /en-US/docs/Web/HTML/Element/style
Flaws (1)
Note! 2 documents with no flaws that don't need to be listed. 🎉
URL: /en-US/docs/Web/HTML/Element/script
Title: <script>: The Script element
Flaw count: 1
- macros:
/en-US/docs/Web/API/Element/load_event does not exist
(comment last updated: 2022-11-30 15:12:58)
Per https://chromium.googlesource.com/chromium/src/+/f94b3a1c0ed4505190de7c149d6330600589a995 this seems to have shipped in Chrome 105 in August — so I’ve gone ahead and flipped it from Draft back to Review for Review.
Is there anything else we’re waiting on in order to merge this? @mnoorenberghe Should we consider https://github.com/mdn/content/pull/14648#pullrequestreview-939753875 to be resolved?
Don't we need to also add browser compat data for this?
Don't we need to also add browser compat data for this?
Yes, that would be good. Do you want to create a PR?