- From: Alice <notifications@github.com>
- Date: Mon, 20 Jan 2025 17:37:47 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 21 January 2025 01:37:51 UTC
@dandclark Yes to all of that, except that I'm a little unclear on this line:
```js
document.querySelector("#fancy-listbox").shadowRoot.referenceTarget = "";
```
I would have expected an empty string to work like an invalid ID, rather than like an un-set. To un-set, I would have expected we'd need to set `referenceTarget` to `null`, similar to setting an attribute to `null` to remove it.
--
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1089#issuecomment-2603454830
You are receiving this because you are subscribed to this thread.
Message ID: <WICG/webcomponents/issues/1089/2603454830@github.com>
Received on Tuesday, 21 January 2025 01:37:51 UTC