gecko-dev/dom/animation
Emilio Cobos Álvarez dc33155ad6 Bug 1379505: Allow calling GetBaseComputedStylesForElement for an unstyled element. r=boris
Before this refactoring, getComputedStyle could have side effects, and left the
style data in the element, so we could never arrive there without data.

There are a few crashtests that caught this, but this was already broken if you
called animate() on an element deep in a display: none subtree.

MozReview-Commit-ID: 1AvOvhAyOP3

--HG--
extra : rebase_source : 0a920df8809961f784026a14a624d8eafb4cc79f
2017-07-10 13:33:21 +02:00
..
test Bug 1379505: Allow calling GetBaseComputedStylesForElement for an unstyled element. r=boris 2017-07-10 13:33:21 +02:00
AnimValuesStyleRule.cpp Bug 1373018 - Part 8: stylo: Move nsStyleContext::SetStyle to GeckoStyleContext; r=bholley 2017-06-10 22:27:45 -07:00
AnimValuesStyleRule.h Bug 1305325 - Part 2: Add AnimValuesStyleRule::GetValue and HasValue to get the last composed style. r=birtles 2016-12-04 08:07:39 +09:00
Animation.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
Animation.h Bug 1340958 - Templatize ComposeStyle. r=birtles 2017-03-17 13:22:13 +09:00
AnimationComparator.h
AnimationEffectReadOnly.cpp Bug 1374882 - Insert 'Timing' word into the names for setter/getter for timing function. r=birtles 2017-06-22 12:12:43 +09:00
AnimationEffectReadOnly.h Bug 1301305 - Add AnimationEffectReadOnly::AffectsGeometry() helper to identify effects that animate geometric properties; r=hiro 2016-12-02 10:04:08 +09:00
AnimationEffectTiming.cpp Bug 1374882 - Insert 'Timing' word into the names for setter/getter for timing function. r=birtles 2017-06-22 12:12:43 +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 1374882 - Insert 'Timing' word into the names for setter/getter for timing function. r=birtles 2017-06-22 12:12:43 +09:00
AnimationEffectTimingReadOnly.h Bug 1374882 - Encapsulate TimingParams's member variables. r=birtles 2017-06-22 12:12:43 +09:00
AnimationPerformanceWarning.cpp Bug 1364221 - Allow frames to be prerendered as long as the area of the frame is less than the area of the relative limit and the dimensions are less than the absolute limit. r=mattwoodrow,mstange 2017-06-05 17:01:19 -04:00
AnimationPerformanceWarning.h Bug 1364221 - Allow frames to be prerendered as long as the area of the frame is less than the area of the relative limit and the dimensions are less than the absolute limit. r=mattwoodrow,mstange 2017-06-05 17:01:19 -04:00
AnimationPropertySegment.h Bug 1311257 - Move AnimationPropertySegment in a separate header and expose it in FFI. r=heycam 2017-04-06 10:34:50 +09:00
AnimationTarget.h Bug 1318223 - Use NonOwningAnimationTarget in OwningElementRef. r=boris, r=birtles 2017-03-26 16:46:00 -04:00
AnimationTimeline.cpp Bug 1374125 - Use EnsureInserted instead of Contains+PutEntry to avoid unnecessary hashtable lookups. r=froydnj 2017-06-19 18:19:14 +02:00
AnimationTimeline.h
AnimationUtils.cpp Bug 1333846 - Part 1: Move ContainsAnimatedScale() codes into dom/animation/. r=birtles a=abillings 2017-02-09 11:28:47 +09:00
AnimationUtils.h Bug 1333846 - Part 1: Move ContainsAnimatedScale() codes into dom/animation/. r=birtles a=abillings 2017-02-09 11:28:47 +09:00
CSSPseudoElement.cpp Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky 2017-01-05 15:31:56 +08:00
CSSPseudoElement.h
ComputedTiming.h Bug 1264125 part 10 - Remove unnecessary whitespace and align the colum of variable definition on ComputedTiming.h. r=whitespace-only DONTBUILD 2017-04-27 09:10:44 +09:00
ComputedTimingFunction.cpp Bug 1248340 - Part 2: Implement Frames in ComputedTimingFunction. r=birtles 2017-02-24 16:59:02 +08:00
ComputedTimingFunction.h Bug 1354947 - Add equal operators for comparing ComputedTimingFunction with nsTimingFunction. r=birtles 2017-05-13 16:34:38 +09:00
DocumentTimeline.cpp Bug 1317209 - Part 4: Don't ref-count nsDOMNavigationTiming in DocumentTimeline. r=heycam 2017-01-13 17:34:38 +08:00
DocumentTimeline.h Bug 1302973 - Store timelines on document; r=smaug 2016-10-09 22:36:56 +09:00
EffectCompositor.cpp Bug 1370123 - Skip restyling elements in documents without a pres shell; r=heycam 2017-06-21 14:45:24 +09:00
EffectCompositor.h Bug 1368889 - Post animation restyle hint againt pseudo element instead of its parent. r=birtles 2017-06-08 10:22:25 +09:00
EffectSet.cpp Bug 1361183 - Check Element::MayHaveAnimations() in EffectSet::GetEffectSet(). r=birtles 2017-05-02 07:25:50 +09:00
EffectSet.h Bug 1205475 - (followup) Declare mMayHaveOpacityAnim and mMayHaveTransformAnim as bool. r=me 2017-05-23 21:47:46 +08:00
Keyframe.h Bug 1339690 - Part 7: Stop storing invalid property value. r=birtles 2017-06-14 11:43:47 +08:00
KeyframeEffect.cpp Bug 1339690 - Part 3: Drop spacing mode. r=birtles,smaug 2017-06-13 15:09:19 +08:00
KeyframeEffect.h Bug 1339690 - Part 3: Drop spacing mode. r=birtles,smaug 2017-06-13 15:09:19 +08:00
KeyframeEffectParams.h Bug 1339690 - Part 3: Drop spacing mode. r=birtles,smaug 2017-06-13 15:09:19 +08:00
KeyframeEffectReadOnly.cpp Bug 1379505: Allow calling GetBaseComputedStylesForElement for an unstyled element. r=boris 2017-07-10 13:33:21 +02:00
KeyframeEffectReadOnly.h Bug 1379505: Allow calling GetBaseComputedStylesForElement for an unstyled element. r=boris 2017-07-10 13:33:21 +02:00
KeyframeUtils.cpp Bug 1352669 - Hook up Stylo CSS parser to Gecko error reporter. r=emilio 2017-07-10 17:52:00 -04:00
KeyframeUtils.h Bug 1339690 - Part 6: Move GetComputedKeyframeValues into local static. r=birtles 2017-06-14 12:51:27 +08:00
PendingAnimationTracker.cpp Bug 1301305 - Extend PendingAnimationTracker to mark play-pending animations if there are geometric animations starting at the same time; r=hiro 2016-12-02 10:10:44 +09:00
PendingAnimationTracker.h Bug 1301305 - Extend PendingAnimationTracker to mark play-pending animations if there are geometric animations starting at the same time; r=hiro 2016-12-02 10:10:44 +09:00
PseudoElementHashEntry.h
TimingParams.cpp Bug 1374882 - Precompute active duration and end time. r=birtles 2017-06-22 12:12:43 +09:00
TimingParams.h Bug 1374882 - Insert 'Timing' word into the names for setter/getter for timing function. r=birtles 2017-06-22 12:12:43 +09:00
moz.build Bug 1339690 - Part 3: Drop spacing mode. r=birtles,smaug 2017-06-13 15:09:19 +08:00