Index: Source/platform/graphics/paint/DisplayItem.cpp |
diff --git a/Source/platform/graphics/paint/DisplayItem.cpp b/Source/platform/graphics/paint/DisplayItem.cpp |
index 315147e50412147b37c3d6cc029a6b04b2323b49..3b240a6aeb521b57c89d5411043a0726fdc21fab 100644 |
--- a/Source/platform/graphics/paint/DisplayItem.cpp |
+++ b/Source/platform/graphics/paint/DisplayItem.cpp |
@@ -53,6 +53,23 @@ static WTF::String paintPhaseAsDebugString(int paintPhase) |
static WTF::String specialDrawingTypeAsDebugString(DisplayItem::Type type) |
{ |
+ if (type >= DisplayItem::TableCollapsedBorderUnalignedBase) { |
+ if (type <= DisplayItem::TableCollapsedBorderBase) |
+ return "TableCollapsedBorderAlignment"; |
+ if (type <= DisplayItem::TableCollapsedBorderLast) { |
+ StringBuilder sb; |
+ sb.append("TableCollapsedBorder"); |
+ if (type & DisplayItem::TableCollapsedBorderTop) |
+ sb.append("Top"); |
+ if (type & DisplayItem::TableCollapsedBorderRight) |
+ sb.append("Right"); |
+ if (type & DisplayItem::TableCollapsedBorderBottom) |
+ sb.append("Bottom"); |
+ if (type & DisplayItem::TableCollapsedBorderLeft) |
+ sb.append("Left"); |
+ return sb.toString(); |
+ } |
+ } |
switch (type) { |
DEBUG_STRING_CASE(BoxDecorationBackground); |
DEBUG_STRING_CASE(Caret); |