- From: Robert Flack via GitHub <sysbot+gh@w3.org>
- Date: Wed, 30 Oct 2024 13:45:44 +0000
- To: public-css-archive@w3.org
To make this proposal more concrete. The proposed way to select the active marker among targets in different scrolling containers is as follows: Define/share an algorithm for determining the active target for a list of targets in a single scroller (which as discussed in #10917 will for now will be a bit flexible), To determine the active marker, we start from the root (or the nearest ancestor scrolling container) S. Then 1. Let targets be all of the scroll targets whose scrolling container is S, and all of the scroll containers within S which have descendent scroll targets. 2. Find the active target T amongst targets in S. 3. If T is not a scroll target, let S = T and repeat from step 1. 4. Return T as the active target. This defines reasonable behavior that ensures a target is only active if all of its ancestor scrolling containers to the common ancestor scroll container are also in a position to be considered active (i.e. onscreen and more closely aligned than other targets). -- GitHub Notification of comment by flackr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11098#issuecomment-2447214498 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 30 October 2024 13:45:45 UTC