Commit Graph

1373 Commits

Author SHA1 Message Date
Matt Woodrow
5562523a43 Bug 1216832 - Handle preserve-3d visible regions during display list building by always transforming from the preserve-3d root each time. r=roc 2016-02-12 00:18:55 +13:00
Bogdan Postelnicu
3a7965b651 Bug 1246892 - pass aCTF as a reference instead of value. r=roc
--HG--
extra : rebase_source : 40f6a3a7adf06de8d3fdbe39bebd8e024514822e
2016-02-09 12:00:59 +02:00
Dirk Schulze
7d71b51c43 Bug 1075457, part 1 - Implement rendering for |clip-path:polygon()|. r=mstange, r=jwatt
--HG--
extra : rebase_source : 17ddbe04589e146c5e64497527b5a74b54337b8b
2016-02-08 22:08:09 +00:00
Birunthan Mohanathas
d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
William Chen
96cc20f039 Bug 1241575 - Use transform property syntax to parse WebKitCSSMatrix transform list. r=heycam 2016-02-01 16:45:09 -08:00
Hiroyuki Ikezoe
4b31027fae Bug 1216842 - Part 7: Add easing function to laryer::Animation. r=cam 2016-01-26 21:19:00 +01:00
Hiroyuki Ikezoe
ba1bb81b2e Bug 1216842 - Part 3: Change ComputedTimingFunction* to Maybe<ComputedTimingFunction>. r=cam
Nothing() represents linear function, i.e. skip calculation.
ParseEasing is changed to return a Maybe<ComputedTimingFunction>,
if timing function is linear function, ParseEasing returns Nothing().
2016-01-29 14:44:00 +01:00
Hiroyuki Ikezoe
8c08c46bf6 Bug 1216842 - Part 1: Add null_t into TimingFunction to skip calculation of linear timing function. r=cam
This is a patch for compositor side to represent linear function as null_t/Nothing().

Also the first argument of ToTimingFunction changes to a Maybe<ComputedTimingFunction>.
As a result of this change we can also use ToTimingFunction for animation
effect's timing function.
2016-01-26 21:14:00 +01:00
Markus Stange
77d52c0a79 Bug 1241275 - Change the way -moz-window-dragging works. r=heycam,roc
This adds the value -moz-window-dragging: default as the initial value of the property,
and makes it a [reset] property. This allows us to change the way the window dragging
region is calculated: Elements with -moz-window-dragging: no-drag will now always be
undraggable, even if they are overlapped by -moz-window-dragging: drag elements. That
way we can keep the region calculation simple and don't have to add code to respect
z-ordering.

--HG--
extra : commitid : GX3ApAyzKi7
extra : rebase_source : 61cab4e535c6c5da75fe79eb1886b6c5b7d136ea
extra : amend_source : 0f461782b8f65eca1009c2f6c192b5b80b908233
2016-01-27 11:58:33 +01:00
CJKu
7b577b9c98 Bug 686281 - Rename nsStyleSVGReset::mLayers to nsStyleSVGReset::mMask; Rename nsStyleBackground::mLayers to nsStyleBackground::mImage. r=dbaron 2016-01-28 06:39:00 +01:00
CJKu
a53d05d2f7 Bug 686281 - Mask CSS rendering; r=mstange 2016-01-28 06:29:00 +01:00
CJKu
538b854ad1 Bug 686281 - Rename *background* to *imagelayer*; r=dbaron. 2016-01-28 06:27:00 +01:00
CJKu
2d363d1b79 Bug 686281 - Implement nsStyleImageLayers; r=dbaron 2016-01-28 06:24:00 +01:00
Xidorn Quan
072dccd81f Bug 1230034 part 6 - Convert all frame properties which do not hold pointer to be typed. r=dbaron
--HG--
extra : source : f95f143e0e521ad2f8726097a484de402c834620
2016-01-28 14:23:59 +11:00
Nicholas Nethercote
26360d6c45 Bug 1239864 (part 9) - Use the new rect iterators in layout/ and ipc/. r=dholbert.
--HG--
extra : rebase_source : d5558c39bd3cfe85ee6f247eea8bab33f2f5027f
2016-01-18 17:20:59 -08:00
Matt Woodrow
738bca3b20 Bug 1240073 - Use the transformed frame as the AGR for active transform so that FrameLayerBuilder knows that they can move independently. r=tnikkel
--HG--
extra : rebase_source : ef1193b1c1ae351b910e5e4dae308698e83482e5
2016-01-21 17:02:31 +13:00
Matt Woodrow
8af69f328b Bug 1230774 - Use correct Z order to sort perspective items. r=roc
--HG--
extra : rebase_source : 77c3a0ecf14caf7db5451080a6759c572d675f7e
2016-01-27 23:34:39 +13:00
Matt Woodrow
b39e11fddf Back out d79c5f78243f (bug 1240073) for reftest and crashtest crashes. CLOSED TREE 2016-01-27 10:46:55 +13:00
Matt Woodrow
68e4717417 Bug 1240073 - Use the transformed frame as the AGR for active transform so that FrameLayerBuilder knows that they can move independently. r=tnikkel
--HG--
extra : rebase_source : c36898d675d6b1a80701c5accd174a1454b51e71
2016-01-21 17:02:31 +13:00
Matt Woodrow
10dde3e3a8 Bug 1231538 - Build a ContainerLayer for position:fixed and background-attachment:fixed content. r=roc 2016-01-26 13:36:48 +13:00
Matt Woodrow
472aadca54 Bug 1241394 - Follow up to fix windows build bustage.
--HG--
extra : rebase_source : c390aa3d3261edaeda3d1c0b10f8b84ad451c65e
2016-01-25 13:58:38 +13:00
Thinker K.F. Li
7f64e8def9 Bug 1241394 - Check clip for the children of the establisher. r=mattwoodrow 2016-01-25 13:39:09 +13:00
Matt Woodrow
1fdff5dabf Bug 1241394 - Hit testing with 3d transforms should use fuzzy when comparing depths. r=thinker 2016-01-25 13:37:50 +13:00
Boris Chiou
deee95a0d8 Bug 1214536 - Part 7: Rename AnimationTiming as TimingParams. r=birtles, r=smaug
1. struct AnimationTiming -> struct TimingParams
2. AnimationEffectReadOnly::TimingAsObject() -> AnimationEffectReadOnly::Timing()
3. KeyframeEffectReadOnly::Timing() -> KeyframeEffectReadOnly::SpecifiedTiming()
2016-01-13 18:41:00 +01:00
Boris Chiou
71cff999e0 Bug 1214536 - Part 4: Use OwingUnrestrictedDoubleOrString for duration. r=birtles
We store the original value of duration in AnimationTiming, and add
computed duration in ComputedTiming, so both the Timing model and
AnimationEffectTimingReadOnly can get what they want.

