gecko-dev/layout/base
Brian Birtles daf2b57f94 Bug 1316764 - Update animations on layers whenever the frame generation is not equal; r=hiro
This fixes a problem where we fail to update animations on layers when an
EffectSet is destroyed. In this case when we call
RestyleManager::GetAnimationGenerationForFrame in
ElementRestyler::AddLayerChangesForAnimation(), it will return zero but the
animation generation on the layer will be set to some positive non-zero value.

If we compare the two generation numbers using < we will think the layer is
up-to-date. Using != fixes this. We only used < while we had independent
generation numbers of animations and transitions but that was fixed in bug
1229280.

MozReview-Commit-ID: Jsunjc145GR

--HG--
extra : rebase_source : 75a6e324bdefeb12d1a8edc31b745b59a50bda61
2016-12-22 08:47:14 +09:00
..
crashtests Bug 1324624 - stylo: Mark currently failing crashtests with asserts-if(stylo,...). r=xidorn 2016-12-21 15:42:36 +08:00
doc
gtest Bug 1292904 Part 3 - Use only caret image for touch area if event is a mouse type. r=mtseng 2016-08-14 21:39:30 +08:00
tests Bug 1321225 - Remove legacy generator from layout/. r=jrmuizel 2016-12-15 16:54:45 +09:00
AccessibleCaret.cpp Bug 1296990 - Make AppearanceString() return nsAutoString directly. r=mtseng 2016-08-21 21:41:32 +08:00
AccessibleCaret.h Bug 1296990 - Make AppearanceString() return nsAutoString directly. r=mtseng 2016-08-21 21:41:32 +08:00
AccessibleCaretEventHub.cpp Bug 1304263 - On Windows, fire the eMouseLongTap event as soon as APZ detects the long-press. r=TYLin 2016-10-04 09:31:15 -04:00
AccessibleCaretEventHub.h Bug 1298704 - Use flag to avoid calling AccessibleCaretEventHub::Reflow() recursively. r=mats 2016-08-29 15:36:45 +08:00
AccessibleCaretLogger.h
AccessibleCaretManager.cpp Bug 1320815 - DeCOMtaminate nsIFrame::IsSelectable by returning boolean instead of nsresult. r=xidorn 2016-11-28 15:31:29 -08:00
AccessibleCaretManager.h Bug 1293483 - Keep the carets hidden when the user is using a mouse to modify the selection. r=TYLin 2016-10-03 08:57:44 -04:00
ArenaObjectID.h
ArenaRefPtr.h
ArenaRefPtrInlines.h
CaretAssociationHint.h
FramePropertyTable.cpp
FramePropertyTable.h Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
GeometryUtils.cpp Bug 1277131 : Part 1 - rename nsTableOuterFrame to nsTableWrapperFrame. r=heycam 2016-06-16 13:14:08 +01:00
GeometryUtils.h
LayoutLogging.cpp
LayoutLogging.h Bug 1275744 - Reference MOZ_LOG in layout comments. r=erahm 2016-05-26 11:40:17 -07:00
MobileViewportManager.cpp Bug 1304598 Part 3 - Rename nsPresShell.h/cpp to PresShell.h/cpp, and move exported header to mozilla/ subdir. r=dholbert 2016-11-30 11:14:28 +08:00
MobileViewportManager.h Bug 1304598 Part 4 - Sort #include statements in TouchManager.cpp and PresShell.h. r=dholbert 2016-11-30 11:14:28 +08:00
OverflowChangedTracker.h Bug 1290335: stylo: Hoist OverflowChangedTracker to its own file. r=heycam 2016-08-03 15:11:15 -07:00
PositionedEventTargeting.cpp
PositionedEventTargeting.h
PresShell.cpp Bug 1324341 - Part 2: Redo the cascade when CSSOM methods modify style sheets. r=xidorn 2016-12-19 14:30:14 +08:00
PresShell.h Bug 1322736 part.4 Remove pref to enable BeforeAfterKeyboardEvent and permission to allow to handle the event r=smaug 2016-12-16 16:50:17 +09:00
RestyleLogging.h
RestyleManager.cpp Bug 1316764 - Update animations on layers whenever the frame generation is not equal; r=hiro 2016-12-22 08:47:14 +09:00
RestyleManager.h Bug 1287983 part 5 - Clarify the function name of creating transition. r=hiro 2016-10-19 15:16:52 +09:00
RestyleManagerBase.cpp Bug 1318805 - Move the code for the Web Painting module to layout/painting; r=mattwoodrow 2016-11-21 20:01:15 -05:00
RestyleManagerBase.h Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal. r=emilio 2016-11-25 10:06:39 -08:00
RestyleManagerHandle.h Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal. r=emilio 2016-11-25 10:06:39 -08:00
RestyleManagerHandleInlines.h Bug 1321284 - Part 5: Process document level NAC when restyling. r=bholley 2016-12-01 16:19:50 +08:00
RestyleTracker.cpp Bug 1301249 - nsIDocument::GetDocumentURI() should be fallible, r=smaug 2016-09-20 14:03:05 +02:00
RestyleTracker.h Bug 1305004 - fix ReResolveStyleContext related comments. r=heycam 2016-09-23 18:08:01 +08:00
RestyleTrackerInlines.h
ScrollbarStyles.cpp
ScrollbarStyles.h
ServoRestyleManager.cpp Bug 1324341 - Part 1: Convert eRestyle_Subtree into (eRestyle_Self | eRestyle_SomeDescendants), so Servo will actually restyle descendants. r=xidorn 2016-12-19 14:30:09 +08:00
ServoRestyleManager.h Bug 1321284 - Part 5: Process document level NAC when restyling. r=bholley 2016-12-01 16:19:50 +08:00
ServoRestyleManagerInlines.h Bug 1321284 - Part 5: Process document level NAC when restyling. r=bholley 2016-12-01 16:19:50 +08:00
StackArena.cpp
StackArena.h
StaticPresData.cpp
StaticPresData.h
TouchManager.cpp Bug 1304598 Part 4 - Sort #include statements in TouchManager.cpp and PresShell.h. r=dholbert 2016-11-30 11:14:28 +08:00
TouchManager.h Bug 1304598 Part 1 - Move PresShell to mozilla namespace. r=dholbert 2016-11-30 11:14:27 +08:00
UnitTransforms.h Bug 1288210 - Simplify AlignFixedAndStickyLayers by not considering the local transform. r=kats,mstange 2016-09-28 13:33:38 -04:00
Units.h Bug 1317862 - Part 3: Build TextLayers if enabled. r=mstange 2016-11-24 18:11:29 +13:00
WordMovementType.h
ZoomConstraintsClient.cpp Bug 1304598 Part 3 - Rename nsPresShell.h/cpp to PresShell.h/cpp, and move exported header to mozilla/ subdir. r=dholbert 2016-11-30 11:14:28 +08:00
ZoomConstraintsClient.h
moz.build Bug 1321284 - Part 5: Process document level NAC when restyling. r=bholley 2016-12-01 16:19:50 +08:00
nsArenaMemoryStats.h
nsAutoLayoutPhase.cpp
nsAutoLayoutPhase.h
nsBidi.h Bug 924851 - patch 2 - When ENABLE_INTL_API is true, make nsBidi into a minimal wrapper around ICU's ubidi.h functions. r=xidorn 2016-10-06 09:49:17 +01:00
nsBidiPresUtils.cpp Bug 1286468 followup - Fix naming issues. 2016-10-24 15:01:25 +08:00
nsBidiPresUtils.h Bug 1160847 part 4 - Remove useless lineOffset variable in nsBidiPresUtils::ResolveParagraph. r=jfkthame 2016-06-29 17:48:00 +10:00
nsBidi_ICU.cpp Bug 924851 - patch 2 - When ENABLE_INTL_API is true, make nsBidi into a minimal wrapper around ICU's ubidi.h functions. r=xidorn 2016-10-06 09:49:17 +01:00
nsBidi_ICU.h Bug 924851 - patch 2 - When ENABLE_INTL_API is true, make nsBidi into a minimal wrapper around ICU's ubidi.h functions. r=xidorn 2016-10-06 09:49:17 +01:00
nsBidi_noICU.cpp Bug 924851 - patch 2 - When ENABLE_INTL_API is true, make nsBidi into a minimal wrapper around ICU's ubidi.h functions. r=xidorn 2016-10-06 09:49:17 +01:00
nsBidi_noICU.h Bug 924851 - patch 2 - When ENABLE_INTL_API is true, make nsBidi into a minimal wrapper around ICU's ubidi.h functions. r=xidorn 2016-10-06 09:49:17 +01:00
nsCSSColorUtils.cpp
nsCSSColorUtils.h
nsCSSFrameConstructor.cpp Bug 1286182 - Implement the layout for <input type=date>. r=mconley,smaug 2016-12-19 00:50:00 +08:00
nsCSSFrameConstructor.h Bug 1269045 part 4: Drop now-obsolete parameter from anonymous flex/grid-item wrapping functions. r=mats 2016-10-31 08:58:18 -07:00
nsCaret.cpp Bug 1313565 - Convert NS_STYLE_USER_MODIFY_* to enum class ; r=manishearth,xidorn 2016-10-23 22:41:49 +02:00
nsCaret.h
nsChangeHint.h Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal. r=emilio 2016-11-25 10:06:39 -08:00
nsCompatibility.h
nsCounterManager.cpp Bug 1313362 - Convert nsGenConList to use mozilla::LinkedList. r=xidorn 2016-10-27 18:07:52 +08:00
nsCounterManager.h Bug 1313362 - Convert nsGenConList to use mozilla::LinkedList. r=xidorn 2016-10-27 18:07:52 +08:00
nsDocumentViewer.cpp Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal. r=emilio 2016-11-25 10:06:39 -08:00
nsFrameManager.cpp Bug 1261351: Look past ShadowRoots when looking for the parent for the UndisplayedMap. r=dbaron 2016-06-07 14:09:22 -07:00
nsFrameManager.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
nsFrameManagerBase.h
nsFrameTraversal.cpp Bug 1322185 - Rename some StyleDisplay enum values for consistency. r=xidorn 2016-12-05 21:36:28 -10:00
nsFrameTraversal.h
nsGenConList.cpp Bug 1313362 - Convert nsGenConList to use mozilla::LinkedList. r=xidorn 2016-10-27 18:07:52 +08:00
nsGenConList.h Bug 1313362 - Convert nsGenConList to use mozilla::LinkedList. r=xidorn 2016-10-27 18:07:52 +08:00
nsIDocumentViewerPrint.h
nsIFrameTraversal.h
nsILayoutDebugger.h
nsILayoutHistoryState.h
nsIPercentBSizeObserver.h Bug 1277129 Part 7b - Rename various ReflowState variables to ReflowInput. r=dbaron 2016-07-21 18:36:39 +08:00
nsIPresShell.h Bug 1322736 part.2 Remove "after keydown" and "after keyup" events r=smaug 2016-12-16 16:01:51 +09:00
nsIReflowCallback.h
nsIStyleSheetService.idl
nsLayoutDebugger.cpp Bug 1298844 - Add PrintDisplayItemToStdout and PrintDisplayListToStdout helper functions for debugging. r=jrmuizel 2016-08-22 15:49:09 -04:00
nsLayoutHistoryState.cpp
nsLayoutUtils.cpp Bug 1312379 part 1 - [css-align][css-flexbox][css-grid] Introduce nsIFrame methods for calculating baselines per CSS Alignment and CSS2 'vertical-align'. r=dholbert 2016-12-20 23:56:35 +01:00
nsLayoutUtils.h Backed out 5 changesets (bug 1302470) for causing bug 1323200 a=backout 2016-12-16 16:45:09 -08:00
nsPresArena.cpp
nsPresArena.h
nsPresArenaObjectList.h
nsPresContext.cpp Bug 1321284 - Part 5: Process document level NAC when restyling. r=bholley 2016-12-01 16:19:50 +08:00
nsPresContext.h Bug 1312155 - Move border-width constants out of nsPresContext; r=heycam 2016-11-16 10:11:00 +01:00
nsPresState.h Bug 1304689 - Ensure frame reconstructions don't clobber a 'stronger' scroll origin with a 'weaker' one. r=tnikkel 2016-10-11 09:36:22 -04:00
nsQuoteList.cpp Bug 1313362 - Convert nsGenConList to use mozilla::LinkedList. r=xidorn 2016-10-27 18:07:52 +08:00
nsQuoteList.h Bug 1313362 - Convert nsGenConList to use mozilla::LinkedList. r=xidorn 2016-10-27 18:07:52 +08:00
nsRefreshDriver.cpp Bug 1324245 - Avoid dereferencing nullptr in nsRefreshDriver::ArrayFor(); r=dholbert 2016-12-19 10:52:55 -05:00
nsRefreshDriver.h Merge m-i to m-c, a=merge 2016-10-30 10:55:00 -07:00
nsStyleChangeList.cpp Bug 1295818: Port nsStyleChangeList to modern C++. r=heycam 2016-08-18 10:02:37 -07:00
nsStyleChangeList.h Bug 1295818: Port nsStyleChangeList to modern C++. r=heycam 2016-08-18 10:02:37 -07:00
nsStyleSheetService.cpp Bug 1312050 - Make loadAndRegisterSheet log a helpful error message if the URI contains a potentially-truncating unescaped #id. r=dholbert 2016-10-24 10:59:09 -04:00
nsStyleSheetService.h Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam 2016-09-26 22:03:25 +10:00