Contact emailskhushalsa...@google.com

Explainer
https://github.com/WICG/view-transitions/blob/main/document-render-blocking.md

SpecificationNone

Summary

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.


Blink componentBlink>ViewTransitions>MPA
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EViewTransitions%3EMPA>

Motivation

The Web is designed with a model for incremental rendering. When a Document
is loading, the browser can render its intermediate states before fetching
all the requisite sub-resources, executing all script or fetching/parsing
the complete Document. While this is great to reduce the time for first
paint, there is a tradeoff between showing a jarring flash of intermediate
Document state (which could be unstyled or have more CLS) vs blocking
rendering on high priority sub-resources within a reasonable timeout. The
render-blocking concept helps browsers in making this tradeoff. It lets
authors specify the set of stylesheets and script elements which should
block rendering. For example, a stylesheet with the rules necessary to
ensure a stable layout. But authors can’t specify which nodes should be
added to the DOM before first render. This proposal aims to fill this gap.


Initial public proposalhttps://github.com/whatwg/html/issues/9332

TAG reviewNone

TAG review statusPending

Risks


Interoperability and Compatibility

None


*Gecko*: No signal

*WebKit*: No signal

*Web developers*: No signals

*Other signals*:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that
it has potentially high risk for Android WebView-based applications?

None


Debuggability

None


Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?No

Flag name on chrome://flagsNone

Finch feature nameNone

Non-finch justificationNone

Requires code in //chrome?False

Estimated milestones

No milestones specified


Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5113053598711808

This intent message was generated by Chrome Platform Status
<https://chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMLuWUzNfD4MRk0bR1yTZ5F6NzcpETrUU3Vy9GmANZRQd7%3DE4A%40mail.gmail.com.

Reply via email to