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

[cssom-view-1] Apply scroll snap to scroll-into-view-position #11073

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

flackr
Copy link
Contributor

@flackr flackr commented Oct 22, 2024

When determining the scroll into view position of an element, the UA should account for defined scroll snap positions. These are applied when scrolling due to https://www.w3.org/TR/css-scroll-snap-1/#choosing added in 8401d61 however applying them here ensures that specs using the scroll into view position are snapping aware.

When determining the scroll into view position of an element,
the UA should account for defined scroll snap positions.
These are applied when scrolling due to https://www.w3.org/TR/css-scroll-snap-1/#choosing
however applying them here ensures that specs using the scroll into view position are snapping aware.
@flackr flackr requested a review from fantasai October 22, 2024 14:38
@flackr
Copy link
Contributor Author

flackr commented Nov 15, 2024

@fantasai I think this should address the concern you had that the scroll-into-view position was not snap aware. Does this look reasonable?

@flackr flackr requested a review from zcorpan December 13, 2024 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant