No, but seriously...why don't we have `<video loading="lazy">` yet?

@slightlyoff , because there is a lazy load for JS and most of things is done by JS.

Extending the HTML with Declarative Custome Elements should do the trick even with JS disabled.

Otherwise w3c HTML expansion would grow forever

Declarative Shadow DOM  |  CSS and UI  |  Chrome for Developers

Declarative Shadow DOM is a new way to implement and use Shadow DOM directly in HTML.

Chrome for Developers

@niutech, template and shadow is not an answer for mylti-vendor code, <custom-element> is :p

https://github.com/EPA-WG/custom-element

GitHub - EPA-WG/custom-element: Declarative Custom Element

Declarative Custom Element . Contribute to EPA-WG/custom-element development by creating an account on GitHub.

GitHub

@niutech ,
Declarative Shadow DOM from https://web.dev/articles/declarative-shadow-dom
has nothing to do with Declarative syntax. It is still relying on JS to function. DCE would be the no-js answer.

#DeclarativeCustomElement

Declarative Shadow DOM  |  web.dev

Declarative Shadow DOM is a new way to implement and use Shadow DOM directly in HTML.

web.dev
@Suns No, DSD is not relying on JS. See my #PHOOOS demo using DSD: https://kodus.pl
Pure HTML Out-Of-Order Streaming

Pure HTML Out-Of-Order Streaming without JavaScript

@niutech , 💓 htmlz, the base for #PHOOOS . Interesting concept. Still needs some polishing towards pure DCE.

Till this moment I thought only
<custom-element> covers no-js patterns of #DeclarativeCustomElement