зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
843d235c75
Коммит
a6ddb77d87
|
@ -3667,7 +3667,10 @@ nsChangeHint nsStyleUI::CalcDifference(const nsStyleUI& aNewData) const {
|
||||||
// of pointer-events. See SVGGeometryFrame::ReflowSVG's use of
|
// of pointer-events. See SVGGeometryFrame::ReflowSVG's use of
|
||||||
// GetHitTestFlags. (Only a reflow, no visual change.)
|
// GetHitTestFlags. (Only a reflow, no visual change.)
|
||||||
hint |= nsChangeHint_NeedReflow |
|
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) {
|
if (mUserModify != aNewData.mUserModify) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче