Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miscellaneous Shadow DOM #230

Closed
josepharhar opened this issue Oct 20, 2022 · 4 comments
Closed

Miscellaneous Shadow DOM #230

josepharhar opened this issue Oct 20, 2022 · 4 comments
Labels
accepted An accepted proposal focus-area-proposal Focus Area Proposal

Comments

@josepharhar
Copy link

This was split from #181

Description

This is a bunch of WPTs in the shadow-dom directory that are failing. I don’t think they correspond to any particular big feature, they were just made from random one-off bugs.

Rationale

Basic Shadow DOM behavior should be interoperable.

Shadow DOM focus navigation, delegatesFocus, and element.focus()

Tests:
https://wpt.fyi/results/shadow-dom/focus-navigation
https://wpt.fyi/results/shadow-dom/focus
Spec:
https://html.spec.whatwg.org/C/#focus-processing-model
https://html.spec.whatwg.org/C/#sequential-focus-navigation

Shadow DOM events and retargeting

Tests:
https://wpt.fyi/results/shadow-dom/DocumentOrShadowRoot-prototype-elementFromPoint.html
https://wpt.fyi/results/shadow-dom/MouseEvent-prototype-offsetX-offsetY.html
https://wpt.fyi/results/shadow-dom/capturing-and-bubbling-event-listeners-across-shadow-trees.html
Spec:

@gsnedders gsnedders added the focus-area-proposal Focus Area Proposal label Oct 21, 2022
@jgraham
Copy link
Contributor

jgraham commented Oct 27, 2022

There appear to be open spec issues for these tests, and no clear path to consensus:
w3c/csswg-drafts#556 for elementFromPoint and web-platform-tests/wpt#15089 which affects the MouseEvent-offsetA-offsetY test.

Interop on shadow DOM beheviour is indeed very important, but to be included in Interop 2023 as a focus area, we really want a clear spec defining the tested behaviour. How likely is it that we can get consensus on the spec issues before the start of the Interop period?

@josepharhar
Copy link
Author

If consensus is not reached in time, then I think we can just drop those two test files. There are plenty of other tests in the focus and focus-navigation directories.

@foolip
Copy link
Member

foolip commented Nov 11, 2022

In the MDN short survey on APIs & JavaScript, "Web Components (custom elements, Shadow DOM, etc.)" was the most popular choice by a fairly wide margin, selected by ~39% of survey takers.

Web Components was split into many granular proposals, and the survey results don't tell us which aspects web developers want the most, but it's fair to say that something about Web Components is important. (I'm posting this comment on each of the split proposals.)

jgraham added a commit to web-platform-tests/wpt-metadata that referenced this issue Jan 17, 2023
See
web-platform-tests/interop#203 (comment)
web-platform-tests/interop#230 (comment)

Since the concerns in those issues were not addressed and there was
agreement to drop the tests in that case, I'm removing them from the
Interop set.
github-actions bot pushed a commit to web-platform-tests/wpt-metadata that referenced this issue Jan 17, 2023
See
web-platform-tests/interop#203 (comment)
web-platform-tests/interop#230 (comment)

Since the concerns in those issues were not addressed and there was
agreement to drop the tests in that case, I'm removing them from the
Interop set.
@nairnandu nairnandu added the accepted An accepted proposal label Feb 1, 2023
@nairnandu
Copy link
Contributor

Thank you for proposing Miscellaneous Shadow DOM for inclusion in Interop 2023.

We are pleased to let you know that this proposal was accepted as part of the Web Components focus area. You can follow the progress of this Focus Area on the Interop 2023 dashboard.

For an overview of our process, see the proposal selection summary. Thank you for contributing to Interop 2023!

Posted on behalf of the Interop team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted An accepted proposal focus-area-proposal Focus Area Proposal
Projects
No open projects
Status: Proposed
Development

No branches or pull requests

5 participants