Bug 865958 - Text in clipPath does not update correctly when changed. r=heycam,jwatt

This commit is contained in:
Robert Longson 2013-04-28 11:53:58 +01:00
parent edb82c4095
commit 9ac622e3aa

View File

@ -306,7 +306,8 @@ nsSVGGlyphFrame::DidSetStyleContext(nsStyleContext* aOldStyleContext)
{
nsSVGGlyphFrameBase::DidSetStyleContext(aOldStyleContext);
if (!(GetStateBits() & NS_FRAME_FIRST_REFLOW)) {
if (!(GetStateBits() & NS_FRAME_FIRST_REFLOW) ||
(GetStateBits() & NS_STATE_SVG_NONDISPLAY_CHILD)) {
ClearTextRun();
NotifyGlyphMetricsChange();
}