- From: Dan Clark <notifications@github.com>
- Date: Tue, 19 May 2026 14:49:14 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/pull/1353/c4492338088@github.com>
dandclark left a comment (whatwg/dom#1353) I've tried to ensure that the WPTs for this are thorough; I and other contributors added quite a few during work on the Chromium prototype. E.g. https://wpt.fyi/results/shadow-dom/reference-target/tentative/property-reflection.html and https://wpt.fyi/results/shadow-dom/reference-target/tentative/property-reflection-idl-setters.html test reflection behavior for all the properties affected by reference target, with references pointing to and from every HTML element type. https://github.com/web-platform-tests/wpt/blob/master/shadow-dom/reference-target/tentative/event-path.html covers all the interesting event propagation scenarios discussed in https://github.com/WICG/webcomponents/issues/1098, plus some others I thought of. All of the platform features testable in WPTs that can be affected by reference target (form submission, `commandfor`, `interestfor`, `<label>` (implicit association and with `for`)), `popovertarget`, and `aria-labelledby`, have WPTs under https://wpt.fyi/results/shadow-dom/reference-target/tentative. There are a few other ARIA properties affected by reference target that aren't yet testable in WPTs; there are tests for those in the Chromium source tree at https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/shadow-dom/reference-target/tentative/. For some reason it doesn't seem like the [Mozilla CI results](https://searchfox.org/firefox-main/search?q=FAIL&path=reference-target%2Ftentative%2F*ini&case=false®exp=false) are including the full set of tests. There are a larger number of tests in https://wpt.fyi/results/shadow-dom/reference-target/tentative that Gecko and WebKit are shown as failing that don't appear in the linked [Mozilla CI results](https://searchfox.org/firefox-main/search?q=FAIL&path=reference-target%2Ftentative%2F*ini&case=false®exp=false). -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/1353#issuecomment-4492338088 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/pull/1353/c4492338088@github.com>
Received on Tuesday, 19 May 2026 21:49:18 UTC