Re: [csswg-drafts] [css-scroll-snap-2] scroll-start-target: auto doesn't match general meaning of auto (#11173)

> I think the interesting question is, what happens if you set this property via the CSSOM?

You mean, if you call `someDescendant.style.setProperty("initial-scroll-target", "local");`?

If parsing is not finished yet this would result in it finding and scrolling to the element.
If parsing is finished this would do nothing until the box is reattached, right?

I suppose there is an argument to say until the user does some scrolling in the box it perhaps should result in updating the scroller since it still doesn't have a user indicated position. Do we do this for changes to `align-content`?

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


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

Received on Tuesday, 10 December 2024 20:09:42 UTC