Title: [289849] branches/safari-613.1.17.0-branch
- Revision
- 289849
- Author
- [email protected]
- Date
- 2022-02-15 13:43:33 -0800 (Tue, 15 Feb 2022)
Log Message
Revert r289828. rdar://problem/88656665
Modified Paths
Removed Paths
Diff
Modified: branches/safari-613.1.17.0-branch/LayoutTests/ChangeLog (289848 => 289849)
--- branches/safari-613.1.17.0-branch/LayoutTests/ChangeLog 2022-02-15 21:43:09 UTC (rev 289848)
+++ branches/safari-613.1.17.0-branch/LayoutTests/ChangeLog 2022-02-15 21:43:33 UTC (rev 289849)
@@ -1,5 +1,9 @@
2022-02-15 Russell Epstein <[email protected]>
+ Revert r289828. rdar://problem/88656665
+
+2022-02-15 Russell Epstein <[email protected]>
+
Cherry-pick r289776. rdar://problem/88656665
Fix crash with deeply nested async overflow scroll
Deleted: branches/safari-613.1.17.0-branch/LayoutTests/compositing/layer-creation/clipping-scope/deeply-nested-overflow-expected.txt (289848 => 289849)
--- branches/safari-613.1.17.0-branch/LayoutTests/compositing/layer-creation/clipping-scope/deeply-nested-overflow-expected.txt 2022-02-15 21:43:09 UTC (rev 289848)
+++ branches/safari-613.1.17.0-branch/LayoutTests/compositing/layer-creation/clipping-scope/deeply-nested-overflow-expected.txt 2022-02-15 21:43:33 UTC (rev 289849)
@@ -1 +0,0 @@
-This test should not crash.
Deleted: branches/safari-613.1.17.0-branch/LayoutTests/compositing/layer-creation/clipping-scope/deeply-nested-overflow.html (289848 => 289849)
--- branches/safari-613.1.17.0-branch/LayoutTests/compositing/layer-creation/clipping-scope/deeply-nested-overflow.html 2022-02-15 21:43:09 UTC (rev 289848)
+++ branches/safari-613.1.17.0-branch/LayoutTests/compositing/layer-creation/clipping-scope/deeply-nested-overflow.html 2022-02-15 21:43:33 UTC (rev 289849)
@@ -1,42 +0,0 @@
-<!DOCTYPE html> <!-- webkit-test-runner [ AsyncOverflowScrollingEnabled=true ] -->
-<html>
-<head>
-<style>
- .container {
- width: 600px;
- border: 1px solid gray;
- overflow-x: auto;
- margin: 10px;
- }
-
- .inner {
- padding: 10px;
- background-color: blue;
- }
-</style>
-<script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
- window.addEventListener('load', () => {
- const depth = 256;
-
- let currParent = document.body;
- for (let i = 0; i < depth; ++i) {
-
- let div = document.createElement('div');
- div.className = 'container';
- currParent.appendChild(div);
- currParent = div;
- }
-
- let div = document.createElement('div');
- div.className = 'inner';
- div.textContent = 'This test should not crash.';
- currParent.appendChild(div);
- }, false);
-</script>
-</head>
-<body>
-</body>
-</html>
Modified: branches/safari-613.1.17.0-branch/Source/WebCore/ChangeLog (289848 => 289849)
--- branches/safari-613.1.17.0-branch/Source/WebCore/ChangeLog 2022-02-15 21:43:09 UTC (rev 289848)
+++ branches/safari-613.1.17.0-branch/Source/WebCore/ChangeLog 2022-02-15 21:43:33 UTC (rev 289849)
@@ -1,5 +1,9 @@
2022-02-15 Russell Epstein <[email protected]>
+ Revert r289828. rdar://problem/88656665
+
+2022-02-15 Russell Epstein <[email protected]>
+
Cherry-pick r288667. rdar://problem/88893789
REGRESSION(r287684) speedtest.net uses many GB of memory
Modified: branches/safari-613.1.17.0-branch/Source/WebCore/rendering/LayerOverlapMap.cpp (289848 => 289849)
--- branches/safari-613.1.17.0-branch/Source/WebCore/rendering/LayerOverlapMap.cpp 2022-02-15 21:43:09 UTC (rev 289848)
+++ branches/safari-613.1.17.0-branch/Source/WebCore/rendering/LayerOverlapMap.cpp 2022-02-15 21:43:33 UTC (rev 289849)
@@ -195,9 +195,10 @@
for (auto& sourceChildScope : sourceScope.children) {
ClippingScope* destChild = destScope.childWithLayer(sourceChildScope.layer);
- if (destChild)
+ if (destChild) {
+ destChild->rectList.append(sourceChildScope.rectList);
mergeClippingScopesRecursive(sourceChildScope, *destChild);
- else {
+ } else {
// New child, just copy the whole subtree.
destScope.addChild(sourceChildScope);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes