WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
148033
Scrollbar doesn't show up in a container with position:fixed
https://bugs.webkit.org/show_bug.cgi?id=148033
Summary
Scrollbar doesn't show up in a container with position:fixed
Emmanuel
Reported
2015-08-14 12:29:09 PDT
Created
attachment 259025
[details]
try to scroll the content inside the red box. A simple example can repro this issue: <body> <div id="#red" style="position: fixed; width: 200px; height: 200px; top: 0px; left: 0; background-color:red; overflow-y: auto;"> <div style="height: 3000px; width: 10px; background: green; margin: 10px;"></div> </div> </body> the scrollbar in #red doesn't render anymore, but if I change its position to absolute, then the scrollbar is back.
Attachments
try to scroll the content inside the red box.
(623 bytes, text/html)
2015-08-14 12:29 PDT
,
Emmanuel
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Emmanuel
Comment 1
2015-08-14 14:46:14 PDT
One more bug. If the document scrollTop > 0, then you can't scroll the content inside the red container anymore. It works fine in Chrome and Firefox.
Simon Fraser (smfr)
Comment 2
2015-08-17 21:39:45 PDT
This seems to work correctly in a WebKit nightly.
Radar WebKit Bug Importer
Comment 3
2015-08-17 21:39:59 PDT
<
rdar://problem/22320185
>
Antonio Gomes
Comment 4
2016-07-15 13:26:46 PDT
(In reply to
comment #2
)
> This seems to work correctly in a WebKit nightly.
Same here. WORKSFORME for now. Please reopen with valid steps if you are able to reproduce this with the latest code.
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