Skip to content

Miscellaneous Shadow DOM #230

Closed
Closed

Description

@josepharhar

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:

Activity

  1. moved this to Proposed in Interop 2023on Oct 21, 2022
  2. jgraham commented on Oct 27, 2022

    @jgraham
    Contributor

    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?

  3. josepharhar commented on Oct 27, 2022

    @josepharhar
    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.

  4. foolip commented on Nov 11, 2022

    @foolip
    Member

    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.)

  5. added
    accepted
    on Feb 1, 2023
  6. nairnandu commented on Feb 1, 2023

    @nairnandu
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedfocus-area-proposal

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions