Change Chrome's behavior such that when a scrollable element has content overflowing to the left (or to the top) then its horizontal (or vertical) scroll position will be zero at its initial position and negative when scrolled leftward (or upward). This change only affects DOM API Element.scrollLeft(), Element.scrollTop(), Element.scroll(), Element.scrollTo() when the scrollable element has a non-default writing mode that may invert overflow directions (e.g right to left or vertical modes).


Update Blink to match the CSSOM View spec’s behavior around absolute values of Element's scrollTop and scrollLeft in non-default writing modes. Make behavior interoperable in RTL or vertical writing modes so that web developers don't need to rely on feature detection techniques.



Specification link

Specification currently under development in a Working Group

Status in Chromium


Enabled by default (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.


Search tags

scroll offset writing-mode,

Last updated on 2021-12-13