Re: [whatwg/dom] Atomic move operation for element reparenting & reordering (Issue #1255)

> This would open up a whole bag of worms in terms of complexity because the slotted element would now be styled based on two locations...

What about not rendering the element at, only when it is slotted? Kind of like a template just to let the element live somewhere but be rendered elsewhere. So the style will only be based in one location where it is slotted? (Maybe the slotted conversation should be done elsewhere? I love slots so if there is a appropriate place to have this conversation please tell me.)

Even if slotted is updated/changed to be able to be used outside of shadow-DOM i still think that `Node.prototype.moveBefore` etc should be implemented.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1255#issuecomment-2225082142
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1255/2225082142@github.com>

Received on Friday, 12 July 2024 08:28:28 UTC