[csswg-drafts] Pull Request: [cssom-view-1] Minor corrections to scrolling algorithms

AtkinsSJ has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [cssom-view-1] Minor corrections to scrolling algorithms ==
3 small corrections to the scrolling-related algorithms that came up while implementing them:

1. The "Return _position_." step in "determine the scroll-into-view position" makes more sense at the top level.
2. The `behavior` parameter to "determine the scroll-into-view position" is not used and seems to be a leftover from before it was split up.
3. Say what value to check `container` against in `scrollIntoView()`. I'm not 100% sure on this but out of the two options, "nearest" makes the most sense.

See https://github.com/w3c/csswg-drafts/pull/11701


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 12 February 2025 16:34:54 UTC