Firefox generates scrollable overflow (and creates unnecessary scrollbars) for transformed elements whose untransformed bounds would cause overflow
Categories
(Core :: Layout: Scrolling and Overflow, defect, P3)
Tracking
()
People
(Reporter: dholbert, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: webcompat:platform-bug)
STR:
- Load https://bug1913927.bmoattachments.org/attachment.cgi?id=9423297 (testcase from bug 1913927)
ACTUAL RESULTS:
There's a vertical scrollbar on the black box
EXPECTED RESULTS:
No such vertical scrollbar.
We seem to be including the transformed element's untransformed-bounds in the scrollable overflow that we propagate up to the scroller. In some cases that's correct (e.g. when its untransformed bounds directly contribute to layout space), but in this case the parent element has a small fixed height, which apparently nerfs the scrollable-overflow-contribution from the transformed child, in other browsers.
Reporter | ||
Comment 1•2 months ago
|
||
This is not a regression (or not a recent one); I can reproduce the ACTUAL RESULTS at least as far back as Nightly 46.0a1 2016-01-01 with the linked testcase. (I didn't test any older builds than that.)
Chrome gives EXPECTED RESULTS and that seems to go back a ways, too; I tested Chrome 50 (also released in 2016) and I get expected-results there.
Reporter | ||
Updated•2 months ago
|
Comment 2•2 months ago
|
||
The severity field is not set for this bug.
:hiro, could you have a look please?
For more information, please visit BugBot documentation.
Reporter | ||
Updated•2 months ago
|
Updated•1 month ago
|
Description
•