Title: [256459] branches/safari-610.1.3-branch/Source/WebCore
- Revision
- 256459
- Author
- [email protected]
- Date
- 2020-02-12 11:09:54 -0800 (Wed, 12 Feb 2020)
Log Message
Cherry-pick r256400. rdar://problem/59240559
Unreviewed, partial rollout of r255037.
<rdar://problem/59240559>
* page/scrolling/cocoa/ScrollingTreeFixedNode.mm:
(WebCore::ScrollingTreeFixedNode::applyLayerPositions):
* page/scrolling/cocoa/ScrollingTreeStickyNode.mm:
(WebCore::ScrollingTreeStickyNode::computeLayerPosition const):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@256400 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-610.1.3-branch/Source/WebCore/ChangeLog (256458 => 256459)
--- branches/safari-610.1.3-branch/Source/WebCore/ChangeLog 2020-02-12 19:07:24 UTC (rev 256458)
+++ branches/safari-610.1.3-branch/Source/WebCore/ChangeLog 2020-02-12 19:09:54 UTC (rev 256459)
@@ -1,3 +1,27 @@
+2020-02-12 Alan Coon <[email protected]>
+
+ Cherry-pick r256400. rdar://problem/59240559
+
+ Unreviewed, partial rollout of r255037.
+ <rdar://problem/59240559>
+
+ * page/scrolling/cocoa/ScrollingTreeFixedNode.mm:
+ (WebCore::ScrollingTreeFixedNode::applyLayerPositions):
+ * page/scrolling/cocoa/ScrollingTreeStickyNode.mm:
+ (WebCore::ScrollingTreeStickyNode::computeLayerPosition const):
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@256400 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2020-02-11 Ryan Haddad <[email protected]>
+
+ Unreviewed, partial rollout of r255037.
+ <rdar://problem/59240559>
+
+ * page/scrolling/cocoa/ScrollingTreeFixedNode.mm:
+ (WebCore::ScrollingTreeFixedNode::applyLayerPositions):
+ * page/scrolling/cocoa/ScrollingTreeStickyNode.mm:
+ (WebCore::ScrollingTreeStickyNode::computeLayerPosition const):
+
2020-02-10 Alan Coon <[email protected]>
Cherry-pick r256228. rdar://problem/59336278
Modified: branches/safari-610.1.3-branch/Source/WebCore/page/scrolling/cocoa/ScrollingTreeFixedNode.mm (256458 => 256459)
--- branches/safari-610.1.3-branch/Source/WebCore/page/scrolling/cocoa/ScrollingTreeFixedNode.mm 2020-02-12 19:07:24 UTC (rev 256458)
+++ branches/safari-610.1.3-branch/Source/WebCore/page/scrolling/cocoa/ScrollingTreeFixedNode.mm 2020-02-12 19:09:54 UTC (rev 256459)
@@ -77,7 +77,7 @@
if (is<ScrollingTreeFrameScrollingNode>(*ancestor)) {
// Fixed nodes are positioned relative to the containing frame scrolling node.
// We bail out after finding one.
- auto layoutViewport = downcast<ScrollingTreeFrameScrollingNode>(*ancestor).layoutViewportRespectingRubberBanding();
+ auto layoutViewport = downcast<ScrollingTreeFrameScrollingNode>(*ancestor).layoutViewport();
return m_constraints.layerPositionForViewportRect(layoutViewport) - overflowScrollDelta;
}
Modified: branches/safari-610.1.3-branch/Source/WebCore/page/scrolling/cocoa/ScrollingTreeStickyNode.mm (256458 => 256459)
--- branches/safari-610.1.3-branch/Source/WebCore/page/scrolling/cocoa/ScrollingTreeStickyNode.mm 2020-02-12 19:07:24 UTC (rev 256458)
+++ branches/safari-610.1.3-branch/Source/WebCore/page/scrolling/cocoa/ScrollingTreeStickyNode.mm 2020-02-12 19:09:54 UTC (rev 256459)
@@ -73,7 +73,7 @@
FloatRect constrainingRect;
if (is<ScrollingTreeFrameScrollingNode>(scrollingNode)) {
auto& frameScrollingNode = downcast<ScrollingTreeFrameScrollingNode>(scrollingNode);
- constrainingRect = frameScrollingNode.layoutViewportRespectingRubberBanding();
+ constrainingRect = frameScrollingNode.layoutViewport();
} else {
auto& overflowScrollingNode = downcast<ScrollingTreeOverflowScrollingNode>(scrollingNode);
constrainingRect = FloatRect(overflowScrollingNode.currentScrollPosition(), m_constraints.constrainingRectAtLastLayout().size());
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes