Bug 264259 - invalidate text on style change. r=afri.

This commit is contained in:
tor%cs.brown.edu 2004-10-14 03:48:04 +00:00
parent 10b573a49b
commit dc602ccba1

View File

@ -88,6 +88,8 @@ public:
nsIContent* aChild,
PRBool aAppend);
NS_IMETHOD DidSetStyleContext(nsPresContext* aPresContext);
NS_IMETHOD SetSelected(nsPresContext* aPresContext,
nsIDOMRange* aRange,
PRBool aSelected,
@ -263,6 +265,12 @@ nsSVGGlyphFrame::CharacterDataChanged(nsPresContext* aPresContext,
return NS_OK;
}
NS_IMETHODIMP
nsSVGGlyphFrame::DidSetStyleContext(nsPresContext* aPresContext)
{
return CharacterDataChanged(aPresContext, NULL, PR_FALSE);
}
NS_IMETHODIMP
nsSVGGlyphFrame::SetSelected(nsPresContext* aPresContext,
nsIDOMRange* aRange,