Scrollbars and scrolling regions

GUI95

Widget index / Feedback and layout · Download this HTML

Wide document — horizontal and vertical scrolling

Native overflow keeps wheel, keyboard, touch and accessibility support.

End of the sample document.

Ready — try the example.

States and behavior

Two axes, thumb, track, focus and resizable viewport.

Keyboard

Focus the region; arrows/Page Up/Page Down scroll. Wheel and touch retain native behavior.

Scope and adaptation

WebKit scrollbar styling is approximate and platform dependent. Arrow glyphs and always-visible bars are not guaranteed; use native overflow before implementing a custom scrollbar.

Sources

Microsoft preliminary guide (1995), chapters 7–8

Original implementation; system colors are represented by CSS variables. The default 13 px system-font stack is a readable browser adaptation. The 1995 source is preliminary, not a final product specification. Test the target browser and native host before shipping.