Граф коммитов

384 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 2b7de51623 Bug 1381844: Be more explicit about the kind of style context we handle all the time. r=bholley
MozReview-Commit-ID: E0mdkhU3XBz
2017-07-22 18:02:57 +02:00
Manish Goregaokar 08c6de8178 Bug 1382017 part 4 Gecko piece - Rename ServoComputedValues -> ServoComputedData; r=heycam
ServoComputedValues is confusing because ComputedValues is actually
ServoStyleContext on the C++ side.

MozReview-Commit-ID: IQNVdfREAMt
2017-07-20 21:44:02 -07:00
Manish Goregaokar cdb73416fd Bug 1367904 - Part 14: stylo: Remove FFI calls for fetching style structs from ServoComputedValues; r=bholley
MozReview-Commit-ID: 2HrVZl9HZu1
2017-07-17 21:01:10 -07:00
Manish Goregaokar f33beecc59 Bug 1367904 - Part 10: stylo: Switch Gecko over to ServoStyleContext; r=bholley
MozReview-Commit-ID: EmopKVjEzlz
2017-07-17 21:00:46 -07:00
Hiroyuki Ikezoe 247abcf7b1 Bug 1360398 - Do not fill computed values in missing keyframes for CSS animations during generating Keyframes. r=birtles
MozReview-Commit-ID: C2dYneoB09g

--HG--
extra : rebase_source : 13e31e0eb370086cef45cde79783dfee8192a7f1
2017-07-10 17:19:23 +09:00
Hiroyuki Ikezoe 26a9f87593 Bug 1374882 - Encapsulate TimingParams's member variables. r=birtles
MozReview-Commit-ID: 1KhEdCSwpES

--HG--
extra : rebase_source : 18d1aab946922a10cdd6609f4216e4863fd0ad89
2017-06-22 12:12:43 +09:00
Boris Chiou ccd05b9231 Bug 1339690 - Part 7: Stop storing invalid property value. r=birtles
MozReview-Commit-ID: H3aRcJIk7CV

--HG--
extra : rebase_source : 774c1596364dd8e3eacf8a6bab093e9e1abf6e18
2017-06-14 11:43:47 +08:00
Hiroyuki Ikezoe 14e0273b91 Bug 1367293 - Don't get parent style for GetComputedKeyframeValuesFor. r=birtles
MozReview-Commit-ID: 7WjsO7P2QGz

--HG--
extra : rebase_source : b9d2d672dd670f54174a5811c7d28efe268c0c4d
2017-06-02 09:38:54 +09:00
Hiroyuki Ikezoe b57fed9509 Bug 1354947 - Rename FillKeyframesForName to GetKeyframesForName. r=birtles
MozReview-Commit-ID: AOLygEtuhpO

--HG--
extra : rebase_source : 2db2a183588a44fc33e0e7bff44847813a72cb74
2017-05-13 16:34:38 +09:00
Hiroyuki Ikezoe 377cb840b0 Bug 1354947 - Expose FindMatchingKeyframe and make it reusable for nsTimingFunction. r=birtles
MozReview-Commit-ID: Jjcrk5AhtUH

--HG--
extra : rebase_source : 0b372758d94fe850a2c5136d6b875fa704d5b9b2
2017-05-13 16:34:38 +09:00
Brian Birtles f37fe9b84d Bug 1355348 - Move ServoComputedValuesWithParent to separate file; r=hiro
We will use this type later in this patch series in nsSMILCSSProperty so this
patch moves it to a separate file so it can be re-used.

MozReview-Commit-ID: 4Z7YbsQ9xz4

--HG--
extra : rebase_source : 0f6f7248d1a4dfc77360829f3a0e6ed263f156db
2017-04-26 13:00:11 +09:00
Hiroyuki Ikezoe ee457cf7c3 Bug 1350754 - Convert pseudo nsIAtom to CSSPseudoElementType in Gecko_UpdateAnimations(). r=heycam
MozReview-Commit-ID: 38ZyRyxB73z

--HG--
extra : rebase_source : 01c971c2db8779f92d5845fa09047cb7eae43c7d
2017-03-27 19:43:13 +09:00
Hiroyuki Ikezoe de29155c66 Bug 1350754 - Use ServoComputedValuesWithParent for nsAnimationManager::UpdateAnimations(). r=birtles
MozReview-Commit-ID: GkLoACgqVON

--HG--
extra : rebase_source : 1f47c5d5a73d4b343c677980af299e068ebebd84
2017-03-27 19:43:09 +09:00
Hiroyuki Ikezoe 2eb4e20a24 Bug 1341985 - Call UpdateAnimations even if the element has no computed values. r=birtles,heycam
MozReview-Commit-ID: 2dgAF7WOWxr

--HG--
extra : rebase_source : 8c2378d8d45484f206b4c890e89271fc95691ac3
2017-03-10 11:53:19 +09:00
Daisuke Akatsuka 6428b224c7 Bug 1339332 - Part 2: Remove no longer used method. r=birtles
MozReview-Commit-ID: 6kFBGP4K10Z

--HG--
extra : rebase_source : 8815cc9238ea2e1f247efb9035b811e0c57c13af
2017-03-08 10:07:08 +09:00
Daisuke Akatsuka 6a4003cbb2 Bug 1339332 - Part 1: Introduce neutral value concept for missing keyframe in CSS Animation. r=birtles,hiro
MozReview-Commit-ID: F3qvRY3SRAp

--HG--
extra : rebase_source : fa05c4c47000a348bfa3f01eb2cae9b082b882f5
2017-03-08 10:07:08 +09:00
Hiroyuki Ikezoe d28fbf09bc Bug 1344603 - Make Stop{Animations|Transitions}ForElement as a member function of CommonAnimationManager. r=boris
MozReview-Commit-ID: LSSpWYjoPn9

--HG--
extra : rebase_source : c87ec78281b37f1cb32e38969c22fddc228d28f8
2017-03-06 13:19:09 +09:00
Hiroyuki Ikezoe d64b9d4c0f Bug 1340322 - Part 13: Update CSS Animations with servo's computed values. r=birtles
MozReview-Commit-ID: B7uSH7wrx3b

--HG--
extra : rebase_source : f878bac6a8d37a2c4de110afbeb28a59212e8abe
2017-03-06 10:09:47 +09:00
Hiroyuki Ikezoe b6b41abea1 Bug 1340322 - Part 12: Add another variant of nsAnimationManager::UpdateAnimations for stylo. r=birtles
This function updates CSS Animations with servo's computed values.

In bug 1341985, this function will be called with null servo's computed values
in the case where the target element is in display:none subtree.

MozReview-Commit-ID: GzOYy57hYho

--HG--
extra : rebase_source : 5dd10dc6181222ce2a531fc6e837102d7694bf40
2017-03-06 09:54:06 +09:00
Hiroyuki Ikezoe 5b127d1d61 Bug 1340322 - Part 11: Introduce ServoCSSAnimationBuilder. r=birtles
MozReview-Commit-ID: 6qWPPXexitN

--HG--
extra : rebase_source : 344c64882b118c2e4cdd37d3084493e9e37de93d
2017-03-06 09:52:23 +09:00
Hiroyuki Ikezoe b7d914d103 Bug 1340322 - Part 10: Rename CSSAnimationBuilder to GeckoCSSAnimationBuilder. r=birtles
MozReview-Commit-ID: 9DV9fijsoXF

--HG--
extra : rebase_source : d4caca424121bddeb4e15fa8a33f3e994c1ffa8b
2017-03-06 09:52:20 +09:00
Hiroyuki Ikezoe fccd7b4c32 Bug 1340322 - Part 9: Templatize functions that will be used with servo's computed values. r=birtles
MozReview-Commit-ID: 8d5wHBhF4y9

