Skip to content

dialog-show-modal.html test changed to depend on :modal pseudo-class #79

Closed
web-platform-tests/wpt
#34107

Description

@foolip

web-platform-tests/wpt#33999 updated a test that's part of Interop 2022 to depend on :modal, causing it to regress in all browsers, since nobody implements :modal yet.

We should decide in the next meeting whether we're happy with this change, or if we should split the test to avoid the dependency, since :modal wasn't even spec'd when Interop 2022 started.

cc @nt1m

Activity

  1. added
    test-change-proposal
    on May 16, 2022
  2. nt1m commented on May 16, 2022

    @nt1m
    Member

    WebKit implements it (not in latest STP though). I'd be OK either way, css/selectors/invalidation/modal-pseudo-class-in-has.html also covers it.

    Splitting it would work, though while we're there it'd be nice to clean up 2 tests with similar names:

    html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html
    html/semantics/interactive-elements/the-dialog-element/dialog-show-modal.html

  3. foolip commented on May 16, 2022

    @foolip
    MemberAuthor
  4. josepharhar commented on May 16, 2022

    @josepharhar

    Splitting it would work, though while we're there it'd be nice to clean up 2 tests with similar names:

    Sounds good to me! I hope that making a separate test for :modal wouldn't be too much extra code/logic, but I can't tell for sure by skimming the new changes.

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

    test-change-proposal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions