mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Bug 264259 - invalidate text on style change. r=afri.
This commit is contained in:
parent
10b573a49b
commit
dc602ccba1
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user