Bug 1552344 - Diff overflow-anchor values. r=jwatt
authorEmilio Cobos Álvarez <emilio@crisal.io>
Fri, 17 May 2019 04:37:34 +0200
changeset 474361 418d8f9bd4b14313481ceeb41462144aa9c61100
parent 474360 18b02f666766b281cb400d3f551ce26931c61713
child 474362 159848724347565e9f92d8049d2a847e754faed6
push id36031
push userrgurzau@mozilla.com
push dateFri, 17 May 2019 21:43:13 +0000
treeherdermozilla-central@1ae707852b60 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjwatt
bugs1552344
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1552344 - Diff overflow-anchor values. r=jwatt Even if we do nothing, we need to know if the value actually changed to see if we need to propagate it to descendants that explicitly inherit it. Differential Revision: https://phabricator.services.mozilla.com//D31569 Depends on D31568
layout/style/nsStyleStruct.cpp
--- a/layout/style/nsStyleStruct.cpp
+++ b/layout/style/nsStyleStruct.cpp
@@ -3340,17 +3340,18 @@ nsChangeHint nsStyleDisplay::CalcDiffere
                 mAnimationDelayCount != aNewData.mAnimationDelayCount ||
                 mAnimationNameCount != aNewData.mAnimationNameCount ||
                 mAnimationDirectionCount != aNewData.mAnimationDirectionCount ||
                 mAnimationFillModeCount != aNewData.mAnimationFillModeCount ||
                 mAnimationPlayStateCount != aNewData.mAnimationPlayStateCount ||
                 mAnimationIterationCountCount !=
                     aNewData.mAnimationIterationCountCount ||
                 mScrollSnapCoordinate != aNewData.mScrollSnapCoordinate ||
-                mWillChange != aNewData.mWillChange)) {
+                mWillChange != aNewData.mWillChange ||
+                mOverflowAnchor != aNewData.mOverflowAnchor)) {
     hint |= nsChangeHint_NeutralChange;
   }
 
   return hint;
 }
 
 // --------------------
 // nsStyleVisibility