Chromium Code Reviews| Index: Source/core/rendering/FastTextAutosizer.cpp |
| diff --git a/Source/core/rendering/FastTextAutosizer.cpp b/Source/core/rendering/FastTextAutosizer.cpp |
| index 3f0f5573fecb952b4728169817acdf3908740cdd..44a9838846fee583dd9180ac82b9b4cb0a9aec6b 100644 |
| --- a/Source/core/rendering/FastTextAutosizer.cpp |
| +++ b/Source/core/rendering/FastTextAutosizer.cpp |
| @@ -802,6 +802,10 @@ void FastTextAutosizer::applyMultiplier(RenderObject* renderer, float multiplier |
| style->setTextAutosizingMultiplier(multiplier); |
| style->setUnique(); |
| renderer->setStyleInternal(style.release()); |
| + |
| + // Notify inline renderers that their width may have changed. |
| + if (renderer->parent() && renderer->parent()->isRenderInline()) |
| + renderer->setPreferredLogicalWidthsDirty(MarkOnlyThis); |
|
skobes
2014/03/31 17:19:58
Do you know why this works? I would have guessed
pdr.
2014/04/01 06:06:43
A good question. In looking into this I found our
|
| } |
| bool FastTextAutosizer::isWiderOrNarrowerDescendant(Cluster* cluster) |