--HG--
extra : rebase_source : 767bd65e2e57e6e991c0725bb6b86a7cb4f427dc
2017-03-06 09:51:16 +09:00
Hiroyuki Ikezoe d0ed1e91e7 Bug 1340322 - Part 8: Split off some processes that will be used for servo's computed values in UpdateAnimations(). r=birtles
MozReview-Commit-ID: LkWqhGsMCPf

--HG--
extra : rebase_source : 1b492da4269e92bd09fe392b85b5a91758119b0e
2017-03-06 09:50:09 +09:00
Hiroyuki Ikezoe ec26c67559 Bug 1340322 - Part 7: Make BuildAnimation() and BuildAnimations() independent from nsStyleContext. r=birtles
MozReview-Commit-ID: 3R7MyyN17C1

--HG--
extra : rebase_source : ad2b5d15d34db0fa48743cc2885b7b45a70f069e
2017-03-06 09:49:16 +09:00
Hiroyuki Ikezoe b82c2c4b07 Bug 1340322 - Part 6: Add CSSAnimationBuilder::SetKeyframes(). r=birtles
ServoCSSAnimationBuilder will have the same name method too.

MozReview-Commit-ID: ET9GERVtbWP

--HG--
extra : rebase_source : 15f0edde92544a7849e97ad08fb1fce844a05cac
2017-03-06 09:49:07 +09:00
Hiroyuki Ikezoe 4162f7acd3 Bug 1340322 - Part 5: Split off BuildKeyframes() r=birtles
ServoCSSAnimationBuilder will also have the same name method.

MozReview-Commit-ID: CySTBGuTZn7

--HG--
extra : rebase_source : 2a8448c6613d2174e292418f7f9e1b2c3e894b20
2017-03-06 09:48:50 +09:00
Hiroyuki Ikezoe f8810e9a45 Bug 1340322 - Part 4: Make BuildAnimations() independent from nsStyleDisplay r=birtles.
MozReview-Commit-ID: JiV2WxBVH3i

--HG--
extra : rebase_source : 91b316bedb29893e4af80ab634be2ba042befdeb
2017-03-06 09:48:44 +09:00
Hiroyuki Ikezoe 70c0e758be Bug 1340322 - Part 3: Make BuildAnimations static function. r=birtles
This function will be also a template function.

MozReview-Commit-ID: 4SbzEw8YzIZ

--HG--
extra : rebase_source : 24be2923cddf3aff82b84fb7d3c757f83fb42716
2017-03-06 09:48:36 +09:00
Hiroyuki Ikezoe 924ac7a4ab Bug 1340322 - Part 2: Use NonOwningAnimationTarget instead of Element and aStyleContext()->GetPseudoType(). r=birtles
MozReview-Commit-ID: JOBBGUs8kJd

--HG--
extra : rebase_source : bf94f9abf25805a25db1961371babbf70cb76a8a
2017-03-06 09:47:22 +09:00
Hiroyuki Ikezoe 0082bf9c47 Bug 1340322 - Part 1: Split CSSAnimationBuilder::Build off as a static function. r=birtles
The static function will be a template function that can be used with servo's
computed values as well.


MozReview-Commit-ID: DgLTQ8ihPod

--HG--
extra : rebase_source : f3114ca7f0b6c249d2b535c18af4da4021c5743c
2017-03-06 09:46:40 +09:00
Hiroyuki Ikezoe 21e340c4fc Bug 1344533 - Replace OwningElementRef::GetRenderedPresContext with nsContentUtils::GetContextForContext(). r=boris
MozReview-Commit-ID: HaAvgNcORQb

--HG--
extra : rebase_source : 2571541c3274fa1eb9233c8c01128190b94d108c
2017-03-05 17:28:49 +09:00
Hiroyuki Ikezoe 4f3263f0d2 Bug 1341518 - We don't need to call SetNeedStyleFlush() explicitly in UpdateAnimations. r=birtles,mantaroh
DocumentTimeline ensures the next tick, which is necessary for animation events,
is processed. Actually CSSAnimation::QueueEvents() is called from WillRefresh(),
the WillRefresh() is not called if the animation is not being observed by the
DocumentTimeline.

MozReview-Commit-ID: AYdqi7x3jty

--HG--
extra : rebase_source : 074689e7ddb5e48119b5758f73fb436840daec0b
2017-02-22 15:45:27 +09:00
Hiroyuki Ikezoe 48e5e75277 Bug 1340916 - Part 3: Add a helper function to create TimingParams CSS animation/transition properties. r=birtles
MozReview-Commit-ID: 3CmCc44FhvA

--HG--
extra : rebase_source : a0d1067916a68fc4bc18793b05ae46902fddff41
2017-02-20 11:02:52 +09:00
Hiroyuki Ikezoe 13fcf0e228 Bug 1340916 - Part 2: Move keyframs array for old animations. r=birtles
MozReview-Commit-ID: BI64Yzgop6

--HG--
extra : rebase_source : 7b14ed8b8574f56f85b61bbf0c7be6b64fae4775
2017-02-20 06:28:40 +09:00
Cameron McCormack c041778642 Bug 1297899 - Part 1: Rename RestyleManager.{h,cpp} to GeckoRestyleManager.{h,cpp}. r=bholley
MozReview-Commit-ID: 1v0ufuGFtiD

--HG--
rename : layout/base/RestyleManager.cpp => layout/base/GeckoRestyleManager.cpp
rename : layout/base/RestyleManager.h => layout/base/GeckoRestyleManager.h
extra : rebase_source : 9e9432b1185697dc21eb23de93a09610a5a074bd
2017-02-13 11:21:30 +08:00
Mantaroh Yoshinaga f0550caaae Bug 1302648 part 5 - Queue animationcancel when animation status is idle. r=birtles
MozReview-Commit-ID: DRjWboQwR0A

--HG--
extra : rebase_source : 17a92668519bdf7a4d7c58c97bd8f23b889767a7
2017-02-10 12:32:44 +09:00
Cameron McCormack b2ee81223c Bug 1334735 - Part 1: Move need style/flush flags from document to pres shell. r=bz
MozReview-Commit-ID: 2Amf9yGRiJA
2017-02-10 10:42:27 +08:00
Hiroyuki Ikezoe fc6d8f711b Bug 1328787 - Part 12: Fill Gecko's Keyframe. r=heycam
MozReview-Commit-ID: 5QdUtFj9lK9
2017-01-29 12:58:51 +09:00
Hiroyuki Ikezoe b760727ba4 Bug 1328787 - Part 2: Don't pass nsCSSKeyframesRule* to CSSAnimationBuild::Build. r=heycam
Because, in case of stylo, we don't have nsCSSKeyframesRule.

MozReview-Commit-ID: uWlrFihjbx
2017-01-29 12:58:25 +09:00
Mantaroh Yoshinaga 48d03c0d31 Bug 1308099 part 2 - Remove unnecessary typedef and use defined name instead of full namespace. r=hiro
MozReview-Commit-ID: Jn5qLqS9Kc3

--HG--
extra : rebase_source : f7f424d6c33f59ebba99140bcef2fd336f475fbc
2017-01-25 15:59:30 +09:00
Mantaroh Yoshinaga 3ad37c274f Bug 1308099 part 1 - Rename AnimationPhase::Null to AnimationPhase::Idle. r=hiro
In Web Animations specification, if the animation effect is in none of the any phase, it define as 'Idle' phase. [1]
But, in the gecko, it defined as 'Null' phase.

So we will need to use 'Idle' phase for consistency.

[1] https://w3c.github.io/web-animations/#idle-phase

MozReview-Commit-ID: FlPpYOqdM4X

