| Summary: | Scrollbar doesn't show up in a container with position:fixed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Emmanuel <egarciad> | ||||
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED WORKSFORME | ||||||
| Severity: | Major | CC: | bfulgham, egarciad, simon.fraser, tonikitoo, webkit-bug-importer | ||||
| Priority: | P1 | Keywords: | InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Mac | ||||||
| OS: | OS X 10.10 | ||||||
| Attachments: |
|
||||||
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. This seems to work correctly in a WebKit nightly. (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. |
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.