But currently browsers don't handle large volume of <style>s well (think every component having it's own... huge runtime style recalc overhead) so we need some form of dedupe.
But currently browsers don't handle large volume of <style>s well (think every component having it's own... huge runtime style recalc overhead) so we need some form of dedupe.
Yeah, if you use schemaless @scope, you have to inline inside the element in your HTML.
This means every element renders co-located with it's styles, if an element doesn't render, no style is shipped and given HTML is streamed, you effectively get browser-native critical CSS.
Yeah, if you use schemaless @scope, you have to inline inside the element in your HTML.
This means every element renders co-located with it's styles, if an element doesn't render, no style is shipped and given HTML is streamed, you effectively get browser-native critical CSS.
Shared compression dictionaries will mean that penalty of inline CSS across pages is limited too.
Shared compression dictionaries will mean that penalty of inline CSS across pages is limited too.
And for completeness, here's the one for Firefox: github.com/mozilla/stan...
And for completeness, here's the one for Firefox: github.com/mozilla/stan...
Use <img> for the mobile image, width and height can be anything as long as they as 1:1 ratio.
Add a <source> with your 16:9 image path and an appropriate media query, then set width and height to any values that are a 16:9 ratio.
Use <img> for the mobile image, width and height can be anything as long as they as 1:1 ratio.
Add a <source> with your 16:9 image path and an appropriate media query, then set width and height to any values that are a 16:9 ratio.
I use a Netlify Edge Function to dynamically rewrite the request path to the .dcz version.
I use a Netlify Edge Function to dynamically rewrite the request path to the .dcz version.
...not to mention Pat & Yoav's work on the spec itself! 🧠 🧠 🧠
...not to mention Pat & Yoav's work on the spec itself! 🧠 🧠 🧠
I figured I can just gift it to one of my mentees or as a diversity ticket if it turns out I can't make it.
I figured I can just gift it to one of my mentees or as a diversity ticket if it turns out I can't make it.