Re: [whatwg/dom] another version of `Element.prototype.contains` that considers slotted elements as children (Issue #1214)

I wonder if `contains(span, {slotted: true})` would be a better solution, but I agree there is some need for this, even though the tree might mislead eyes.

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

Message ID: <whatwg/dom/issues/1214/1616493623@github.com>

Received on Sunday, 2 July 2023 09:04:42 UTC