| Index: Source/core/rendering/RenderInline.cpp
|
| diff --git a/Source/core/rendering/RenderInline.cpp b/Source/core/rendering/RenderInline.cpp
|
| index f0bc6a0164fd211e8f2c8c1e2f9b5d39aceccc63..817217217df3470e5533ba0a2c2dadcaad569948 100644
|
| --- a/Source/core/rendering/RenderInline.cpp
|
| +++ b/Source/core/rendering/RenderInline.cpp
|
| @@ -193,7 +193,7 @@ void RenderInline::styleDidChange(StyleDifference diff, const RenderStyle* oldSt
|
| bool alwaysCreateLineBoxes = hasSelfPaintingLayer() || hasBoxDecorations() || newStyle->hasPadding() || newStyle->hasMargin() || hasOutline();
|
| if (oldStyle && alwaysCreateLineBoxes) {
|
| dirtyLineBoxes(false);
|
| - setNeedsLayout();
|
| + setNeedsLayoutAndFullRepaint();
|
| }
|
| m_alwaysCreateLineBoxes = alwaysCreateLineBoxes;
|
| }
|
| @@ -324,7 +324,7 @@ void RenderInline::addChildIgnoringContinuation(RenderObject* newChild, RenderOb
|
|
|
| RenderBoxModelObject::addChild(newChild, beforeChild);
|
|
|
| - newChild->setNeedsLayoutAndPrefWidthsRecalc();
|
| + newChild->setNeedsLayoutAndPrefWidthsRecalcAndFullRepaint();
|
| }
|
|
|
| RenderInline* RenderInline::clone() const
|
| @@ -361,7 +361,7 @@ void RenderInline::splitInlines(RenderBlock* fromBlock, RenderBlock* toBlock,
|
| RenderObject* tmp = o;
|
| o = tmp->nextSibling();
|
| cloneInline->addChildIgnoringContinuation(children()->removeChildNode(this, tmp), 0);
|
| - tmp->setNeedsLayoutAndPrefWidthsRecalc();
|
| + tmp->setNeedsLayoutAndPrefWidthsRecalcAndFullRepaint();
|
| }
|
|
|
| // Hook |clone| up as the continuation of the middle block.
|
| @@ -402,7 +402,7 @@ void RenderInline::splitInlines(RenderBlock* fromBlock, RenderBlock* toBlock,
|
| RenderObject* tmp = o;
|
| o = tmp->nextSibling();
|
| cloneInline->addChildIgnoringContinuation(inlineCurr->children()->removeChildNode(curr, tmp), 0);
|
| - tmp->setNeedsLayoutAndPrefWidthsRecalc();
|
| + tmp->setNeedsLayoutAndPrefWidthsRecalcAndFullRepaint();
|
| }
|
| }
|
|
|
| @@ -463,7 +463,7 @@ void RenderInline::splitFlow(RenderObject* beforeChild, RenderBlock* newBlockBox
|
| RenderObject* no = o;
|
| o = no->nextSibling();
|
| pre->children()->appendChildNode(pre, block->children()->removeChildNode(block, no));
|
| - no->setNeedsLayoutAndPrefWidthsRecalc();
|
| + no->setNeedsLayoutAndPrefWidthsRecalcAndFullRepaint();
|
| }
|
| }
|
|
|
| @@ -478,9 +478,9 @@ void RenderInline::splitFlow(RenderObject* beforeChild, RenderBlock* newBlockBox
|
| // Always just do a full layout in order to ensure that line boxes (especially wrappers for images)
|
| // get deleted properly. Because objects moves from the pre block into the post block, we want to
|
| // make new line boxes instead of leaving the old line boxes around.
|
| - pre->setNeedsLayoutAndPrefWidthsRecalc();
|
| - block->setNeedsLayoutAndPrefWidthsRecalc();
|
| - post->setNeedsLayoutAndPrefWidthsRecalc();
|
| + pre->setNeedsLayoutAndPrefWidthsRecalcAndFullRepaint();
|
| + block->setNeedsLayoutAndPrefWidthsRecalcAndFullRepaint();
|
| + post->setNeedsLayoutAndPrefWidthsRecalcAndFullRepaint();
|
| }
|
|
|
| void RenderInline::addChildToContinuation(RenderObject* newChild, RenderObject* beforeChild)
|
|
|