blocking="render"
Limited availability
The blocking="render"
attribute for <link>
, <script>
, and <style>
elements blocks rendering until the external script or stylesheet has been loaded. For <link rel="expect">
, rendering is blocked until a specific element is in the DOM.
To learn more, see
HTMLLinkElement: blocking property,
HTMLScriptElement: blocking property,
HTMLStyleElement: blocking property at MDN.
Compatibility
- Chrome 105 Released on 2022-09-02
- Chrome Android 105 Released on 2022-09-02
- Edge 105 Released on 2022-09-01
- Firefox ❌ See bugzil.la/1751383
- Firefox for Android ❌ See bugzil.la/1751383
- Safari ❌ See webkit.org/b/267232
- Safari on iOS ❌ See webkit.org/b/267232
Specifications
- HTML Standard (#blocking-attributes), from HTML Workstream (WHATWG).