| Index: Source/WebCore/rendering/svg/SVGInlineFlowBox.cpp
|
| ===================================================================
|
| --- Source/WebCore/rendering/svg/SVGInlineFlowBox.cpp (revision 90861)
|
| +++ Source/WebCore/rendering/svg/SVGInlineFlowBox.cpp (working copy)
|
| @@ -75,8 +75,11 @@
|
| IntRect SVGInlineFlowBox::calculateBoundaries() const
|
| {
|
| IntRect childRect;
|
| - for (InlineBox* child = firstChild(); child; child = child->nextOnLine())
|
| + for (InlineBox* child = firstChild(); child; child = child->nextOnLine()) {
|
| + if (!child->isSVGInlineTextBox() && !child->isSVGInlineFlowBox())
|
| + continue;
|
| childRect.unite(child->calculateBoundaries());
|
| + }
|
| return childRect;
|
| }
|
|
|
|
|