WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
18745
Modifying overflow property on <body> doesn't relayout
https://bugs.webkit.org/show_bug.cgi?id=18745
Summary
Modifying overflow property on <body> doesn't relayout
Marcus
Reported
2008-04-25 14:44:34 PDT
Steps to reproduce: 1) Open test case 2) Notice that <body> has overflow: scroll, so both scrollbars are visible 3) Click button Expected result: The horizontal scrollbar disappears, the red square is moved downwards accordingly. Actual result: Nothing happens. The only way I found to get a layout refresh is by scrolling with the scroll wheel. Tested with
r32413
and Safari 3.1 on Windows XP.
Attachments
test case
(504 bytes, text/html)
2008-04-25 14:45 PDT
,
Marcus
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Marcus
Comment 1
2008-04-25 14:45:44 PDT
Created
attachment 20825
[details]
test case
Mike Capp
Comment 2
2009-09-29 06:35:16 PDT
Can't reproduce the exact problem with your test case (Safari 4, Chrome 3, both on Win2003 Server) because the scrollbars don't disappear. However, I'm seeing what I'm pretty sure is the same bug with scrollable divs. When changing overflow-y from "auto" to "hidden", the scrollbar disappears but layout isn't updated to use the space previously occupied by the scrollbar. Possible dupes:
Bug 19852
,
Bug 21462
,
Bug 21747
Deepak Mittal
Comment 3
2014-02-06 20:38:43 PST
I have checked with the latest webkit code, It is working as expected. Expected result: The horizontal scrollbar disappears, the red square is moved downwards accordingly. Please verify on the latest code and confirm so that issue can be resolved.
Ahmad Saleem
Comment 4
2023-02-24 15:14:27 PST
I am getting expected result from attached test case using Safari 16.3, Safari Technology Preview 164, Chrome Canary 112 and Firefox Nightly 112. Since this bug is not marked as "New" (Confirmed), I am marking this as "RESOLVED WONTFXI". Thanks!
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