haikuwebkit/LayoutTests/compositing/layer-creation
Chris Lord ed791fccd0 Scrollbars are not clipped to layer bounds in RenderLayerBacking
https://bugs.webkit.org/show_bug.cgi?id=226823

Reviewed by Simon Fraser.

Source/WebCore:

Mask contents to bounds of overflow controls containers in RenderLayerBacking.

Test: compositing/scrolling/async-overflow-scrolling/overflow-controls-container-clips-scrollbars.html

* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateGeometry):
(WebCore::RenderLayerBacking::adjustOverflowControlsPositionRelativeToAncestor):

LayoutTests:

Adjust test expectations due to clipping on overflow controls container.

* compositing/clipping/border-radius-async-overflow-clipping-layer-expected.txt:
* compositing/layer-creation/clipping-scope/nested-scroller-overlap-expected.txt:
* compositing/rtl/rtl-scrolling-with-transformed-descendants-expected.txt:
* compositing/scrolling/async-overflow-scrolling/clipped-layer-in-overflow-clipped-by-scroll-expected.txt:
* compositing/scrolling/async-overflow-scrolling/clipped-layer-in-overflow-expected.txt:
* compositing/scrolling/async-overflow-scrolling/clipped-layer-in-overflow-nested-expected.txt:
* compositing/scrolling/async-overflow-scrolling/layer-for-negative-z-in-scroller-expected.txt:
* compositing/scrolling/async-overflow-scrolling/layer-in-overflow-clip-to-hidden-expected.txt:
* compositing/scrolling/async-overflow-scrolling/layer-in-overflow-clip-to-visible-expected.txt:
* compositing/scrolling/async-overflow-scrolling/layer-in-overflow-expected.txt:
* compositing/scrolling/async-overflow-scrolling/layer-in-overflow-gain-clipping-layer-expected.txt:
* compositing/scrolling/async-overflow-scrolling/layer-in-overflow-in-clipped-expected.txt:
* compositing/scrolling/async-overflow-scrolling/layer-in-overflow-lose-clipping-layer-expected.txt:
* compositing/scrolling/async-overflow-scrolling/nested-scrollers-backing-attachment-expected.txt:
* compositing/scrolling/async-overflow-scrolling/overflow-controls-container-clips-scrollbars-expected.html: Added.
* compositing/scrolling/async-overflow-scrolling/overflow-controls-container-clips-scrollbars.html: Added.
* compositing/scrolling/async-overflow-scrolling/transform-change-scrollbar-position-expected.txt:
* compositing/scrolling/async-overflow-scrolling/visibility-hidden-scrollers-expected.txt:
* compositing/shared-backing/overflow-scroll/previous-sibling-prevents-inclusiveness-expected.txt:
* compositing/tiling/perspective-on-scroller-tile-coverage-expected.txt:
* platform/mac-wk1/compositing/clipping/border-radius-async-overflow-clipping-layer-expected.txt:
* tiled-drawing/scrolling/overflow/overflow-scrolled-down-tile-coverage-expected.txt:
* tiled-drawing/scrolling/overflow/overflow-scrolled-up-tile-coverage-expected.txt:
* tiled-drawing/scrolling/overflow/overflow-tile-coverage-expected.txt:


