Skip to content

Call verifySelectedSnapTarget for single axis#59386

Open
denvercoder21 wants to merge 1 commit into
web-platform-tests:masterfrom
denvercoder21:call-verifySelectedSnapTarget-with-single-axis
Open

Call verifySelectedSnapTarget for single axis#59386
denvercoder21 wants to merge 1 commit into
web-platform-tests:masterfrom
denvercoder21:call-verifySelectedSnapTarget-with-single-axis

Conversation

@denvercoder21
Copy link
Copy Markdown
Contributor

verifySelectedSnapTarget only handles passing a single axis as the axis parameter to it gracefully.
runScrollSnapSelectionVerificationTest might call it with axis=="both" which could yield wrong results.

This changes calls verifySelectedSnapTarget twice (once for x, once for y) in case axis=="both".

verifySelectedSnapTarget only handles passing a single axis as
the axis parameter to it gracefully.
runScrollSnapSelectionVerificationTest might call it with axis=="both"
which could yield wrong results.

This changes calls verifySelectedSnapTarget twice (once for x, once for y)
in case axis=="both".
@denvercoder21 denvercoder21 force-pushed the call-verifySelectedSnapTarget-with-single-axis branch from 92ee6ef to b70c345 Compare May 28, 2026 08:15
@denvercoder21
Copy link
Copy Markdown
Contributor Author

@tabatkins I'm new to this. Is there something I should do or check? CI run seems to look okay, I'm unsure about the skipped Safari/macOS jobs.

@tabatkins tabatkins requested review from flackr and removed request for tabatkins May 28, 2026 22:42
@tabatkins
Copy link
Copy Markdown
Contributor

Ah, sorry, I'm gonna move this to @flackr for review. I'm not immediately familiar with the intended JS behavior here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants