| Index: Source/core/rendering/RenderBlock.cpp
|
| diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp
|
| index a1d94cdef85ba53682b4fbd83d968893fdd8dfe7..26d3b46aa5435241f4e480250c32db7ea365f9df 100644
|
| --- a/Source/core/rendering/RenderBlock.cpp
|
| +++ b/Source/core/rendering/RenderBlock.cpp
|
| @@ -4509,18 +4509,7 @@ void RenderBlock::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint& a
|
| rects.append(pixelSnappedIntRect(rect));
|
| }
|
|
|
| - for (RenderObject* curr = firstChild(); curr; curr = curr->nextSibling()) {
|
| - if (!curr->isText() && !curr->isListMarker() && curr->isBox()) {
|
| - RenderBox* box = toRenderBox(curr);
|
| - FloatPoint pos;
|
| - // FIXME: This doesn't work correctly with transforms.
|
| - if (box->layer())
|
| - pos = curr->localToContainerPoint(FloatPoint(), paintContainer);
|
| - else
|
| - pos = FloatPoint((additionalOffset.x() + box->x()).toFloat(), (additionalOffset.y() + box->y()).toFloat()); // FIXME: Snap offsets? crbug.com/350474
|
| - box->addFocusRingRects(rects, flooredLayoutPoint(pos), paintContainer);
|
| - }
|
| - }
|
| + addChildrenFocusRingRects(rects, additionalOffset, paintContainer);
|
| }
|
|
|
| if (inlineElementContinuation())
|
|
|