Percent-based scrolling

Adjusts mousewheel and keyboard-initiated scrolls to be interpreted as a percentage of the size of the intended scroller, instead of being translated directly into pixels.

In Chromium, one "tick" of the scroll wheel or arrow key press will translate to a fixed value in logical pixels. For a mouse wheel tick on Windows with default settings, this translates to be 100 logical pixels. Although this works well for most cases, it causes problems on smaller scrollers. When the scroller viewport is only a few hundred pixels tall, each scroll tick will scroll the viewport by a large fraction of the visible content. This is often annoying, as it is more difficult to read or keep track of the material being scrolled. By instead translating each tick into a percentage of the visible bounds, the scroll distance for each tick is appropriate regardless of the size of the scroller.

Documentation

Specification

Public discussion

Status in Chromium

Blink>Scroll


In development (tracking bug)

Consensus & Standardization

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

  • No public signals
  • In development
  • No public signals
  • Positive

Owners

Last updated on 2019-10-04