On Wed, Mar 12, 2025 at 2:35 AM 'Jiacheng Guo' via blink-dev <
blink-dev@chromium.org> wrote:

> I have checked with @Vladimir Levin <vmp...@google.com>. Currently chrome
> is not supporting inserting any kind of render-blocking elements from
> javascript. Since it is a very practical use case we may work on adding the
> support.
>

I don't think this is accurate. It's possible to insert render-blocking
elements using javascript if the script is run before the parser sees the
body element.
Specifically for <link rel=stylesheet> it's the only utility of
blocking=render as parser-inserted stylesheets are render-blocking to begin
with.

-- 
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 visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJn%3DMYb_RyjJaMdbusOgKRQFFjfx%3Dit7WsY2zpB2whS1PxQQDg%40mail.gmail.com.

Reply via email to