Index: Source/core/css/resolver/StyleAdjuster.cpp |
diff --git a/Source/core/css/resolver/StyleAdjuster.cpp b/Source/core/css/resolver/StyleAdjuster.cpp |
index 98e066116c5552f06b9e60f5f0b7c2d3751554de..45210f65007540f4cc9975412e52a634ca5b06a7 100644 |
--- a/Source/core/css/resolver/StyleAdjuster.cpp |
+++ b/Source/core/css/resolver/StyleAdjuster.cpp |
@@ -111,7 +111,6 @@ static EDisplay equivalentBlockDisplay(EDisplay display, bool isFloating, bool s |
return GRID; |
case INLINE: |
- case RUN_IN: |
case COMPACT: |
case INLINE_BLOCK: |
case TABLE_ROW_GROUP: |
@@ -132,11 +131,11 @@ static EDisplay equivalentBlockDisplay(EDisplay display, bool isFloating, bool s |
} |
// CSS requires text-decoration to be reset at each DOM element for tables, |
-// inline blocks, inline tables, run-ins, shadow DOM crossings, floating elements, |
+// inline blocks, inline tables, shadow DOM crossings, floating elements, |
// and absolute or relatively positioned elements. |
static bool doesNotInheritTextDecoration(const RenderStyle* style, const Element* e) |
{ |
- return style->display() == TABLE || style->display() == INLINE_TABLE || style->display() == RUN_IN |
+ return style->display() == TABLE || style->display() == INLINE_TABLE |
|| style->display() == INLINE_BLOCK || style->display() == INLINE_BOX || isAtShadowBoundary(e) |
|| style->isFloating() || style->hasOutOfFlowPosition(); |
} |