Title: [270878] trunk/Source/WebCore
Revision
270878
Author
[email protected]
Date
2020-12-15 20:59:45 -0800 (Tue, 15 Dec 2020)

Log Message

REGRESSION (r270839): ASSERT NOT REACHED in WebCore::Layout::InlineContentBreaker::processOverflowingContent
https://bugs.webkit.org/show_bug.cgi?id=219904
<rdar://problem/72350087>

Reviewed by Simon Fraser.

"Typo" in r270839.

* layout/inlineformatting/InlineContentBreaker.cpp:
(WebCore::Layout::InlineContentBreaker::processOverflowingContent const):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (270877 => 270878)


--- trunk/Source/WebCore/ChangeLog	2020-12-16 02:32:22 UTC (rev 270877)
+++ trunk/Source/WebCore/ChangeLog	2020-12-16 04:59:45 UTC (rev 270878)
@@ -1,3 +1,16 @@
+2020-12-15  Zalan Bujtas  <[email protected]>
+
+        REGRESSION (r270839): ASSERT NOT REACHED in WebCore::Layout::InlineContentBreaker::processOverflowingContent
+        https://bugs.webkit.org/show_bug.cgi?id=219904
+        <rdar://problem/72350087>
+
+        Reviewed by Simon Fraser.
+
+        "Typo" in r270839.
+
+        * layout/inlineformatting/InlineContentBreaker.cpp:
+        (WebCore::Layout::InlineContentBreaker::processOverflowingContent const):
+
 2020-12-15  Aditya Keerthi  <[email protected]>
 
         [macOS] Adjust date input placeholder color based on specified text color

Modified: trunk/Source/WebCore/layout/inlineformatting/InlineContentBreaker.cpp (270877 => 270878)


--- trunk/Source/WebCore/layout/inlineformatting/InlineContentBreaker.cpp	2020-12-16 02:32:22 UTC (rev 270877)
+++ trunk/Source/WebCore/layout/inlineformatting/InlineContentBreaker.cpp	2020-12-16 04:59:45 UTC (rev 270878)
@@ -225,7 +225,7 @@
         // Parent style drives the wrapping behavior here.
         // e.g. <div style="white-space: nowrap">some text<div style="display: inline-block; white-space: pre-wrap"></div></div>.
         // While the inline-block has pre-wrap which allows wrapping, the content lives in a nowrap context.
-        if (lastInlineItem.isBox() || lastInlineItem.isInlineBoxStart() || lastInlineItem.isInlineBoxStart())
+        if (lastInlineItem.isBox() || lastInlineItem.isInlineBoxStart() || lastInlineItem.isInlineBoxEnd())
             return isWrappingAllowed(lastInlineItem.layoutBox().parent().style());
         if (lastInlineItem.isText()) {
             if (runs.size() == 1) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to