- From: Dan Clark <notifications@github.com>
- Date: Fri, 28 Feb 2025 17:04:11 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <WICG/webcomponents/issues/1087/2691799302@github.com>
dandclark left a comment (WICG/webcomponents#1087) > [@alice](https://github.com/alice) I was reacting to something you wrote above that I do not deem relevant to the discussion, but perhaps I misunderstood it: > > > referenceTarget is still what's implemented in Blink and WebKit and afaik there are no issues filed yet to change it, much less code committed. @annevk For what it's worth I read it as strictly a reply to Rob's [question](https://github.com/WICG/webcomponents/issues/1087#issuecomment-2673147647) about whether code written against the browser prototypes in anticipation of the feature should be updated at this time. I think the answer to that is still "not yet" given the continued debate here. Looking at examples like @alice's [here](https://github.com/WICG/webcomponents/issues/1087#issuecomment-2677167922) where it's paired with delegatesFocus does strike me as more confusing than I had anticipated when taking about it in the f2f. This reads to me like the shadow will be delegating focus and it will be delegating it to `"input"`. ```html <template shadowrootmode="open" shadowrootdelegatesfocus shadowrootdelegatesto="input"> ``` And the point is well-taken that we might eventually want to delegate a seperate set of things like attributes, and a generic `delegatesTo` could be a constraint to that. I'm coming back around to preferring `referencetarget`, or `reftarget`... -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/1087#issuecomment-2691799302 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/1087/2691799302@github.com>
Received on Saturday, 1 March 2025 01:04:15 UTC