You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature enables authors to block rendering of a Document until the critical content has been parsed, ensuring a consistent first paint across all browsers. Without this feature, the first paint's state depends on the heuristics for parser yielding which can vary across browsers.
This is particularly important for View Transitions, where the parsed DOM state on the first frame can drastically change the transition created.
Note that this feature specifically implements a <link rel=expect href="#id"> syntax that allows a link element to reference another expected element on the page. The rendering is then blocked until the expected element is fully parsed. This supersedes previous implementation of the html attribute that allows the whole document to be render-blocked.
Description
This feature enables authors to block rendering of a Document until the critical content has been parsed, ensuring a consistent first paint across all browsers. Without this feature, the first paint's state depends on the heuristics for parser yielding which can vary across browsers.
This is particularly important for View Transitions, where the parsed DOM state on the first frame can drastically change the transition created.
Note that this feature specifically implements a
<link rel=expect href="#id">
syntax that allows a link element to reference another expected element on the page. The rendering is then blocked until the expected element is fully parsed. This supersedes previous implementation of the html attribute that allows the whole document to be render-blocked.Specification
https://html.spec.whatwg.org/multipage/links.html#link-type-expect
Additional Signals
Standards Positions
Tests
Additional Signals
The text was updated successfully, but these errors were encountered: