- From: Dan Clark <notifications@github.com>
- Date: Wed, 29 Jan 2025 15:50:04 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 29 January 2025 23:50:08 UTC
> > I feel like returning null closes the door on having the potential of making it work. > On reflection, I think I agree with @kyubisation and https://github.com/WICG/webcomponents/pull/1066#discussion_r1717606135. I am coming around to see it this way too. It's a potentially breaking change either way (though only for sites that opt-in to using reference target), but returning the host provides more useful information, especially since https://github.com/WICG/webcomponents/issues/1071 seems to have reached a conclusion that an invalid reference target should return null. So checking if `form`/`list` are null would let devs determine whether the reference target points to a valid target or not. -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/1072#issuecomment-2623190422 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/1072/2623190422@github.com>
Received on Wednesday, 29 January 2025 23:50:08 UTC