By the way, replace mIterationDuration with mDuration.

--HG--
extra : rebase_source : f8e1fd648572e6d7b1cbecc2ac1888a2f74bbc7e
2016-01-13 18:36:00 +01:00
Boris Chiou
b0c41b12ec Bug 1214536 - Part 2: Replace mIterationCount in layers::Animation. r=birtles
Replace mIterationCount with mIterations.

--HG--
extra : rebase_source : 2aa326be768d3326d56e689d6c45ca9d6439c3bc
2015-12-27 18:51:00 +01:00
Boris Chiou
44cb5bee0a Bug 1214536 - Part 1: Use unrestricted double for iterations. r=birtles
We want to store the original value from KeyframeEffectOptions whose
iterations is unrestricted double. Therefore, we can get the original value
of iterations by AnimationEffectTimingReadOnly.

By the way, replace mIterationCount with mIterations.

--HG--
extra : rebase_source : da2953056031079c41273ed977545dc926e1b83c
2016-01-10 18:41:00 +01:00
Matt Woodrow
d0e08ffe13 Bug 1237982 - Force perspective layers to always be active. r=thinker
--HG--
extra : rebase_source : c831e2bc3413a0dfca34cb5e8f148ac1b06b40b8
2016-01-13 13:04:56 +13:00
Brian Birtles
d549991eb2 Bug 1232577 part 19 - Move ClearIsRunningOnCompositor to EffectCompositor; r=heycam 2016-01-13 07:54:56 +09:00
Markus Stange
4eb9692846 Bug 1234800 - Move this line to the right place. r=tn
--HG--
extra : commitid : 2ZToJWEO51B
extra : rebase_source : 919b7f5e3bb991ce99cc427a0a26fbad0a533b79
2016-01-07 20:34:24 +01:00
Thinker K.F. Li
f2e08bbbc7 Bug 1228716 - Give different frame keys for nsDisplayBlendContainer. r=roc
--HG--
extra : rebase_source : cee46732e4679e3e7ddc37dd9238baa4a175edbf
2016-01-11 02:34:00 +01:00
Matt Woodrow
e004a92625 Bug 1230780 - Propagate preserve-3d handling through nsDisplayPerspective. r=thinker
--HG--
extra : rebase_source : 7100cdf247c2e9d5fd17096722a718f074bfe504
2015-12-17 16:22:49 +13:00
Matt Woodrow
07ab4853c4 Bug 1230693 - Rebase transforms to the origin for callers than don't want them offset. r=mstange 2015-12-17 12:36:24 +13:00
Ryan VanderMeulen
98e2df851f Backed out changeset 5e3507a7e8ec (bug 1228716) for reftest failures. 2016-01-09 18:06:23 -05:00
Thinker K.F. Li
93827e1140 Bug 1228716 - Remove installation of nsDisplayBlendContainer. r=roc
--HG--
extra : rebase_source : 39a9ffe2da2f2bcb2eae37798ed49273167f1520
2015-12-29 19:54:00 -05:00
Timothy Nikkel
6a24899c5f Bug 1194851. Change the GetDisplayPort API to take an optional RelativeTo parameter, instead of having that expressed in the function name. r=botond 2016-01-07 18:27:49 -06:00
Timothy Nikkel
3c7c901321 Bug 1194851. Split GetDisplayPort callers into GetDisplayPortRelativeToScrollPort and GetDisplayPortRelativeToScrollFrame. r=botond
Temporarily rename GetDisplayPort to GetDisplayPortRelativeToScrollPort for the duration of this patchset.

This means that every caller of GetDisplayPort is guaranteed to be touched by this patchset (assuming it compiles), and thus each call site can be checked in review to make sure it is relative to the correct coordinate system.
2016-01-07 18:27:49 -06:00
Timothy Nikkel
bf347397f1 Bug 1194851. Make ViewportHasDisplayPort only return a bool, not the displayport rect. r=botond
This makes the one caller that needs the displayport rect have to ask for it seperately.

The reason for this is later in the patch series we need to add "RelativeToScrollFrame/Port" to all displayport getters, but there is no semantically good way to do that to the name ViewportHasDisplayPort.
2016-01-07 18:27:48 -06:00
Botond Ballo
3cb29e2e8c Bug 1231243 - In nsDisplayBackgroundImage::GetBoundsInternal(), take the union of the image bounds and the viewport bounds if APZ is enabled. r=mstange 2016-01-04 17:00:56 -05:00
Nicholas Nethercote
6fe6aa2778 Bug 1232852 (part 7) - Remove some unused parameters in and around layout/base/. r=tn.
--HG--
extra : rebase_source : 2af990358f65806ca7602e0b1c2e4dbd54e3884c
2016-01-05 16:08:17 -08:00
Nicholas Nethercote
97c8901427 Bug 1232852 (part 6) - Remove unused parameters from some layout sort functions. r=tn.
--HG--
extra : rebase_source : d3d801907a976f919db2b7e5b49cb8b0249c35c1
2016-01-05 16:08:17 -08:00
Nicholas Nethercote
5721b2ad2e Bug 1232852 (part 5) - Remove some unused parameters in and around layout/base/. r=heycam.
--HG--
extra : rebase_source : 3f114d32650a260fe2eda847f24c2967a9d94185
2016-01-05 16:08:17 -08:00
Nicholas Nethercote
fd7ca876ef Bug 1232852 (part 4) - Remove some unused parameters in and around layout/base/. r=heycam.
--HG--
extra : rebase_source : 68642322a9fc78bb7eace1501b75003241a44507
2016-01-05 16:08:17 -08:00
Nicholas Nethercote
5d111590a8 Bug 1232852 (part 1) - Set |aSnap| in two GetOpaqueRegion() overloadings that are missing it. r=roc.
--HG--
extra : rebase_source : f565bfee7883283847bf7ba6af68aaeb06e9fea3
2016-01-04 20:38:17 -08:00
Brian Birtles
bf0b758990 Bug 1229280 - Move animation generation from AnimationCollection to EffectSet; r=dbaron
--HG--
extra : rebase_source : 26a942c8c6058e629e7d7ed549eb1fcdf7f6d399
2016-01-06 11:04:05 +09:00
Botond Ballo
b9aee9ebb5 Bug 1194851 - Add helper functions HasDisplayPort() and HasCriticalDisplayPort(). r=kats
This makes it clearer whether we're just checking if a displayport exists,
or we're actually consuming its value.

--HG--
extra : source : 70bb222e860669a6cf6e803dbd57f088ca4fbc04
2015-12-16 17:22:23 -05:00
Ryan VanderMeulen
e0c11b70fe Bug 1235979 - Remove spammy printf that got left by accident when bug 1226904 landed. r=thinker 2016-01-02 20:56:05 -05:00
Timothy Nikkel
d69b71e329 Bug 1235696. The animated geometry root of a transfromed and sticky pos frame should be the frame itself. r=mattwoodrow
Both sticky pos and transforms make a frame into an AGR. The transform item is nested inside the sticky pos item, so it should have the same AGR as the sticky pos item.
2015-12-30 23:00:47 -06:00
Kearwood (Kip) Gilbert
0c83ce5c05 Bug 1182048 - Part 2: Implement e10s support for WebVR,r=vlad 2015-09-17 14:23:13 -07:00
Thinker K.F. Li
7022b0f440 Bug 1226904 - Fix boundary checking for leaves collecting. r=roc
--HG--
extra : rebase_source : 6338083654b2ad0de0ef7aa4987de1323f44c4b5
2015-12-22 19:17:00 -05:00