Skip to content

Remove scroll-target-align-001.html & scroll-target-align-002.html #137

Closed

Description

@nt1m

Test List

  • css/css-scroll-snap/scroll-target-align-001.html
  • css/css-scroll-snap/scroll-target-align-002.html

Rationale

@nmoucht investigated, and found that this is testing an optional feature from the spec.

"If a page is navigated to a fragment that defines a target element (e.g. one that would be matched by :target, or the target of scrollIntoView()), and that element defines some snap positions, the user agent must snap to one of that element’s snap positions if its nearest scroll container is a scroll snap container. The user agent may also do this even when the scroll container has scroll-snap-type: none."

The tests are testing the last sentence which has "may" which suggests this is optional.

In fact, both tests have <meta name="flags" content="may"> in the code.

Activity

  1. added
    test-change-proposal
    on Sep 20, 2022
  2. nt1m commented on Sep 21, 2022

    @nt1m
    MemberAuthor
  3. hiikezoe commented on Sep 21, 2022

    @hiikezoe

    @nt1m I wonder why scroll-target-align-003.html is out of the candidates, it also has <meta name="flags" content="may">.

  4. nt1m commented on Sep 21, 2022

    @nt1m
    MemberAuthor

    It was passing in WebKit so we didn't look at it closely, but yes, if it is for an optional feature, we should remove it from Interop 2022. The assert does suggest that the test is for the same feature.

  5. foolip commented on Oct 6, 2022

    @foolip
    Member

    We discussed this in #162. There was broad agreement that we shouldn't include tests for optional behavior that some browser does not intend to implement.

    I took the action item to ask for confirmation on this issue and unlabel the issue. What I'll do is go ahead an unlabel them directly, and if there's no further feedback on this issue within a week, close this issue.

  6. foolip commented on Oct 6, 2022

    @foolip
    Member

    Label removed from the 3 tests that have <meta name="flags" content="may"> in web-platform-tests/wpt-metadata#3074.

  7. nt1m commented on Oct 6, 2022

    @nt1m
    MemberAuthor

    I think we can close this and re-open if there's any objection.

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