[Webkit-unassigned] [Bug 176018] New: Width is not recalculated after 'overflow' value change (with "Show scroll bars: always")

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 28 04:24:39 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=176018

            Bug ID: 176018
           Summary: Width is not recalculated after 'overflow' value
                    change (with "Show scroll bars: always")
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: macOS 10.12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tsodzawiczny at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170828/596534b1/attachment.html>


More information about the webkit-unassigned mailing list