WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
176018
Width is not recalculated after 'overflow' value change (with "Show scroll bars: always")
https://bugs.webkit.org/show_bug.cgi?id=176018
Summary
Width is not recalculated after 'overflow' value change (with "Show scroll ba...
Tomasz Sodzawiczny
Reported
2017-08-28 04:24:39 PDT
The bug occurs when system preferences are set to always show scroll (on macOS: System Preferences > General > Show scroll bars: Always). With this setting, the scrollbar actually takes space from the container (scrollbar width is subtracted from the available width before sizing the children). When changing the overflow property from 'auto' to 'hidden' the scrollbar disappears (as expected) but the children elements width is not recalculated to fill the newly freed space. See demo at:
https://jsfiddle.net/qmury15r/
(The demo works flawlessly on FF/Chrome).
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug