Re: [WICG/webcomponents] Reference Target: What about IDL attributes? (Issue #1089)

I think APIs should generally return the custom element (that handles the forwarding into its shadow tree). It seems weird if the APIs didn't work just because you used a custom element (with forwarding).

For the later question I think we have to answer another question. When do we consider a custom element a viable ID target?

1. Always.
2. Only when it has a reference target defined.
3. Only when it has a valid reference target defined.

It seems potentially somewhat performance-sensitive to do 3, but not sure.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1089#issuecomment-2536375126
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/1089/2536375126@github.com>

Received on Wednesday, 11 December 2024 15:52:26 UTC