gecko/layout/style
Brian Birtles 49b954f56a Bug 1037316 part 1 - Return the same object when updating animations; r=dbaron
Previously when updating animations we'd generate a new list of animation
objects then try to match up animations from the existing list and copy across
state such as start times and notification flags. However, this means that from
the API we end up returning different objects.

This patch makes us maintain the same object identity when updating an existing
animation. It does this by looking for matching animations in both lists. If it
finds a match it copies the necessary information from the *new* animation to
the *existing* animation (but preserving the start time, last notification
etc.). Then, finally, it puts the *existing* animation in the list of *new*
animations and removes the corresponding *new* animation. The existing
animation is also removed from the list of existing animations so that it only
matches once.

The method used for matching is probably not intuitive but this is addressed in
a subsequent patch in this series.
2014-07-23 10:51:12 +09:00
..
crashtests Bug 637242, patch 3 of 3: crashtest. r=dbaron 2014-07-13 13:01:44 +00:00
test Backed out changeset 64586374a208 on a CLOSED TREE 2014-07-22 18:29:57 -07:00
xbl-marquee Bug 987678 - Stop doing all the crazy stuff in xbl-marquee. r=bz 2014-07-15 12:23:43 -07:00
AnimationCommon.cpp Bug 1038032 part 1 - Add temporary workaround to avoid overflow when calculating the active end of an animation; r=dholbert 2014-07-18 10:31:17 +09:00
AnimationCommon.h Bug 1036300 - Expose AnimationPlayer.timeline; r=bz 2014-07-16 09:02:33 +09:00
arrow.gif
arrowd.gif
contenteditable.css
CounterStyleManager.cpp Bug 1028512 - Remove {lower,upper}-{roman,alpha} from CSS keywords. r=jfkthame 2014-06-22 13:28:51 +01:00
CounterStyleManager.h Bug 1027251 - Fix or whitelist dangerous public destructors in layout/ - r=dbaron 2014-06-18 22:28:59 -04:00
counterstyles.css Bug 985825 - Unprefix -moz-ethiopic-numeric. r=jfkthame 2014-06-13 17:37:00 +02:00
CSS.cpp Bug 955860. Implement the CSS.escape API for escaping CSS identifiers from script. r=bzbarsky 2014-03-20 23:19:43 -04:00
CSS.h Bug 955860. Implement the CSS.escape API for escaping CSS identifiers from script. r=bzbarsky 2014-03-20 23:19:43 -04:00
CSSCalc.h
CSSRuleList.cpp Bug 995901 - Rename nsICSSRuleList to mozilla::dom::CSSRuleList. r=bz 2014-06-09 22:11:00 -04:00
CSSRuleList.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
CSSStyleSheet.cpp Bug 1032118 - Remove the nsresult return value from nsMediaList::SetStyleSheet; r=dbaron 2014-07-02 12:53:41 +02:00
CSSStyleSheet.h Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
CSSValue.h Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07:00
CSSVariableDeclarations.cpp Bug 773296 - Part 27: Support 'unset' in CSS variables. r=dbaron 2013-12-12 13:09:47 +11:00
CSSVariableDeclarations.h Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
CSSVariableResolver.cpp Bug 1039151 - Replace space-wasting use of DebugOnly<> in CSSVariableResolver with #ifdef DEBUG. r=dbaron 2014-07-16 15:24:04 +10:00
CSSVariableResolver.h Bug 1039151 - Replace space-wasting use of DebugOnly<> in CSSVariableResolver with #ifdef DEBUG. r=dbaron 2014-07-16 15:24:04 +10:00
CSSVariableValues.cpp Bug 773296 - Part 22: Expose variables through the nsComputedDOMStyle indexed getter. r=dbaron 2013-12-12 13:09:45 +11:00
CSSVariableValues.h Bug 985838 - Change custom property name prefix from "var-" to "--" and allow identifiers to begin with "--". r=dbaron 2014-04-02 14:32:16 +11:00
Declaration.cpp Bug 1037314 - Include animation-play-state in animation shorthand; r=dbaron 2014-07-17 10:04:56 +09:00
Declaration.h Bug 985838 - Change custom property name prefix from "var-" to "--" and allow identifiers to begin with "--". r=dbaron 2014-04-02 14:32:16 +11:00
designmode.css
ErrorReporter.cpp Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
ErrorReporter.h Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
forms.css Bug 1021913: Explicitly give the textfield in input[type="number"] a min-width of 0, so that "min-width:auto" won't block it from shrinking. r=jwatt 2014-06-11 15:35:18 -07:00
full-screen-override.css
generate-stylestructlist.py Bug 773296 - Part 8: Resolve and compute CSS variables. r=dbaron 2013-12-12 13:09:41 +11:00
GroupRule.h Bug 591303 - Part 3: Set line and column number for all rules in nsCSSParser. r=bz 2014-07-14 15:57:54 -07:00
html.css Bug 865407 - Part 9: Remove border-box and padding CSS on the caption overlay. r=rillian 2014-02-21 22:14:22 -05:00
ImageDocument.css
ImageLoader.cpp Bug 957391 - Call nsIFrame::SchedulePaint() in ImageLoader::DoRedraw(). r=mattwoodrow 2014-02-10 09:34:11 -05:00
ImageLoader.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
ImportRule.h Bug 591303 - Part 3: Set line and column number for all rules in nsCSSParser. r=bz 2014-07-14 15:57:54 -07:00
jar.mn Bug 966166 - Part 4: Rewrite some builtin counter styles. r=dbaron 2014-06-11 21:12:00 -04:00
Loader.cpp Bug 965413 part 11. Use a LoadInfo as needed for loading stylesheets. r=smaug 2014-07-10 02:56:38 -04:00
Loader.h Bug 1031967 - Make mozilla::css::Loader cycle collected and traverse its observer array. r=bzbarsky 2014-07-02 08:37:09 +10:00
Makefile.in Bug 772828 - Part b: use RESOURCE_FILES in moz.build instead of manual rules in Makefile.in; r=mshal 2013-11-05 13:37:54 -05:00
MediaQueryList.cpp Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
MediaQueryList.h Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
moz.build Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
NameSpaceRule.h Bug 591303 - Part 3: Set line and column number for all rules in nsCSSParser. r=bz 2014-07-14 15:57:54 -07:00
nsAnimationManager.cpp Bug 1037316 part 1 - Return the same object when updating animations; r=dbaron 2014-07-23 10:51:12 +09:00
nsAnimationManager.h Bug 1036287 part 4 - Make GetLocalTime(At) get the current time automatically from the timeline; r=dholbert 2014-07-16 09:02:32 +09:00
nsComputedDOMStyle.cpp Bug 984711 part 6: Add back special handling for min-width:auto in nsHTMLReflowState & getComputedStyle. (no review; just an unbitrotted backout) 2014-07-22 08:24:35 -07:00
nsComputedDOMStyle.h Bug 1029137 - Make the destructor of nsComputedDOMStyle private. r=bz 2014-06-26 09:29:06 -07:00
nsComputedDOMStylePropertyList.h Bug 1031444 - Add missing COMPUTED_STYLE_PROP declaration for 'box-decoration-break'. r=roc 2014-06-29 13:13:29 +00:00
nsCSSAnonBoxes.cpp
nsCSSAnonBoxes.h
nsCSSAnonBoxList.h Bug 1000376 - part 1, Add -moz-anonymous-grid-item in the style system. r=dholbert 2014-05-03 13:42:33 +00:00
nsCSSCounterDescList.h Bug 966166 - Part 1: Parse @counter-style rule. r=dbaron, r=bz 2014-06-11 21:10:00 -04:00
nsCSSDataBlock.cpp Bug 950436 - Store ImageValues that resulted from re-parsing a nsCSSValueTokenStream on that object. r=dbaron 2014-03-18 20:11:14 +11:00
nsCSSDataBlock.h Bug 773296 - Part 17: Resolve property values that have variable references at computed value time. r=dbaron 2013-12-12 13:09:44 +11:00
nsCSSFontDescList.h
nsCSSKeywordList.h Bug 1028512 - Remove {lower,upper}-{roman,alpha} from CSS keywords. r=jfkthame 2014-06-22 13:28:51 +01:00
nsCSSKeywords.cpp
nsCSSKeywords.h
nsCSSParser.cpp Bug 1035106 - Add new APIs to DOMUtils: colorToRGBA, isValidCSSColor & cssPropertyIsValid r=bz 2014-07-17 15:08:07 +01:00
nsCSSParser.h Bug 1035106 - Add new APIs to DOMUtils: colorToRGBA, isValidCSSColor & cssPropertyIsValid r=bz 2014-07-17 15:08:07 +01:00
nsCSSPropAliasList.h Bug 243412: Add box-sizing preference to control the vendor prefix; r=dbaron 2014-02-04 18:06:18 -08:00
nsCSSProperty.h Bug 966166 - Part 1: Parse @counter-style rule. r=dbaron, r=bz 2014-06-11 21:10:00 -04:00
nsCSSPropertySet.h
nsCSSPropList.h Bug 984711 part 2: Add back min-width:auto & min-height:auto in the parser and as default value (just computing to '0' for now). (no review; just an unbitrotted backout) 2014-07-22 08:24:34 -07:00
nsCSSProps.cpp Bug 1037314 - Include animation-play-state in animation shorthand; r=dbaron 2014-07-17 10:04:56 +09:00
nsCSSProps.h Bug 556441 - Interpolation fails for stroke-width and stroke-dashoffset when animating between unitless values & values with units. r=dbaron 2014-07-03 20:05:43 +01:00
nsCSSPseudoClasses.cpp
nsCSSPseudoClasses.h
nsCSSPseudoClassList.h
nsCSSPseudoElementList.h Bug 1000879 - Remove the ::-moz-math-stretchy pseudo-element. r=karl, roc 2014-04-24 21:30:00 +02:00
nsCSSPseudoElements.cpp
nsCSSPseudoElements.h
nsCSSRuleProcessor.cpp Bug 1032116 - Outparamdel nsIStyleSheetLinkingElement::GetStyleSheet; r=dbaron 2014-07-02 12:53:40 +02:00
nsCSSRuleProcessor.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsCSSRules.cpp Bug 591303 - Part 3: Set line and column number for all rules in nsCSSParser. r=bz 2014-07-14 15:57:54 -07:00
nsCSSRules.h Bug 591303 - Part 3: Set line and column number for all rules in nsCSSParser. r=bz 2014-07-14 15:57:54 -07:00
nsCSSScanner.cpp Bug 985838 - Change custom property name prefix from "var-" to "--" and allow identifiers to begin with "--". r=dbaron 2014-04-02 14:32:16 +11:00
nsCSSScanner.h Bug 976787 part 2: Add the grid-template-areas property to the style system. r=dholbert 2014-03-10 15:54:14 -07:00
nsCSSValue.cpp Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
nsCSSValue.h Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
nsDOMCSSAttrDeclaration.cpp Bug 591303 - Part 3: Set line and column number for all rules in nsCSSParser. r=bz 2014-07-14 15:57:54 -07:00
nsDOMCSSAttrDeclaration.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsDOMCSSDeclaration.cpp Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
nsDOMCSSDeclaration.h Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07:00
nsDOMCSSRect.cpp Bug 1001966 - Part 2: Change uses of numbered NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro to the variadic variant. r=smaug 2014-04-29 04:57:00 -04:00
nsDOMCSSRect.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsDOMCSSRGBColor.cpp Bug 1001966 - Part 2: Change uses of numbered NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro to the variadic variant. r=smaug 2014-04-29 04:57:00 -04:00
nsDOMCSSRGBColor.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsDOMCSSValueList.cpp Bug 1001966 - Part 2: Change uses of numbered NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro to the variadic variant. r=smaug 2014-04-29 04:57:00 -04:00
nsDOMCSSValueList.h Bug 1029139 - Make the destructor of nsDOMCSSValueList private. r=bz 2014-06-26 09:29:06 -07:00
nsFontFaceLoader.cpp Bug 1031187 - Part 2: Use family name from proxy rather than gfxMixedFontFamily when logging. r=jdaggett 2014-07-09 17:08:55 +10:00
nsFontFaceLoader.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsHTMLCSSStyleSheet.cpp Bug 1016345 - Add memory reporting for nsHTMLCSSStyleSheet's nsDataHashtable's buffer and the buffers of its nsString keys. r=dbaron 2014-06-22 23:02:05 +01:00
nsHTMLCSSStyleSheet.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsHTMLStyleSheet.cpp Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
nsHTMLStyleSheet.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsICSSDeclaration.h Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07:00
nsICSSLoaderObserver.h Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
nsICSSPseudoComparator.h
nsICSSStyleRuleDOMWrapper.h
nsIMediaList.h Bug 1032118 - Remove the nsresult return value from nsMediaList::SetStyleSheet; r=dbaron 2014-07-02 12:53:41 +02:00
nsIStyleRule.h
nsIStyleRuleProcessor.h Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug 2014-04-03 13:18:36 +09:00
nsIStyleSheet.h Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
nsLayoutStylesheetCache.cpp Bug 1029869, part 3 - Convert nsLayoutStylesheetCache::gStyleCache to a StaticRefPtr. r=bz 2014-06-26 09:29:05 -07:00
nsLayoutStylesheetCache.h Bug 1029869, part 3 - Convert nsLayoutStylesheetCache::gStyleCache to a StaticRefPtr. r=bz 2014-06-26 09:29:05 -07:00
nsMediaFeatures.cpp Bug 1021309 - Add "mac-yosemite-theme" CSS system metric. r=mstange 2014-06-05 18:02:46 -04:00
nsMediaFeatures.h Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07:00
nsNthIndexCache.cpp Bug 737976: Remove nsINodeInfo. r=smaug 2014-06-19 19:01:40 -07:00
nsNthIndexCache.h
nsROCSSPrimitiveValue.cpp Bug 1029140 - Make the destructor of nsROCSSPrimitiveValue private. r=bz 2014-06-26 09:29:05 -07:00
nsROCSSPrimitiveValue.h Bug 1029140 - Make the destructor of nsROCSSPrimitiveValue private. r=bz 2014-06-26 09:29:05 -07:00
nsRuleData.cpp
nsRuleData.h Bug 773296 - Part 5: Map variables on a Declaration to nsRuleData. r=dbaron 2013-12-12 13:09:41 +11:00
nsRuleNode.cpp Bug 984711 part 4: Add back handling for nsStylePosition::mMinHeight having "eStyleUnit_Auto" in style system & general layout code. (no review; just an unbitrotted backout) 2014-07-22 08:24:35 -07:00
nsRuleNode.h Bug 1041060: Use AllocateByObjectID/FreeByObjectID for nsInheritedStyleData and nsResetStyleData. r=heycam 2014-07-18 21:22:20 -07:00
nsRuleProcessorData.h Bug 1025308 - Rename the variables associated with skipping style fixups for children element's based on parent display value. r=mats 2014-06-16 09:55:00 -04:00
nsRuleWalker.h
nsStyleConsts.h Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
nsStyleContext.cpp Bug 1010067 part 2 - Rename nsStyleAnimation.{h,cpp} to StyleAnimationValue.{h,cpp}; r=dbaron 2014-06-24 15:29:54 +09:00
nsStyleContext.h Bug 1029180: Give nsStyleContext a private destructor & MOZ_FINAL, to make it less likely to be freed by anything other than refcounting. r=heycam 2014-06-24 11:00:57 -07:00
nsStyleCoord.cpp Bug 1026344 - Part 4: Make nsStyleCoord::Calc refcounted and introduce a non-refcounted nsStyleCoord::CalcValue. r=dbaron 2014-06-19 13:18:03 +10:00
nsStyleCoord.h Bug 1026344 - Part 4: Make nsStyleCoord::Calc refcounted and introduce a non-refcounted nsStyleCoord::CalcValue. r=dbaron 2014-06-19 13:18:03 +10:00
nsStyleSet.cpp Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
nsStyleSet.h Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
nsStyleStruct.cpp Bug 984711 part 4: Add back handling for nsStylePosition::mMinHeight having "eStyleUnit_Auto" in style system & general layout code. (no review; just an unbitrotted backout) 2014-07-22 08:24:35 -07:00
nsStyleStruct.h Bug 984711 part 4: Add back handling for nsStylePosition::mMinHeight having "eStyleUnit_Auto" in style system & general layout code. (no review; just an unbitrotted backout) 2014-07-22 08:24:35 -07:00
nsStyleStructFwd.h Bug 773296 - Part 3: Allow more than 27 style structs. r=dbaron 2013-12-12 13:09:40 +11:00
nsStyleStructInlines.h Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07:00
nsStyleTransformMatrix.cpp Bug 1010067 part 2 - Rename nsStyleAnimation.{h,cpp} to StyleAnimationValue.{h,cpp}; r=dbaron 2014-06-24 15:29:54 +09:00
nsStyleTransformMatrix.h Bug 1010067 part 1 - Rename nsStyleAnimation::Value to mozilla::StyleAnimationValue; r=dbaron 2014-06-24 15:29:54 +09:00
nsStyleUtil.cpp Bug 1031153 - Move unicode-range descriptor serialization to nsStyleUtil. r=dbaron 2014-07-04 11:19:33 +10:00
nsStyleUtil.h Bug 1031153 - Move unicode-range descriptor serialization to nsStyleUtil. r=dbaron 2014-07-04 11:19:33 +10:00
nsTransitionManager.cpp Bug 1036287 part 6 - Add a GetComputedTiming shortcut that uses the current animation timeline time; r=dholbert 2014-07-16 09:02:33 +09:00
nsTransitionManager.h Bug 1036287 part 4 - Make GetLocalTime(At) get the current time automatically from the timeline; r=dholbert 2014-07-16 09:02:32 +09:00
number-control.css Bug 971955 - Make overflow-clip-box:content-box the default for all <input> @type values except type=file/button/reset/submit. r=roc 2014-03-06 10:03:38 +00:00
plaintext.css Bug 947588. Part 4: Set -moz-text-discard:none in devtools, XUL, text inputs, plaintext documents, view-source documents. r=heycam 2014-02-05 23:23:08 +13:00
quirk.css Bug 977248: Remove quirk.css rule that selects on an attribute that was only set by the old HTML parser. r=mrbkap 2014-02-26 23:00:13 -08:00
Rule.h Bug 591303 - Part 3: Set line and column number for all rules in nsCSSParser. r=bz 2014-07-14 15:57:54 -07:00
StyleAnimationValue.cpp Bug 591303 - Part 3: Set line and column number for all rules in nsCSSParser. r=bz 2014-07-14 15:57:54 -07:00
StyleAnimationValue.h Bug 1010067 part 2 - Rename nsStyleAnimation.{h,cpp} to StyleAnimationValue.{h,cpp}; r=dbaron 2014-06-24 15:29:54 +09:00
StyleRule.cpp Bug 1037519 - Allow matching pseudo-elements in inIDOMUtils.selectorMatchesElement. r=bz 2014-07-18 14:30:00 -04:00
StyleRule.h Bug 1037519 - Allow matching pseudo-elements in inIDOMUtils.selectorMatchesElement. r=bz 2014-07-18 14:30:00 -04:00
TopLevelImageDocument.css
TopLevelVideoDocument.css
ua.css Bug 1021527 - Fix blurry carets by using svg image. r=roc 2014-07-14 23:08:00 +02:00
viewsource.css Bug 947588. Part 4: Set -moz-text-discard:none in devtools, XUL, text inputs, plaintext documents, view-source documents. r=heycam 2014-02-05 23:23:08 +13:00