Re: [csswg-drafts] [cssom-view] Clarify scroll-behavior: "auto" (#3497)

@JeroenAdam nowadays `scrollTo` and `scrollBy` support `{ behavior: "instant"}`.

However, `scrollIntoView` behaves differently on Chromium and Firefox:
- Chrome 115 ignores `{ behavior: "instant" }` - treats it as `"auto"` and then query webpage's `html { scroll-behavior: xxx }` style.
- Firefox 114 follows `{ behavior: "instant" }` and always scrolls a target element at once.

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


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

Received on Sunday, 23 July 2023 12:55:55 UTC