haikuwebkit/Source/WebCore/page/scrolling/cocoa
Chris Lord 71515ad49e [WPE] position:sticky content is not correctly offset on async scrolled overflow layers with an RTL vertical scrollbar
https://bugs.webkit.org/show_bug.cgi?id=226327

Reviewed by Darin Adler.

Source/WebCore:

Make sure to respect the origin of sticky positioning nodes'
constraining rect.

No new tests, covered by existing tests.

* page/scrolling/cocoa/ScrollingTreeStickyNode.mm:
(WebCore::ScrollingTreeStickyNode::computeLayerPosition const):
* page/scrolling/nicosia/ScrollingTreeStickyNode.cpp:
(WebCore::ScrollingTreeStickyNode::computeLayerPosition const):

LayoutTests:

Some sticky-positioning RTL related tests now pass.

* platform/wpe/TestExpectations:


Canonical link: https://commits.webkit.org/238453@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278429 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-06-03 23:39:32 +00:00
..
ScrollingStateNode.mm
ScrollingTreeFixedNode.h
ScrollingTreeFixedNode.mm
ScrollingTreeOverflowScrollProxyNode.h
ScrollingTreeOverflowScrollProxyNode.mm
ScrollingTreePositionedNode.h
ScrollingTreePositionedNode.mm
ScrollingTreeStickyNode.h
ScrollingTreeStickyNode.mm [WPE] position:sticky content is not correctly offset on async scrolled overflow layers with an RTL vertical scrollbar 2021-06-03 23:39:32 +00:00