fune/testing/web-platform/tests/css/css-flexbox/position-absolute-scrollbar-freeze-ref.html
Ian Kilpatrick 680eccbb4c Bug 1677164 [wpt PR 26531] - [layout] Don't freeze OOF-positioned scrollbars within flex layout., a=testonly
Automatic update from web-platform-tests
[layout] Don't freeze OOF-positioned scrollbars within flex layout.

Change:
https://chromium-review.googlesource.com/c/chromium/src/+/2424899
... introdcued a fix for freeze more consistent scrollbars for
arbitrary descendants of flex layout. However the original code
(detected direct descendant scrollbar changes) contained an issue that
it would also freeze scrollbars for any OOF positioned children.

There exists a wider issue which I've detailed here:
https://bugs.chromium.org/p/chromium/issues/detail?id=1148835
But it's relative rare.

The fix for this specific regression is to unfreeze the scrollbars
before running the OOF layout part.

Bug: 1148288
Change-Id: I74be0bf141d13988548d38412e912c8c98d628b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2538041
Reviewed-by: David Grogan <dgrogan@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#827402}

--

wpt-commits: 39f5f691a2f6dc04e6d34cf8cc2c7b8c07967b8d
wpt-pr: 26531
2020-11-18 08:42:46 +00:00

4 lines
138 B
HTML

<!DOCTYPE html>
<div style="width: 100px; height: 100px; overflow: auto;">
<div style="height: 200px; background: green;"></div>
</div>