gecko-dev/dom/animation
Brian Birtles b3d639f650 Bug 1277456 part 6 - Use the composed document of the target effect (if any) when computing keyframe values; r=hiro
Previously, when fetching an nsPresShell, we would look up the current realm
document and get the pres shell for it. This patch makes us call GetPresShell()
which uses GetRenderedDocument() which corresponds to the composed document of
the target effect which seems more consistent since it is the target effect we
will use as context for computing CSS values (as required by [1]).

[1] https://w3c.github.io/web-animations/#calculating-computed-keyframes

MozReview-Commit-ID: 9S55041rfTp

--HG--
extra : rebase_source : c52d4c366d0a2891958c8f7378614a8feb5e7c70
2016-07-13 13:22:25 +09:00
..
test Bug 1277456 part 4 - Use the document associated with an AnimationEffectTiming object as the context for parsing easing rather than the current realm document; r=bz 2016-07-13 13:22:13 +09:00
AnimValuesStyleRule.cpp Bug 1263488 - Make AnimValuesStyleRule re-use PropertyStyleAnimationValuePair; r=hiro 2016-05-11 16:43:32 +09:00
AnimValuesStyleRule.h Bug 1263488 - Make AnimValuesStyleRule re-use PropertyStyleAnimationValuePair; r=hiro 2016-05-11 16:43:32 +09:00
Animation.cpp Bug 1283616 - part 2 - micro-optimize inserting microtask runnables into the queue; r=khuey 2016-07-05 18:49:06 -04:00
Animation.h Bug 1284396 - Change GetParentObject return value. r=birtles 2016-07-06 09:20:29 +09:00
AnimationComparator.h Bug 1171817 part 14 - Add AnimationPtrComparator class; r=dbaron 2015-06-09 11:13:54 +09:00
AnimationEffectReadOnly.cpp Bug 1277456 part 1 - Store the parent document object of AnimationEffectReadOnly as an nsIDocument rather than nsISupports; r=hiro 2016-07-13 11:32:01 +09:00
AnimationEffectReadOnly.h Bug 1277456 part 1 - Store the parent document object of AnimationEffectReadOnly as an nsIDocument rather than nsISupports; r=hiro 2016-07-13 11:32:01 +09:00
AnimationEffectTiming.cpp Bug 1277456 part 4 - Use the document associated with an AnimationEffectTiming object as the context for parsing easing rather than the current realm document; r=bz 2016-07-13 13:22:13 +09:00
AnimationEffectTiming.h Bug 1277456 part 4 - Use the document associated with an AnimationEffectTiming object as the context for parsing easing rather than the current realm document; r=bz 2016-07-13 13:22:13 +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 1267251 - Change message IDs for animation warnings. r=birtles,pbro 2016-05-19 13:06:27 +09:00
AnimationPerformanceWarning.h Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
AnimationTarget.h Bug 1067769 - Part 10: Implement SetTarget(). r=birtles 2016-04-28 23:22:43 +08:00
AnimationTimeline.cpp Bug 1212720 - Part 3: Remove AnimationTimeline.getAnimations. r=heycam, r=smaug 2015-12-21 20:39:00 -05:00
AnimationTimeline.h Bug 1277272 - Remove RefreshObserver when removing animation from timeline. r=birtles 2016-06-23 13:09:03 +09:00
AnimationUtils.cpp Bug 1166500 - Part 11: Add a preference for offscreen throttling. r=dbaron 2016-05-24 12:57:43 +09:00
AnimationUtils.h Bug 1166500 - Part 11: Add a preference for offscreen throttling. r=dbaron 2016-05-24 12:57:43 +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
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 1278485 - Part 2: ComputedTimingFunction::GetValue ensures 0 or 1 on both edges. r=birtles 2016-07-12 16:33:45 +09:00
ComputedTimingFunction.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
DocumentTimeline.cpp Bug 1267510 part 3 - Add DocumentTimeline constructor. r=birtles 2016-06-29 11:13:45 +09:00
DocumentTimeline.h Bug 1267510 part 3 - Add DocumentTimeline constructor. r=birtles 2016-06-29 11:13:45 +09:00
EffectCompositor.cpp Bug 1285407 - Part 4: Drop EffectCompositor::MaybeUpdateCascadeResults(Element*, CSSPseudoElementType) because it's essentially the same as another one. r=birtles 2016-07-11 17:28:19 +09:00
EffectCompositor.h Bug 1285407 - Part 4: Drop EffectCompositor::MaybeUpdateCascadeResults(Element*, CSSPseudoElementType) because it's essentially the same as another one. r=birtles 2016-07-11 17:28:19 +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 1253094, part 1 - Stop using DebugOnly for class/struct members in dom/. r=baku 2016-02-26 15:52:06 +00:00
KeyframeEffect.cpp Bug 1277456 part 6 - Use the composed document of the target effect (if any) when computing keyframe values; r=hiro 2016-07-13 13:22:25 +09:00
KeyframeEffect.h Bug 1277456 part 6 - Use the composed document of the target effect (if any) when computing keyframe values; r=hiro 2016-07-13 13:22:25 +09:00
KeyframeEffectParams.cpp Bug 1244590 - Part 3: Parse spacing. r=birtles 2016-05-13 16:38:25 +08:00
KeyframeEffectParams.h Bug 1244590 - Part 3: Parse spacing. r=birtles 2016-05-13 16:38:25 +08:00
KeyframeUtils.cpp Bug 1277456 part 5 - Pass the document associated with an AnimationEffectTiming/KeyframeEffect object to KeyframeUtils as the context to use when parsing CSS properties; r=hiro 2016-07-13 13:22:25 +09:00
KeyframeUtils.h Bug 1277456 part 5 - Pass the document associated with an AnimationEffectTiming/KeyframeEffect object to KeyframeUtils as the context to use when parsing CSS properties; r=hiro 2016-07-13 13:22:25 +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 Bug 1152551, part 3 - Fix more mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
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 1247004 part 2 - Don't throw if easing is the string "function (a){return a}"; r=heycam 2016-04-15 15:26:27 +09:00
TimingParams.h Bug 1263063 - Part 5: Introduce TimingParams::EndTime(). r=dholbert 2016-04-14 19:39:42 +09:00
moz.build Bug 1244590 - Part 3: Parse spacing. r=birtles 2016-05-13 16:38:25 +08:00