[csswg-drafts] [css-overflow-5] What is the active :checked marker when some markers point to elements within different scrolling containers? (#11098)

flackr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-overflow-5] What is the active :checked marker when some markers point to elements within different scrolling containers? ==
With `<a>` elements, it is possible to link to any content anywhere on the page. This means that we can create a scroll marker group where multiple markers might be respectively active. E.g.

Nested scrollers might be used within sections of contents:
```html
<div focusgroup>
  <ol>
    <li><a href="#s1">Section 1</a>
      <ol>
        <li><a href="#s1_1">Subsection 1</a></li>
      </ol>
    </li>
    <li><a href="#s2">Section 2</a>
      <ol>
        <li><a href="#s2_1">Subsection 1</a></li>
      </ol>
    </li>
  </ol>
</div>
<h1 id="s1">Section 1</h1>
<div class="scroller">
  <h2 id="s1_1">Subsection 1</h2>
</div>
```

Sibling / cousin scrollers (I'm less sure of the use case but it would need a defined behavior):
```html
<div focusgroup>
  <ol>
    <li><a href="#i1">Item 1</a></li>
    <li><a href="#i2">Item 2</a></li>
  </ol>
</div>
<div class="scroller">
  <h1 id="i1">Item 1</h2>
</div>
<div class="scroller">
  <h1 id="i2">Item 2</h2>
</div>
```

In both of these cases there are many scroll markers which could be said to be `:checked` as their nearest ancestor scrolling element is currently scrolled to them.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11098 using your GitHub account


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

Received on Monday, 28 October 2024 15:04:59 UTC