Re: [WICG/webcomponents] Reference Target: Should the `form` and `list` JavaScript attributes return the host element? (Issue #1072)

I feel like returning `null` closes the door on having the potential of making it work. 
e.g. if there is a common library that depends on `.form` being available, returning `null` requires implementing an alternative approach for custom elements. 
However, returning the host has the potential of just working. Even if `fancy-form` does not initially work, the author of that component can make it compatible with `HTMLFormElement` as a later fix.

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

Message ID: <WICG/webcomponents/issues/1072/2613010106@github.com>

Received on Friday, 24 January 2025 17:10:25 UTC