Bug 87982 - [CSS Regions] overflow:scroll does not display scrollbars for overflowing content
Summary: [CSS Regions] overflow:scroll does not display scrollbars for overflowing con...
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: AdobeTracked
Depends on:
Blocks: 57312
  Show dependency treegraph
Reported: 2012-05-31 08:51 PDT by Mihai Balan
Modified: 2014-03-19 03:03 PDT (History)
5 users (show)

See Also:

Ref test highlighting the problem (1.06 KB, application/x-zip-compressed)
2012-05-31 09:34 PDT, Mihai Balan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mihai Balan 2012-05-31 08:51:52 PDT
When region-overflow is set to auto, content overflowing in the last region should obey the value of the overflow property. Visible and hidden are properly processed, but for overflow: scroll, no scrollbar is drawn and the content cannot be scrolled using the mouse scroll wheel.
Comment 1 Mihai Balan 2012-05-31 09:34:09 PDT
Created attachment 145106 [details]
Ref test highlighting the problem
Comment 2 Mihai Balan 2013-03-12 03:50:08 PDT
Also, when explicitly setting the overflow property of the last region to overflow: scroll; even though space is reserved for scrollbars, they can't be used (they're disabled, no "thumb" is drawn).

Another thing to note here: DOM JavaScript properties related to scrolling return incorrect values or just don't work. This include things like element.scrollHeight, or setting element.scrollTop.
Comment 3 Mihai Balan 2013-03-14 07:44:32 PDT
Another note: horizontal overflow (with lrtb writing mode) doesn't work either, when specifying overflow: auto or overflow-x: scroll.

(Note that, in this case, the overflow property should apply to any region in the region chain, not just the last one)
Comment 4 Michelangelo De Simone 2013-06-13 20:35:00 PDT
Still repros on today's nightly (r151543)
Comment 5 Mihnea Ovidenie 2014-03-19 03:03:56 PDT
Fixed in latest nightly, most likely due to the latest fixes in the regions && scrolling area.