diff --git a/layout/svg/base/src/nsSVGGlyphFrame.cpp b/layout/svg/base/src/nsSVGGlyphFrame.cpp index 1d94704d705..d778d1b5451 100644 --- a/layout/svg/base/src/nsSVGGlyphFrame.cpp +++ b/layout/svg/base/src/nsSVGGlyphFrame.cpp @@ -1300,6 +1300,9 @@ void nsSVGGlyphFrame::SelectFont(cairo_t *ctx) void nsSVGGlyphFrame::UpdateGeometry(PRBool bRedraw, PRBool suppressInvalidation) { + if (GetStateBits() & NS_STATE_SVG_NONDISPLAY_CHILD) + return; + nsSVGOuterSVGFrame *outerSVGFrame = nsSVGUtils::GetOuterSVGFrame(this); if (!outerSVGFrame) { NS_ERROR("null outerSVGFrame");