Bug 1490571. Pointer events changes need to schedule a paint because they can change the event regions override on layers. r=mattwoodrow

Differential Revision: https://phabricator.services.mozilla.com/D55603

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Timothy Nikkel 2019-12-04 08:00:25 +00:00
Родитель 843d235c75
Коммит a6ddb77d87
1 изменённых файлов: 4 добавлений и 1 удалений

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

@ -3667,7 +3667,10 @@ nsChangeHint nsStyleUI::CalcDifference(const nsStyleUI& aNewData) const {
// of pointer-events. See SVGGeometryFrame::ReflowSVG's use of
// GetHitTestFlags. (Only a reflow, no visual change.)
hint |= nsChangeHint_NeedReflow |
nsChangeHint_NeedDirtyReflow; // XXX remove me: bug 876085
nsChangeHint_NeedDirtyReflow | // XXX remove me: bug 876085
nsChangeHint_SchedulePaint; // pointer-events changes can change
// event regions overrides on layers
// and so needs a repaint.
}
if (mUserModify != aNewData.mUserModify) {