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] Add container option to scrollIntoView options. #11673

Merged
merged 2 commits into from
Feb 7, 2025

Conversation

flackr
Copy link
Contributor

@flackr flackr commented Feb 7, 2025

Adds the container option to ScrollIntoViewOptions allowing scrolling only the nearest containing scrolling box as resolved in #9452. This also sets us the algorithm to scroll an element into view for scroll markers #11138.

Adds the container option to ScrollIntoViewOptions
allowing scrolling only the nearest containing scrolling box
as resolved in w3c#9452.
@flackr flackr requested a review from tabatkins February 7, 2025 19:09
flackr added a commit to flackr/csswg-drafts that referenced this pull request Feb 7, 2025
When activating a marker, as resolved in w3c#11138 scrolling should be limited to the scrolling containers associated with the marker targets.
This builds on the addition of container to the scroll into view algorithm in w3c#11673.
tabatkins pushed a commit that referenced this pull request Feb 7, 2025
When activating a marker, as resolved in #11138 scrolling should be limited to the scrolling containers associated with the marker targets.
This builds on the addition of container to the scroll into view algorithm in #11673.
cssom-view-1/Overview.bs Outdated Show resolved Hide resolved
Comment on lines +1302 to +1303
1. If the {{ScrollIntoViewOptions/container}} dictionary member of <var>options</var>,
set <var>container</var> to this element.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is missing some words.

AtkinsSJ added a commit to AtkinsSJ/ladybird that referenced this pull request Feb 12, 2025
kalenikaliaksandr pushed a commit to LadybirdBrowser/ladybird that referenced this pull request Feb 12, 2025
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.

3 participants