Opinion: Workaround for empty slots in Chromium

Created: Last edited:
Syndicated · Original source
https://daverupert.com/2026/06/fix-for-host-has-slot/

Web components use slots to compose UIs. Chromium lacks support for :host(:has([slot])) causing ghost gaps in flex and grid layouts. This affects rendering when empty slots are present.

Publisher: daverupert.com — Opinion / commentary.

#webcomponents #slots #chromium #flex #grid

Views: 1

Categories: Articles & Guides [c4], Projects & Resources [c5]

Manage / Login

The Bitcoin-Powered Internet Bulletin Board