You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why aren't scrollLeft and scrollTop CSS properties? They're about presentation in interactive visual media, so it seems appropriate. And declarative animation with CSS would be possible, in a way that's uniform (and often needs to be combined) with other properties, without resorting to requestAnimationFrame, as currently (and that only for a few years; there was no good, widely implemented way before).
The text was updated successfully, but these errors were encountered:
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.
Why aren't
scrollLeft
andscrollTop
CSS properties? They're about presentation in interactive visual media, so it seems appropriate. And declarative animation with CSS would be possible, in a way that's uniform (and often needs to be combined) with other properties, without resorting torequestAnimationFrame
, as currently (and that only for a few years; there was no good, widely implemented way before).The text was updated successfully, but these errors were encountered: