
Responsive iframes Without Hacks: The CSS frame-sizing Property in Chromium
Embedding third-party widgets in an iframe has remained a frontend pain for decades: either a double scrollbar or fragile chains of ResizeObserver and postMessage. Chrome 154 introduces the native frame-sizing: content-height property, allowing a frame to grow automatically to fit its content.
But this isn't automatic magic for arbitrary sites: the browser requires explicit permission from the embedded page via a security meta tag. Ignoring this nuance instantly drops the layout back to fixed pixels.





