Index: Source/core/rendering/FastTextAutosizer.cpp |
diff --git a/Source/core/rendering/FastTextAutosizer.cpp b/Source/core/rendering/FastTextAutosizer.cpp |
index 2297eab82cfa99a17ede246e92ac51458e06cee2..06d0c4a41867f629ef37baa60c25cba655d7ab0b 100644 |
--- a/Source/core/rendering/FastTextAutosizer.cpp |
+++ b/Source/core/rendering/FastTextAutosizer.cpp |
@@ -412,6 +412,9 @@ void FastTextAutosizer::inflate(RenderBlock* block) |
multiplier = cluster->m_autosize ? clusterMultiplier(cluster) : 1.0f; |
applyMultiplier(descendant, multiplier); |
applyMultiplier(descendant->parent(), multiplier); // Parent handles line spacing. |
+ // FIXME: Investigate why MarkOnlyThis is sufficient. |
+ if (descendant->parent()->isRenderInline()) |
+ descendant->setPreferredLogicalWidthsDirty(MarkOnlyThis); |
} |
descendant = descendant->nextInPreOrder(block); |
} |