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.
Learning resources on MDN
- Blocking, in <link>: The External Resource Link element
- Blocking, in <script>: The Script element
- Blocking, in <style>: The Style Information element
Browser support
- 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 Vendor position : positive
- Firefox for Android ❌ See bugzil.la/1751383 Vendor position : positive
- Safari ❌ See webkit.org/b/267232 Vendor position
- Safari on iOS ❌ See webkit.org/b/267232 Vendor position
Specifications
- HTML Standard (#blocking-attributes), from HTML Workstream (WHATWG).