mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-09 21:00:42 +02:00
Automatic update from web-platform-tests
[Layout] bugfix: Update scrollable area after overflow recalc
Bug is:
<container overflow:scroll>
<target transform:scale(1)>
Initially, container's scrollbars are disabled.
When target changes its scale and grows outside of container,
scrollbars were not updated.
Fix #1 is to call UpdateScrollbarEnabledState. This resulted in
scrollbars being painted, but not clickable.
Fix #2, calling UpdateScrollableAreaSet makes scrollbars
clickable too.
Fix #2 was an educated guess.
Bug: 926167
Change-Id: I02454047c87aaecede9c56db1c02bbd1b21b15c5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1704218
Commit-Queue: Aleks Totic <atotic@chromium.org>
Reviewed-by: Stefan Zager <szager@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681091}
--
wpt-commits: a00fc0867640cf60333bc8831fad1170881e67d7
wpt-pr: 17868
21 lines
331 B
HTML
21 lines
331 B
HTML
<!DOCTYPE html>
|
|
<link rel="help" href="https://crbug.com/926167">
|
|
<style>
|
|
|
|
#container {
|
|
width: 200px;
|
|
height: 150px;
|
|
border: 1px solid black;
|
|
overflow: scroll;
|
|
}
|
|
#target {
|
|
width: 100px;
|
|
height: 50px;
|
|
background: green;
|
|
transform: scale(4);
|
|
}
|
|
</style>
|
|
<!-- -->
|
|
<div id="container">
|
|
<div id="target"></div>
|
|
</div>
|