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

[css-overflow-5] Remove normative active marker algorithm. #11224

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

Conversation

flackr
Copy link
Contributor

@flackr flackr commented Nov 15, 2024

As resolved in #10917:

  • removes the normative algorithm for determining the active marker and leaves it up to the UA,
  • additionally defines an example algorithm that takes into account improvements mentioned in the issue for selecting the next marker when it is nearer to being in view.

The example algorithm also

1. Let <var>secondary</var> be the scrolling axis perpendicular to primary.
1. Let <var>position</var> be the 'eventual scroll position' considering ongoing scrolling operations.
1. For each <var>axis</var> of |primary|, followed by |secondary|:
1. Let <var>scrollport size</var> be the client size of |scroller| in the dimension |axis|.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We probably want the size here and the positions used to account for the optimal viewing region, though perhaps this is a followup?

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