Re: [csswg-drafts] [css-overflow-5] Allowing markers to be active even when not scrollable to aligned position (#10738)

As we're implementing this in chromium, just wanted to make a note on one detail regarding ::columns, which I don't think has been explicitly talked about but perhaps flows naturally from what's spec'd.
In the following scenario where ::scroll-markers are created both on elements within the container and on the columns of the container:
```
<div class=columns>
  <fragment col1> ::scroll-marker
    <p>1</p> 
    <p>2</p> ::scroll-marker
    <p>3</p>
  </fragment>
  <fragment col2> ::scroll-marker
    <p>4</p>
    <p>5</p> ::scroll-marker
    <p>6</p>
  </fragment>
</div>
```
if `scrollIntoView` is called on `<p>6</p>`, then `<p>5</p>`'s scroll-marker should be selected and not col2's. But, if `scrollIntoView` is called on `<p>4</p>`, then col2 should be the selected scroll-marker and not `<p>2</p>`.

-- 
GitHub Notification of comment by DavMila
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10738#issuecomment-2557319506 using your GitHub account


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

Received on Friday, 20 December 2024 16:27:10 UTC