Title: [276458] trunk
- Revision
- 276458
- Author
- [email protected]
- Date
- 2021-04-22 13:25:24 -0700 (Thu, 22 Apr 2021)
Log Message
Unreviewed, reverting r271644.
https://bugs.webkit.org/show_bug.cgi?id=224908
Caused regression
<http://webkit.org/b/221962|webkit.org/b/221962>
Reverted changeset:
"[css-multicol] OOM with 1px height columns"
https://bugs.webkit.org/show_bug.cgi?id=220490
https://trac.webkit.org/changeset/271644
Modified Paths
Removed Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (276457 => 276458)
--- trunk/LayoutTests/ChangeLog 2021-04-22 20:22:58 UTC (rev 276457)
+++ trunk/LayoutTests/ChangeLog 2021-04-22 20:25:24 UTC (rev 276458)
@@ -1,3 +1,17 @@
+2021-04-22 Commit Queue <[email protected]>
+
+ Unreviewed, reverting r271644.
+ https://bugs.webkit.org/show_bug.cgi?id=224908
+
+ Caused regression
+ <http://webkit.org/b/221962|webkit.org/b/221962>
+
+ Reverted changeset:
+
+ "[css-multicol] OOM with 1px height columns"
+ https://bugs.webkit.org/show_bug.cgi?id=220490
+ https://trac.webkit.org/changeset/271644
+
2021-04-22 Ryan Haddad <[email protected]>
Unreviewed, reverting r276393.
Deleted: trunk/LayoutTests/fast/multicol/newmulticol/zero-height-columns-oom-crash-expected.txt (276457 => 276458)
--- trunk/LayoutTests/fast/multicol/newmulticol/zero-height-columns-oom-crash-expected.txt 2021-04-22 20:22:58 UTC (rev 276457)
+++ trunk/LayoutTests/fast/multicol/newmulticol/zero-height-columns-oom-crash-expected.txt 2021-04-22 20:25:24 UTC (rev 276458)
@@ -1,3 +0,0 @@
-* { display: block; writing-mode: vertical-lr; -webkit-column-axis: horizontal; } *::first-letter {}
-if (window.testRunner) testRunner.dumpAsText();
-The test PASS if it does not crash.
Deleted: trunk/LayoutTests/fast/multicol/newmulticol/zero-height-columns-oom-crash.html (276457 => 276458)
--- trunk/LayoutTests/fast/multicol/newmulticol/zero-height-columns-oom-crash.html 2021-04-22 20:22:58 UTC (rev 276457)
+++ trunk/LayoutTests/fast/multicol/newmulticol/zero-height-columns-oom-crash.html 2021-04-22 20:25:24 UTC (rev 276458)
@@ -1,14 +0,0 @@
-<!DOCTYPE html>
-<style>
-* {
- display: block;
- writing-mode: vertical-lr;
- -webkit-column-axis: horizontal;
-}
-*::first-letter {}
-</style>
-<script>
-if (window.testRunner)
- testRunner.dumpAsText();
-</script>
-<p>The test PASS if it does not crash.</p>
Modified: trunk/LayoutTests/imported/blink/fast/pagination/first-letter-inherit-all-crash-expected.txt (276457 => 276458)
--- trunk/LayoutTests/imported/blink/fast/pagination/first-letter-inherit-all-crash-expected.txt 2021-04-22 20:22:58 UTC (rev 276457)
+++ trunk/LayoutTests/imported/blink/fast/pagination/first-letter-inherit-all-crash-expected.txt 2021-04-22 20:25:24 UTC (rev 276458)
@@ -2,4 +2,4 @@
PASS if no crash or assertion failure.
-
+x
Modified: trunk/Source/WebCore/ChangeLog (276457 => 276458)
--- trunk/Source/WebCore/ChangeLog 2021-04-22 20:22:58 UTC (rev 276457)
+++ trunk/Source/WebCore/ChangeLog 2021-04-22 20:25:24 UTC (rev 276458)
@@ -1,3 +1,17 @@
+2021-04-22 Commit Queue <[email protected]>
+
+ Unreviewed, reverting r271644.
+ https://bugs.webkit.org/show_bug.cgi?id=224908
+
+ Caused regression
+ <http://webkit.org/b/221962|webkit.org/b/221962>
+
+ Reverted changeset:
+
+ "[css-multicol] OOM with 1px height columns"
+ https://bugs.webkit.org/show_bug.cgi?id=220490
+ https://trac.webkit.org/changeset/271644
+
2021-04-22 Chris Lord <[email protected]>
Implement FontFace in Workers for OffscreenCanvas
Modified: trunk/Source/WebCore/rendering/RenderMultiColumnSet.cpp (276457 => 276458)
--- trunk/Source/WebCore/rendering/RenderMultiColumnSet.cpp 2021-04-22 20:22:58 UTC (rev 276457)
+++ trunk/Source/WebCore/rendering/RenderMultiColumnSet.cpp 2021-04-22 20:25:24 UTC (rev 276458)
@@ -148,7 +148,7 @@
LayoutUnit contentLogicalTop = logicalTop() - multicolBlock.borderAndPaddingBefore();
height -= contentLogicalTop;
- return std::max(height, 0_lu);
+ return std::max(height, 1_lu); // Let's avoid zero height, as that would probably cause an infinite amount of columns to be created.
}
LayoutUnit RenderMultiColumnSet::pageLogicalTopForOffset(LayoutUnit offset) const
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes