gecko-dev/dom/animation
Hiroyuki Ikezoe ff84f76fce Bug 1278136 - Part 5: Create a stacking context for opacity/transform animations even if it's in delay phase and even if the property is overridden by !important rules. r=birtles
This patch introduces a new functions named HasEffectiveAnimationOfProperty.
This function checks that a given CSS property is overridden by !important
rules.
On the other hand, now KeyframeEffetReadOnly::HasAnimationOfProperty() does
just check that the effect has a given CSS property.  This is used to create
a stacking context because we should create a stacking context for opacity or
transform animations even if the property is overridden by !important rules.

Note about no-stacking-context-(opacity|transform)-removing-animation-in-delay.html
Before this patch we don't create any stacking context for animations overridden
by !important rules, but after this patch we do create a stacking context for
such animations.  As a result, in the test case we did paint a stacking context
in the first rAF callback and then in the second rAF callback we did clear the
painted stacking context. Unfortunately sometimes the second rAF callback was
called prior to clear the stacking context on the compositor because of
compositor delay. To avoid this situation, we have to wait for MozAfterPaint
instead of rAF callback.

MozReview-Commit-ID: AG1Y0IgoB3U
2016-10-13 16:54:25 +09:00
..
test Bug 1307295 - Do not request restyle for animations on orphaned element. r=birtles 2016-10-12 15:58:53 +09:00
Animation.cpp Bug 1304922 - Part 6: Introduce mPropertiesWithImportantRules and mPropertiesForAnimationsLevel and use it to detect conditions that we need to update layers. r=birtles 2016-10-05 14:42:56 +09:00
Animation.h Bug 1304922 - Part 6: Introduce mPropertiesWithImportantRules and mPropertiesForAnimationsLevel and use it to detect conditions that we need to update layers. r=birtles 2016-10-05 14:42:56 +09:00
AnimationComparator.h
AnimationEffectReadOnly.cpp Bug 1299695 - Rework animation phase and fill mode handling r=hiro 2016-09-01 10:57:55 +09:00
AnimationEffectReadOnly.h Bug 1049975 - Part 5: Move timing related code into AnimationEffectReadOnly. r=birtles 2016-07-25 18:27:33 +08:00
AnimationEffectTiming.cpp Bug 1300045 part 2 - Split KeyframeEffect.cpp into KeyframeEffect{ReadOnly}.cpp r=hiro,smaug 2016-09-04 16:34:21 +09:00
AnimationEffectTiming.h Bug 1300045 part 2 - Split KeyframeEffect.cpp into KeyframeEffect{ReadOnly}.cpp r=hiro,smaug 2016-09-04 16:34:21 +09:00
AnimationEffectTimingReadOnly.cpp Bug 1277456 part 2 - Store the parent document object of AnimationEffectTiming(ReadOnly) as nsIDocument instead of nsISupports; r=hiro 2016-07-13 11:32:05 +09:00
AnimationEffectTimingReadOnly.h Bug 1277456 part 2 - Store the parent document object of AnimationEffectTiming(ReadOnly) as nsIDocument instead of nsISupports; r=hiro 2016-07-13 11:32:05 +09:00
AnimationPerformanceWarning.cpp Bug 1282312 - Part 2: Disable async animations when we have rendering observers. r=bbirtles 2016-07-29 17:58:32 +12:00
AnimationPerformanceWarning.h Bug 1282312 - Part 2: Disable async animations when we have rendering observers. r=bbirtles 2016-07-29 17:58:32 +12:00
AnimationTarget.h Bug 1067769 - Part 10: Implement SetTarget(). r=birtles 2016-04-28 23:22:43 +08:00
AnimationTimeline.cpp
AnimationTimeline.h Bug 1277272 - Remove RefreshObserver when removing animation from timeline. r=birtles 2016-06-23 13:09:03 +09:00
AnimationUtils.cpp Bug 1304805 - Make spacing, iteration composite and effect composite work if the caller is chrome. r=hiro 2016-09-23 14:31:34 +08:00
AnimationUtils.h Bug 1304805 - Make spacing, iteration composite and effect composite work if the caller is chrome. r=hiro 2016-09-23 14:31:34 +08:00
AnimValuesStyleRule.cpp Bug 1304922 - Part 5: AnimValuesStyleRule::AddValue replaces the existence entry's mValue. r=birtles 2016-10-05 14:26:44 +09:00
AnimValuesStyleRule.h Bug 1304922 - Part 5: AnimValuesStyleRule::AddValue replaces the existence entry's mValue. r=birtles 2016-10-05 14:26:44 +09:00
ComputedTiming.h Bug 1248532 - Part 1: steps-start does not produce correct value at the beginning of the interval. r=birtles 2016-04-01 14:00:57 +09:00
ComputedTimingFunction.cpp Bug 1264865 - Part 3: Remove codes that are no longer in use. r=birtles 2016-07-27 10:13:17 +09:00
ComputedTimingFunction.h Bug 1264865 - Part 3: Remove codes that are no longer in use. r=birtles 2016-07-27 10:13:17 +09:00
CSSPseudoElement.cpp Bug 1271904 - Rename KeyframeEffectReadOnly.getFrames() and KeyframeEffect.setFrames() to getKeyframes()/setKeyframes(); r=hiro, r=smaug 2016-05-13 09:40:52 +09:00
CSSPseudoElement.h Bug 1271904 - Rename KeyframeEffectReadOnly.getFrames() and KeyframeEffect.setFrames() to getKeyframes()/setKeyframes(); r=hiro, r=smaug 2016-05-13 09:40:52 +09:00
DocumentTimeline.cpp Bug 1302973 - Store timelines on document; r=smaug 2016-10-09 22:36:56 +09:00
DocumentTimeline.h Bug 1302973 - Store timelines on document; r=smaug 2016-10-09 22:36:56 +09:00
EffectCompositor.cpp Bug 1278136 - Part 5: Create a stacking context for opacity/transform animations even if it's in delay phase and even if the property is overridden by !important rules. r=birtles 2016-10-13 16:54:25 +09:00
EffectCompositor.h Bug 1304922 - Part 7: Drop mWinsInCascade. r=birtles 2016-10-05 14:48:05 +09:00
EffectSet.cpp Bug 1273042 - Part 1: Use StyleContext()->GetPseudoType() to obtain CSSPseudoElementType for the nsIFrame. r=birtles 2016-06-01 16:24:34 +09:00
EffectSet.h Bug 1304922 - Part 7: Drop mWinsInCascade. r=birtles 2016-10-05 14:48:05 +09:00
KeyframeEffect.cpp Bug 1304922 - Part 7: Drop mWinsInCascade. r=birtles 2016-10-05 14:48:05 +09:00
KeyframeEffect.h Bug 1216843 - Part 2: Implement effect iteration composition. r=birtles, r=smaug 2016-09-13 11:48:44 +09:00
KeyframeEffectParams.cpp Bug 1304805 - Make spacing, iteration composite and effect composite work if the caller is chrome. r=hiro 2016-09-23 14:31:34 +08:00
KeyframeEffectParams.h Bug 1216843 - Part 2: Implement effect iteration composition. r=birtles, r=smaug 2016-09-13 11:48:44 +09:00
KeyframeEffectReadOnly.cpp Bug 1278136 - Part 5: Create a stacking context for opacity/transform animations even if it's in delay phase and even if the property is overridden by !important rules. r=birtles 2016-10-13 16:54:25 +09:00
KeyframeEffectReadOnly.h Bug 1278136 - Part 5: Create a stacking context for opacity/transform animations even if it's in delay phase and even if the property is overridden by !important rules. r=birtles 2016-10-13 16:54:25 +09:00
KeyframeUtils.cpp Bug 1302949 - Compute StyleAnimationValue objects from servo declaration blocks; r=heycam 2016-09-16 11:08:44 +09:00
KeyframeUtils.h Bug 1300045 part 1 - Tidy up some missing includes r=hiro 2016-09-04 16:33:38 +09:00
moz.build Bug 1300045 part 2 - Split KeyframeEffect.cpp into KeyframeEffect{ReadOnly}.cpp r=hiro,smaug 2016-09-04 16:34:21 +09:00
PendingAnimationTracker.cpp Bug 1096774 - Part 2: Fix crash if animation has no timeline. r=birtles 2016-01-14 19:27:00 -05:00
PendingAnimationTracker.h
PseudoElementHashEntry.h Bug 1067769 - Part 6: Rename NonOwningAnimationTarget.h to AnimationTarget.h. r=birtles 2016-04-28 23:22:43 +08:00
TimingParams.cpp Bug 1290914 - support Element.animate() on AnonymousContent nodes through the AnonymousContent.setAnimationForElement() method. r=bz 2016-09-08 22:38:53 +02:00
TimingParams.h Bug 1299695 - Rework animation phase and fill mode handling r=hiro 2016-09-01 10:57:55 +09:00