--HG--
extra : rebase_source : ec294c84f9c77a42d6128e3d43380b80fc130513
2017-01-25 15:43:57 +09:00
Hiroyuki Ikezoe 37f87086c5 Bug 1330190 - Part 2: Add a new function named ResolveStyleWithoutAnimation. r=heycam
Unlike the other one this function does not need an old nsStyleContext.
This function just resolves style without all animation data in the first place.
The existing ResolveStyleWithoutAnimation is renamed to
ResolveStyleByRemovingAnimation.

MozReview-Commit-ID: 1RmCQNw0MmW

--HG--
extra : rebase_source : eaf55ecac77f6bb803b1f9508444bf34106d6da3
2017-01-16 16:57:13 +09:00
Mantaroh Yoshinaga 70e5e7e4ef Bug 1202333 part 2 - Update the CSSTransition::QueueEvents to specification. r=birtles
MozReview-Commit-ID: BxkZ359g7JR

--HG--
extra : rebase_source : b832f1e85ae022291bf3999cd3d49dfe2ba6a6a0
2016-12-20 15:57:20 +09:00
Mantaroh Yoshinaga 90c5d3d372 Bug 1202333 part 1 - Remove excessive animationiteration event. r=birtles
The Firefox fired excessive animationiteration event.
But We fixed specification in order to prevent firing the animationiteration when animation is start.

For detail, See https://github.com/w3c/csswg-drafts/issues/68

MozReview-Commit-ID: 391DRxSpq86

--HG--
extra : rebase_source : 38e6710da4d9ad7422d6313eeae2803402a51b24
2016-12-20 15:57:13 +09:00
Xidorn Quan dc820f67ee Bug 1307357 part 2 - Fix issues appear after adding file to unified source. r=heycam
MozReview-Commit-ID: 5FkisMn3LKq

--HG--
extra : source : 1f83f48485df328f516b95f0c72f190441959068
2016-11-23 10:26:20 +11:00
Mantaroh Yoshinaga cf59836bae Bug 1287983 part 6 - Integrate ElapsedTimeToTimeStamp function to the Animation class. r=birtles
MozReview-Commit-ID: 43AGaTYQoqn

--HG--
extra : rebase_source : 728380db2c6f3e035d05b6c746d2c0f08a1369b7
2016-10-19 15:16:52 +09:00
Hiroyuki Ikezoe 9eb3978fde Bug 1216843 - Part 16: Fix bug number for implementation of keyframe composition. r=birtles
The content of this bug (1216843) has changed since it filed initially,
so we should change bug numbers in our source tree.

Re-generating ini file re-ordered items in the ini file.

MozReview-Commit-ID: HnJGJDSmZl3
2016-09-13 11:48:46 +09:00
Brian Birtles 48f29038db Bug 1300045 part 2 - Split KeyframeEffect.cpp into KeyframeEffect{ReadOnly}.cpp r=hiro,smaug
MozReview-Commit-ID: DdBEicunApv

--HG--
rename : dom/animation/KeyframeEffect.cpp => dom/animation/KeyframeEffectReadOnly.cpp
rename : dom/animation/KeyframeEffect.h => dom/animation/KeyframeEffectReadOnly.h
extra : rebase_source : 70063d8ba09c9c457f22771e9b514ddc9fee1612
2016-09-04 16:34:21 +09:00
Nicholas Nethercote fb96bf1f91 Bug 1298722 - Use MOZ_MUST_USE in StyleAnimationValue. r=birtles.
--HG--
extra : rebase_source : c5b8cca624b9ffa7b3263b1aa7ce4f64dd80f13b
2016-08-30 16:10:59 +10:00
shundroid c930262d77 Bug 1293806 - Removed UpdateAnimationGeneration in nsAnimationManager::UpdateAnimations r=hiro
MozReview-Commit-ID: CtSBqgzTlVV

--HG--
extra : rebase_source : a755cd48ceaa7a8a892658eef2149a98b065ba96
2016-08-27 13:28:54 +09:00