gecko/layout/style
Brian Birtles a3321a71fe Bug 1004377 - Dispatch events for CSS Animations with empty keyframes rules; r=dholbert
This patch removes the check that skipped queueing events for animations
without keyframes since the spec indicates such animations should dispatch
events.

There is a further correctness fix here for the case where a keyframes rule
is modified using the CSSOM so that it becomes empty. Previously when we
came to create the new animation rules we would end up setting
ElementAnimations::mNeedRefreshes to false since we check if the keyframes
rule is empty and if it is we would skip all further processing (including
setting mNeedsRefreshes).

That means that:
(a) We may end up unregistering from the refresh observer so we would never
    dispatch the end event for such an animation.
(b) If the animation was running on the compositor we may never remove it from
    the compositor or may not do it in a timely fashion.

To fix both these problems, this patch removes the check for an empty keyframes
rule so that mNeedsRefreshes is set in this case.
2014-06-12 13:18:14 +09:00
..
crashtests Bug 1017798 - Part 3: Crashtest. r=bzbarsky 2014-06-06 17:51:25 +10:00
test Bug 1004377 - Dispatch events for CSS Animations with empty keyframes rules; r=dholbert 2014-06-12 13:18:14 +09:00
xbl-marquee Bug 1005552 - Stop binding marquee event handlers. r=bz 2014-05-16 10:56:41 -07:00
AnimationCommon.cpp Bug 1004365 part 3b.2 - Make ElementAnimation::GetComputedTimingAt handle zero-duration animations; r=dholbert 2014-06-11 14:19:08 +09:00
AnimationCommon.h Bug 1004365 part 1 - Make active duration calculation handle zero-duration animations; r=dholbert 2014-06-11 14:19:07 +09:00
arrow.gif
arrowd.gif
contenteditable.css
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 995901 - Rename nsICSSRuleList to mozilla::dom::CSSRuleList. r=bz 2014-06-09 22:11:00 -04: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
CSSVariableDeclarations.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
CSSVariableResolver.cpp
CSSVariableResolver.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
CSSVariableValues.cpp
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 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03: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 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
ErrorReporter.h
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
GroupRule.h
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 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07:00
ImportRule.h Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07:00
jar.mn Bug 974430 - Put the |input[type=number]| rule in forms.css into a separate sheet so we can make it respect the dom.forms.number pref. r=dbaron 2014-02-26 12:26:14 +00:00
Loader.cpp Bug 992521 - Part 2: Make styles work when not in document, but contained by a ShadowRoot with a host in document. r=smaug 2014-06-07 01:42:54 -07:00
Loader.h Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07: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 995901 - Rename nsICSSRuleList to mozilla::dom::CSSRuleList. r=bz 2014-06-09 22:11:00 -04:00
NameSpaceRule.h Bug 514280 Consistently declare and define IID accessors r=bsmedberg 2014-03-28 08:45:02 +00:00
nsAnimationManager.cpp Bug 1004377 - Dispatch events for CSS Animations with empty keyframes rules; r=dholbert 2014-06-12 13:18:14 +09:00
nsAnimationManager.h Bug 1004871 part 9 - Move ElementAnimations::GetPositionInIteration to ElementAnimation::GetComputedTimingAt; r=dholbert 2014-05-28 16:51:50 +09:00
nsComputedDOMStyle.cpp Bug 280443 p3 - use fontlist struct in gfx. r=roc,fredw 2014-06-06 15:09:23 +09:00
nsComputedDOMStyle.h Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07:00
nsComputedDOMStylePropertyList.h Bug 1005567 - Remove the obsolete 'grid-auto-position' property. r=simon.sapin 2014-05-06 09:45:13 +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
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
nsCSSFontDescList.h
nsCSSKeywordList.h Bug 280443 p2 - parse font family lists into fontlist structs. r=heycam 2014-06-06 15:09:23 +09:00
nsCSSKeywords.cpp
nsCSSKeywords.h
nsCSSParser.cpp Bug 280443 p2 - parse font family lists into fontlist structs. r=heycam 2014-06-06 15:09:23 +09:00
nsCSSParser.h Bug 280443 p2 - parse font family lists into fontlist structs. r=heycam 2014-06-06 15:09:23 +09: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 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
nsCSSPropertySet.h
nsCSSPropList.h Bug 1005567 - Remove the obsolete 'grid-auto-position' property. r=simon.sapin 2014-05-06 09:45:13 +00:00
nsCSSProps.cpp Bug 1019555 - Treat newlines and tabs as space characters in SVG xml:space="preserve" text. r=roc 2014-06-05 13:25:15 +10:00
nsCSSProps.h Bug 613659 - Remove remaining vestiges of -moz-background-inline-policy. r=cam 2014-05-05 17:55:54 +00: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 1016680, part 1 - Report the memory used by RuleCascadeData::mKeyframesRuleTable. r=dholbert 2014-06-11 11:20:50 +01:00
nsCSSRuleProcessor.h Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07:00
nsCSSRules.cpp Bug 995901 - Rename nsICSSRuleList to mozilla::dom::CSSRuleList. r=bz 2014-06-09 22:11:00 -04:00
nsCSSRules.h Bug 280443 p2 - parse font family lists into fontlist structs. r=heycam 2014-06-06 15:09:23 +09: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
nsCSSStyleSheet.cpp Bug 995901 - Rename nsICSSRuleList to mozilla::dom::CSSRuleList. r=bz 2014-06-09 22:11:00 -04:00
nsCSSStyleSheet.h Bug 995901 - Rename nsICSSRuleList to mozilla::dom::CSSRuleList. r=bz 2014-06-09 22:11:00 -04:00
nsCSSValue.cpp Bug 280443 p2 - parse font family lists into fontlist structs. r=heycam 2014-06-06 15:09:23 +09:00
nsCSSValue.h Bug 280443 p3 - use fontlist struct in gfx. r=roc,fredw 2014-06-06 15:09:23 +09:00
nsDOMCSSAttrDeclaration.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
nsDOMCSSAttrDeclaration.h Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert 2014-02-24 09:41:56 -05:00
nsDOMCSSDeclaration.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
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 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -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 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -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 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
nsFontFaceLoader.cpp Bug 1016622: Renaming mozilla::network::Seer to mozilla::network Predictor. r=hurley 2014-06-03 13:37:46 -07:00
nsFontFaceLoader.h Bug 964613 - check userfont sets for enabled/disabled local fonts when platform fontlist changes occur. r=jfkthame 2014-04-17 23:17:22 +09:00
nsHTMLCSSStyleSheet.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
nsHTMLCSSStyleSheet.h
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
nsICSSDeclaration.h Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07:00
nsICSSLoaderObserver.h
nsICSSPseudoComparator.h
nsICSSStyleRuleDOMWrapper.h
nsIMediaList.h Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
nsIStyleRule.h
nsIStyleRuleProcessor.h Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug 2014-04-03 13:18:36 +09:00
nsIStyleSheet.h
nsLayoutStylesheetCache.cpp Bug 1013936, part 2 - Only load the html.css UA style sheet on-demand for SVG documents. r=bz CLOSED TREE 2014-05-24 20:29:11 +01:00
nsLayoutStylesheetCache.h Bug 1013936, part 2 - Only load the html.css UA style sheet on-demand for SVG documents. r=bz CLOSED TREE 2014-05-24 20:29:11 +01:00
nsMediaFeatures.cpp Bug 968118. Make nsCSSProps keyword tables be int16_t instead of int32_t for a small space win. r=heycam 2014-02-06 00:10:44 +13: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
nsNthIndexCache.h
nsROCSSPrimitiveValue.cpp Backout 8b8bbe7aa1cc due to wrong bug number 2014-05-27 14:42:13 +03:00
nsROCSSPrimitiveValue.h Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
nsRuleData.cpp
nsRuleData.h
nsRuleNode.cpp Bug 280443 p3 - use fontlist struct in gfx. r=roc,fredw 2014-06-06 15:09:23 +09:00
nsRuleNode.h Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07:00
nsRuleProcessorData.h Bug 1017798 - Part 1: Make AncestorFilter and the TreeMatchContext style scope list include ancestors from following ShadowRoots up to the light tree. r=bzbarsky 2014-06-06 15:22:55 +10:00
nsRuleWalker.h
nsStyleAnimation.cpp Bug 996945: Remove prohibition on flex-grow & flex-shrink properties transitioning between 0 and other values. r=mats 2014-05-04 09:12:32 -07:00
nsStyleAnimation.h Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07:00
nsStyleConsts.h Bug 1019555 - Treat newlines and tabs as space characters in SVG xml:space="preserve" text. r=roc 2014-06-05 13:25:15 +10:00
nsStyleContext.cpp Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
nsStyleContext.h Bug 1000376 - part 3, s/FlexItemStyleFixup/FlexOrGridItemStyleFixup/ and corresponding comment changes. r=dholbert 2014-05-03 13:42:33 +00:00
nsStyleCoord.cpp Bug 976787 part 1: Add the grid-template-{columns,rows} properties to the style system. r=dholbert 2014-03-10 15:54:13 -07:00
nsStyleCoord.h Bug 976787 part 1: Add the grid-template-{columns,rows} properties to the style system. r=dholbert 2014-03-10 15:54:13 -07:00
nsStyleSet.cpp Bug 280443 p2 - parse font family lists into fontlist structs. r=heycam 2014-06-06 15:09:23 +09:00
nsStyleSet.h Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron 2014-05-09 08:23:14 -07:00
nsStyleStruct.cpp Bug 280443 p3 - use fontlist struct in gfx. r=roc,fredw 2014-06-06 15:09:23 +09:00
nsStyleStruct.h Bug 1004365 part 1 - Make active duration calculation handle zero-duration animations; r=dholbert 2014-06-11 14:19:07 +09:00
nsStyleStructFwd.h
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 995871 - Apply CSS transforms in CSS pixel space instead of device pixel space. r=dbaron 2014-05-08 17:35:00 +12:00
nsStyleTransformMatrix.h Bug 995871 - Apply CSS transforms in CSS pixel space instead of device pixel space. r=dbaron 2014-05-08 17:35:00 +12:00
nsStyleUtil.cpp Bug 280443 p4 - properly escape unquoted font family names. r=heycam 2014-06-06 15:09:24 +09:00
nsStyleUtil.h Bug 280443 p2 - parse font family lists into fontlist structs. r=heycam 2014-06-06 15:09:23 +09:00
nsTransitionManager.cpp Bug 1022741 - Use CrossShadowCurrentDoc() in Element::UpdateState. r=smaug 2014-06-10 14:41:31 -07:00
nsTransitionManager.h Bug 1004383 part 4 - Move mAnimations to CommonElementAnimationData; r=dbaron 2014-05-15 08:38:37 +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
StyleRule.cpp Bug 1016063. Don't include the fake classnames XUL tree pseudo-elements have when calculating style rule specificity. r=heycam 2014-06-03 11:38:38 -04:00
StyleRule.h Bug 514280 Consistently declare and define IID accessors r=bsmedberg 2014-03-28 08:45:02 +00:00
TopLevelImageDocument.css
TopLevelVideoDocument.css
ua.css bug 1020143 - prefer tabular numerals for list numbering. r=jdaggett 2014-06-05 11:15:26 +01: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