Bug 1417010 - Invalidate MathML display items whenever we invalidate the referenced nsMathMLChar. r=miko

This commit is contained in:
Matt Woodrow 2017-11-18 11:06:49 +13:00
Родитель 9a888dc0e1
Коммит 23aea3be25
2 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -151,6 +151,7 @@ nsresult nsMathMLmencloseFrame::AddNotation(const nsAString& aNotation)
*/
void nsMathMLmencloseFrame::InitNotations()
{
MarkNeedsDisplayItemRebuild();
mNotationsToDraw.clear();
mLongDivCharIndex = mRadicalCharIndex = -1;
mMathMLChar.Clear();

Просмотреть файл

@ -64,6 +64,7 @@ nsMathMLmfencedFrame::AttributeChanged(int32_t aNameSpaceID,
nsAtom* aAttribute,
int32_t aModType)
{
MarkNeedsDisplayItemRebuild();
RemoveFencesAndSeparators();
CreateFencesAndSeparators(PresContext());