Bug 198472 - WebKit suppresses vertical scrollable overflow from rotated element if there's a short container element
Summary: WebKit suppresses vertical scrollable overflow from rotated element if there'...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari 12
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: FromImplementor, InRadar
Depends on:
Blocks:
 
Reported: 2019-06-02 19:01 PDT by Daniel Holbert
Modified: 2022-12-09 04:51 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Holbert 2019-06-02 19:01:23 PDT
(Blink/Chromium version of this bug: https://bugs.chromium.org/p/chromium/issues/detail?id=969564 )

STR
(1) Load this testcase: https://jsfiddle.net/jkcyLdxv/

EXPECTED RESULTS:
Both of the black-bordered scrolalble divs should have a vertical scrollbar (and should allow themselves to be scrolled vertically).

ACTUAL RESULTS:
The first div does not have a vertical scrollbar & does not allow itself to be scrolled vertically.


The only difference between the two divs is that the first one has a fixed-size wrapper around its contents.  This shouldn't matter from the perspective of scrollable overflow, because a fixed 'height' doesn't prevent descendants from creating vertical scrollable overflow that an ancestor scrollport ends up being responsible for scrolling.

Firefox and Edge give "expected result".  Chrome and Safari give the unexpected "actual results".
Comment 1 Daniel Holbert 2019-06-02 19:01:58 PDT
(I'm testing using Safari 12 on macOS Mojave.)
Comment 2 Radar WebKit Bug Importer 2019-06-03 08:30:13 PDT
<rdar://problem/51356318>
Comment 3 Ahmad Saleem 2022-12-09 04:51:37 PST
I am able to reproduce this bug using JSFiddle from Comment 0 and it does not show "vertical scrollbar" for first div and similar is the case with Chrome Canary 110 while Firefox Nightly 109 show both container with same scrollbars and positions.

Just wanted to share update testing results. Thanks!
Comment 4 Ahmad Saleem 2022-12-09 04:51:54 PST
(In reply to Ahmad Saleem from comment #3)
> I am able to reproduce this bug using JSFiddle from Comment 0 and it does
> not show "vertical scrollbar" for first div and similar is the case with
> Chrome Canary 110 while Firefox Nightly 109 show both container with same
> scrollbars and positions.
> 
> Just wanted to share update testing results. Thanks!

Safari 16.1 & STP 159 both show this bug.