Elektrine lite

← Feed

@nolan@toot.cafe

2026-05-02 18:26 UTC

@kleinfreund@mastodon.social @rauschma@fosstodon.org I don't think "light DOM slots" will ever be a thing, except as a compile-time authoring concern. Something is either a child element or a slotted element – it can't be both. That said, "light DOM components" can already do a lot with their children, which is kind of what "HTML web components" are designed to do.

Replies (1)

  • @nolan@toot.cafe @kleinfreund@mastodon.social @rauschma@fosstodon.org ah darn that's a bummer. I was hoping for declarative custom elements with slots. Slots are really make web components so appealing. I guess the other option is to have optional escape hatches for all the things that shadow dom isolates, so that you can select what benefits and restrictions you want. But I don't know what's being worked on and I'm sure it's not that simple!

    Open ##2311814