Re: [csswg-drafts] [css-overflow] scrollLeft and scrollTop as CSS properties? (#9956)

Because they're controlled directly by the user. This would put them, at best, in the same awkward spot that `resize` is, where it has to reflect the user's actions by writing them into inline style, which will *usually* win in the cascade.

Affecting the *initial* scroll position is a different thing, and generally fine - see [the 'scroll-start' property proposal](https://drafts.csswg.org/css-scroll-snap-2/#scroll-start).

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


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

Received on Wednesday, 14 February 2024 16:25:27 UTC