| Index: Source/core/rendering/RenderInline.cpp
|
| diff --git a/Source/core/rendering/RenderInline.cpp b/Source/core/rendering/RenderInline.cpp
|
| index 40e065671d2d0adeae9efc9c1f936be6532c9675..01bde6431c7acf4d77b64c0ccfa1e255212e220f 100644
|
| --- a/Source/core/rendering/RenderInline.cpp
|
| +++ b/Source/core/rendering/RenderInline.cpp
|
| @@ -1024,7 +1024,25 @@ LayoutRect RenderInline::linesVisualOverflowBoundingBox() const
|
|
|
| LayoutRect RenderInline::absoluteClippedOverflowRect() const
|
| {
|
| - return clippedOverflowRect(view());
|
| + if (!continuation())
|
| + return clippedOverflowRect(view());
|
| +
|
| + FloatRect floatResult;
|
| + LinesBoundingBoxGeneratorContext context(floatResult);
|
| +
|
| + RenderInline* endContinuation = inlineElementContinuation();
|
| + while (endContinuation->inlineElementContinuation())
|
| + endContinuation = endContinuation->inlineElementContinuation();
|
| +
|
| + for (RenderBlock* currBlock = containingBlock(); currBlock && currBlock->isAnonymousBlock(); currBlock = toRenderBlock(currBlock->nextSibling())) {
|
| + for (RenderObject* curr = currBlock->firstChild(); curr; curr = curr->nextSibling()) {
|
| + LayoutRect rect = curr->clippedOverflowRectForPaintInvalidation(view());
|
| + context(rect);
|
| + if (curr == endContinuation)
|
| + return enclosingIntRect(floatResult);
|
| + }
|
| + }
|
| + return LayoutRect();
|
| }
|
|
|
| LayoutRect RenderInline::clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalidationState* paintInvalidationState) const
|
|
|