Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REGRESSION (265576@main): Wrong paint order of positioned and in-flow content inside overflow:scroll #17588

Closed

Conversation

anttijk
Copy link
Contributor

@anttijk anttijk commented Sep 8, 2023

fff1fa9

REGRESSION (265576@main): Wrong paint order of positioned and in-flow content inside overflow:scroll
https://bugs.webkit.org/show_bug.cgi?id=261302
rdar://115144982

Reviewed by NOBODY (OOPS!).

We end up having multiple backing store providers that overlap each other.

* LayoutTests/compositing/layer-creation/clipping-scope/nested-scroller-overlap-expected.txt:
* LayoutTests/compositing/shared-backing/overflow-scroll/backing-sharing-multiple-overlap-expected.txt: Added.
* LayoutTests/compositing/shared-backing/overflow-scroll/backing-sharing-multiple-overlap.html: Added.
* LayoutTests/platform/ios-wk2/compositing/layer-creation/clipping-scope/nested-scroller-overlap-expected.txt:
* LayoutTests/platform/ios-wk2/compositing/shared-backing/overflow-scroll/backing-sharing-multiple-overlap-expected.txt: Added.
* Source/WebCore/rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::BackingSharingState::canUseMultipleProviders const):

Move the overlap test to canUseMultipleProviders so it is done after descendant traversal for each new provider candidate.

(WebCore::RenderLayerCompositor::BackingSharingState::updateBeforeDescendantTraversal):

fff1fa9

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe βœ… πŸ›  wincairo
βœ… πŸ§ͺ bindings βœ… πŸ›  ios-sim βœ… πŸ›  mac-AS-debug βœ… πŸ§ͺ wpe-wk2
βœ… πŸ§ͺ webkitperl βœ… πŸ§ͺ ios-wk2 βœ… πŸ§ͺ api-mac βœ… πŸ›  gtk
βœ… πŸ§ͺ ios-wk2-wpt βœ… πŸ§ͺ mac-wk1 βœ… πŸ§ͺ gtk-wk2
βœ… πŸ§ͺ api-ios βœ… πŸ§ͺ mac-wk2 βœ… πŸ§ͺ api-gtk
βœ… πŸ›  tv βœ… πŸ§ͺ mac-AS-debug-wk2
βœ… πŸ›  tv-sim βœ… πŸ§ͺ mac-wk2-stress
  πŸ›  πŸ§ͺ merge βœ… πŸ›  watch
βœ… πŸ›  watch-sim

@anttijk anttijk self-assigned this Sep 8, 2023
@anttijk anttijk added the Layout and Rendering For bugs with layout and rendering of Web pages. label Sep 8, 2023
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Sep 8, 2023
@anttijk anttijk removed the merging-blocked Applied to prevent a change from being merged label Sep 8, 2023
@anttijk anttijk force-pushed the backing-sharing-multiple-overlap branch from acd9819 to 2dd59e6 Compare September 8, 2023 13:17
… content inside overflow:scroll

https://bugs.webkit.org/show_bug.cgi?id=261302
rdar://115144982

Reviewed by NOBODY (OOPS!).

We end up having multiple backing store providers that overlap each other.

* LayoutTests/compositing/layer-creation/clipping-scope/nested-scroller-overlap-expected.txt:
* LayoutTests/compositing/shared-backing/overflow-scroll/backing-sharing-multiple-overlap-expected.txt: Added.
* LayoutTests/compositing/shared-backing/overflow-scroll/backing-sharing-multiple-overlap.html: Added.
* LayoutTests/platform/ios-wk2/compositing/layer-creation/clipping-scope/nested-scroller-overlap-expected.txt:
* LayoutTests/platform/ios-wk2/compositing/shared-backing/overflow-scroll/backing-sharing-multiple-overlap-expected.txt: Added.
* Source/WebCore/rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::BackingSharingState::canUseMultipleProviders const):

Move the overlap test to canUseMultipleProviders so it is done after descendant traversal for each new provider candidate.

(WebCore::RenderLayerCompositor::BackingSharingState::updateBeforeDescendantTraversal):
@anttijk anttijk force-pushed the backing-sharing-multiple-overlap branch from 2dd59e6 to fff1fa9 Compare September 8, 2023 13:32
@smfr smfr added merge-queue Applied to send a pull request to merge-queue and removed merge-queue Applied to send a pull request to merge-queue labels Sep 15, 2023
@smfr smfr self-requested a review September 15, 2023 01:25
@smfr
Copy link
Contributor

smfr commented Sep 15, 2023

Obsoleted by #17798

@smfr smfr closed this Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Layout and Rendering For bugs with layout and rendering of Web pages.
Projects
None yet
4 participants