mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 18:55:30 +00:00
Bug 1275604 - Ensure that we schedule a paint if the touch-action property changes. r=tnikkel
MozReview-Commit-ID: Jy10Qa2JpSE
This commit is contained in:
parent
9ece31839d
commit
c6021ffe84
@ -3067,6 +3067,12 @@ nsChangeHint nsStyleDisplay::CalcDifference(const nsStyleDisplay& aOther) const
|
||||
hint |= nsChangeHint_UpdateContainingBlock;
|
||||
}
|
||||
|
||||
// If touch-action is changed, we need to regenerate the event regions on
|
||||
// the layers and send it over to the compositor for APZ to handle.
|
||||
if (mTouchAction != aOther.mTouchAction) {
|
||||
hint |= nsChangeHint_RepaintFrame;
|
||||
}
|
||||
|
||||
// Note: Our current behavior for handling changes to the
|
||||
// transition-duration, transition-delay, and transition-timing-function
|
||||
// properties is to do nothing. In other words, the transition
|
||||
|
Loading…
Reference in New Issue
Block a user