Title: [261786] trunk/Source/WebCore
Revision
261786
Author
[email protected]
Date
2020-05-16 12:16:32 -0700 (Sat, 16 May 2020)

Log Message

Add missing is<RenderTableSection> check.

Unreviewed.


* layout/Verification.cpp:
(WebCore::Layout::outputMismatchingBlockBoxInformationIfNeeded):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (261785 => 261786)


--- trunk/Source/WebCore/ChangeLog	2020-05-16 19:13:58 UTC (rev 261785)
+++ trunk/Source/WebCore/ChangeLog	2020-05-16 19:16:32 UTC (rev 261786)
@@ -1,3 +1,12 @@
+2020-05-16  Zalan Bujtas  <[email protected]>
+
+        Add missing is<RenderTableSection> check.
+
+        Unreviewed.
+
+        * layout/Verification.cpp:
+        (WebCore::Layout::outputMismatchingBlockBoxInformationIfNeeded):
+
 2020-05-16  Andy Estes  <[email protected]>
 
         REGRESSION (r260717): installmentConfiguration member is no longer available on ApplePayPaymentRequest

Modified: trunk/Source/WebCore/layout/Verification.cpp (261785 => 261786)


--- trunk/Source/WebCore/layout/Verification.cpp	2020-05-16 19:13:58 UTC (rev 261785)
+++ trunk/Source/WebCore/layout/Verification.cpp	2020-05-16 19:16:32 UTC (rev 261786)
@@ -261,7 +261,7 @@
         // Table rows and tbody have 0 width for some reason when border collapsing is on.
         if (is<RenderTableRow>(renderer) && downcast<RenderTableRow>(renderer).table()->collapseBorders())
             return false;
-        if (downcast<RenderTableSection>(renderer).table()->collapseBorders())
+        if (is<RenderTableSection>(renderer) && downcast<RenderTableSection>(renderer).table()->collapseBorders())
             return false;
     }
     if (!areEssentiallyEqual(frameRect, displayBox.rect())) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to