[csswg-drafts] Clarify scrollTop/scrollLeft behavior for ongoing smooth scrolls. (#5679)

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

== Clarify scrollTop/scrollLeft behavior for ongoing smooth scrolls. ==
https://github.com/w3c/csswg-drafts/blob/16331cc5307a9f929117ed4b81a1d62207870505/cssom-view-1/Overview.bs#L371

About that line specifically:
> Abort any ongoing smooth scroll for box.

Makes sense when setting a 2D position through scrollTo & scrollIntoView, but not as much when setting scrollLeft/Top properties, which most people (and browsers today) would assume to be independent properties.

Specifically, should these two blocks of code behave differently when smooth-scrolling is on than if it isn't:
```
    element.scrollLeft = x;
    element.scrollTop = y;
```

```
    element.scrollTop = y;
    element.scrollLeft = x;
```

Reference mozilla bug where there are questions on the spec: https://bugzilla.mozilla.org/show_bug.cgi?id=1671283

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


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

Received on Wednesday, 28 October 2020 22:29:31 UTC