Email or username:

Password:

Forgot your password?
Šime Vidas

It’s unbelievable that we can create vaccines for submicroscopic organisms and land vehicles on Mars, but CSS pretends that scrollbars don’t exist because it’s “hard to implement”.

(drafts.csswg.org/css-values/)

Level 3 assumes scrollbars never exist because it was hard to implement and only Firefox bothered to do so. This is making authors unhappy. Can we improve here?
2 comments
Christopher Kirk-Nielsen

@simevidas I mean we got :has(), container queries and nesting which were "impossible" in the past… so there's gotta be a way.

A compromise would be to offer `env(viewport-scrollbar-gutter-size)` or something so we could at least do some calculation to get the value we want without resorting to a JS solution, but that's not optimal either.

Go Up