Canonical link: https://commits.webkit.org/238825@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-06-15 18:12:34 +00:00
..
clipping-scope Scrollbars are not clipped to layer bounds in RenderLayerBacking 2021-06-15 18:12:34 +00:00
resources
absolute-in-async-overflow-scroll-expected.txt Group overflow controls layers into a single container layer 2020-04-18 01:37:23 +00:00
absolute-in-async-overflow-scroll.html Remove experimental: and internal: prefixes from test header commands 2020-11-04 15:56:26 +00:00
animation-overlap-with-children-expected.txt
animation-overlap-with-children.html
assert-on-inline-element-with-will-change-expected.txt
assert-on-inline-element-with-will-change.html
change-to-overlap-expected.txt
change-to-overlap.html
composited-negative-z-subtree-expected.txt
composited-negative-z-subtree.html
compositing-policy-expected.txt
compositing-policy.html
deep-tree-expected.html
deep-tree.html
fixed-overlap-extent-expected.txt
fixed-overlap-extent-rtl-expected.txt
fixed-overlap-extent-rtl.html
fixed-overlap-extent.html
fixed-position-and-transform-expected.png
fixed-position-and-transform-expected.txt
fixed-position-and-transform.html
fixed-position-change-out-of-view-in-view-expected.txt
fixed-position-change-out-of-view-in-view.html
fixed-position-descendants-out-of-view-expected.txt
fixed-position-descendants-out-of-view.html
fixed-position-in-view-dynamic-expected.txt
fixed-position-in-view-dynamic.html Rename Internals.mainThreadScrollingReasons to synchronousScrollingReasons 2021-05-29 23:29:26 +00:00
fixed-position-no-content-expected.txt
fixed-position-no-content-scroll-reason-expected.txt Rename Internals.mainThreadScrollingReasons to synchronousScrollingReasons 2021-05-29 23:29:26 +00:00
fixed-position-no-content-scroll-reason.html Rename Internals.mainThreadScrollingReasons to synchronousScrollingReasons 2021-05-29 23:29:26 +00:00
fixed-position-no-content.html
fixed-position-out-of-view-dynamic-expected.txt
fixed-position-out-of-view-dynamic.html Rename Internals.mainThreadScrollingReasons to synchronousScrollingReasons 2021-05-29 23:29:26 +00:00
fixed-position-out-of-view-expected.txt
fixed-position-out-of-view-scaled-expected.txt
fixed-position-out-of-view-scaled-iframe-expected.txt
fixed-position-out-of-view-scaled-iframe-scroll-expected.txt
fixed-position-out-of-view-scaled-iframe-scroll.html
fixed-position-out-of-view-scaled-iframe.html
fixed-position-out-of-view-scaled-scroll-expected.txt
fixed-position-out-of-view-scaled-scroll.html
fixed-position-out-of-view-scaled.html
fixed-position-out-of-view-scroll-reason-expected.txt
fixed-position-out-of-view-scroll-reason.html Rename Internals.mainThreadScrollingReasons to synchronousScrollingReasons 2021-05-29 23:29:26 +00:00
fixed-position-out-of-view.html
fixed-position-scroll.html
fixed-position-transformed-into-view-expected.txt
fixed-position-transformed-into-view.html
fixed-position-transformed-outside-view-expected.txt
fixed-position-transformed-outside-view.html
fixed-position-under-transform-expected.png
fixed-position-under-transform-expected.txt
fixed-position-under-transform.html
mismatched-rotated-transform-animation-overlap-expected.txt
mismatched-rotated-transform-animation-overlap.html
mismatched-rotated-transform-transition-overlap-expected.txt
mismatched-rotated-transform-transition-overlap.html
mismatched-transform-transition-overlap-expected.txt
mismatched-transform-transition-overlap.html
multiple-keyframes-animation-overlap-expected.txt
multiple-keyframes-animation-overlap.html
no-compositing-for-fixed-position-under-transform-expected.txt
no-compositing-for-fixed-position-under-transform.html Rename Internals.mainThreadScrollingReasons to synchronousScrollingReasons 2021-05-29 23:29:26 +00:00
no-compositing-for-preserve-3d-expected.txt
no-compositing-for-preserve-3d.html
no-compositing-for-sticky-expected.txt
no-compositing-for-sticky.html
overflow-scroll-overlap-expected.txt
overflow-scroll-overlap.html
overlap-animation-clipping-expected.txt
overlap-animation-clipping.html
overlap-animation-container-expected.txt
overlap-animation-container.html
overlap-animation-expected.txt
overlap-animation.html
overlap-child-layer-expected.png
overlap-child-layer-expected.txt
overlap-child-layer.html
overlap-clipping-expected.txt
overlap-clipping.html
overlap-in-scroller-expected.html Remove experimental: and internal: prefixes from test header commands 2020-11-04 15:56:26 +00:00
overlap-in-scroller.html Remove experimental: and internal: prefixes from test header commands 2020-11-04 15:56:26 +00:00
overlap-transformed-3d-expected.txt
overlap-transformed-3d.html
overlap-transformed-and-clipped-expected.png
overlap-transformed-and-clipped-expected.txt
overlap-transformed-and-clipped.html
overlap-transformed-layer-expected.png
overlap-transformed-layer-expected.txt
overlap-transformed-layer.html
overlap-transformed-preserved-3d-expected.txt
overlap-transformed-preserved-3d.html
overlap-transforms-expected.txt
overlap-transforms.html
rotate3d-overlap-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
rotate3d-overlap.html
scale-rotation-animation-overlap-expected.txt
scale-rotation-animation-overlap.html
scale-rotation-transition-overlap-expected.txt
scale-rotation-transition-overlap.html
scroll-partial-update-expected.txt
scroll-partial-update.html
spanOverlapsCanvas-expected.txt
spanOverlapsCanvas.html
stacking-context-overlap-expected.txt
stacking-context-overlap-nested-expected.txt
stacking-context-overlap-nested.html
stacking-context-overlap.html
subpixel-adjacent-layers-overlap-expected.txt
subpixel-adjacent-layers-overlap.html
translate-animation-overlap-expected.txt
translate-animation-overlap.html
translate-scale-animation-overlap-expected.txt
translate-scale-animation-overlap.html
translate-scale-transition-overlap-expected.txt
translate-scale-transition-overlap.html
translate-transition-overlap-expected.txt
translate-transition-overlap.html
translatez-overlap-expected.txt
translatez-overlap.html
will-change-change-expected.txt
will-change-change.html
will-change-layer-creation-expected.txt
will-change-layer-creation.html
will-change-on-normal-flow-content-expected.txt
will-change-on-normal-flow-content.html
zoomed-clip-intersection-expected.txt
zoomed-clip-intersection.html