Commit 5255f7a8 authored by eric@webkit.org's avatar eric@webkit.org

Reviewed by Simon Fraser.

        Remove m_absoluteBounds hack from RenderSVGText
        https://bugs.webkit.org/show_bug.cgi?id=25532

        No functional changes (SVGs inside CSS transformed HTML should theoretically repaint better)

        * rendering/RenderSVGText.cpp:
        (WebCore::RenderSVGText::layout):
        * rendering/RenderSVGText.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43212 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 491b1ff4
2009-05-03 Eric Seidel <eric@webkit.org>
Reviewed by Simon Fraser.
Remove m_absoluteBounds hack from RenderSVGText
https://bugs.webkit.org/show_bug.cgi?id=25532
No functional changes (SVGs inside CSS transformed HTML should theoretically repaint better)
* rendering/RenderSVGText.cpp:
(WebCore::RenderSVGText::layout):
* rendering/RenderSVGText.h:
2009-05-03 Eric Seidel <eric@webkit.org>
Reviewed by Simon Fraser.
......@@ -73,8 +73,7 @@ void RenderSVGText::layout()
// FIXME: This is a hack to avoid the RenderBlock::layout() partial repainting code which is not (yet) SVG aware
setNeedsLayout(true);
// FIXME: using m_absoluteBounds breaks if containerForRepaint() is not the root
LayoutRepainter repainter(*this, checkForRepaintDuringLayout(), &m_absoluteBounds);
LayoutRepainter repainter(*this, checkForRepaintDuringLayout());
// Best guess for a relative starting point
SVGTextElement* text = static_cast<SVGTextElement*>(node());
......@@ -86,10 +85,7 @@ void RenderSVGText::layout()
RenderBlock::layout();
m_absoluteBounds = absoluteClippedOverflowRect();
repainter.repaintAfterLayout();
setNeedsLayout(false);
}
......
......@@ -68,7 +68,6 @@ private:
virtual RootInlineBox* createRootBox();
TransformationMatrix m_localTransform;
IntRect m_absoluteBounds;
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment