Commit Graph

461 Commits

Author SHA1 Message Date
Brian Birtles
f4c56d0897 Bug 1025709 part 7 - Move HasAnimationOfProperty from ElementAnimations/ElementTransitions to base class; r=heycam
This patch moves HasAnimationOfProperty to CommonElementAnimationData. It also
takes the chance to start removing some redundancy from nsLayoutUtils
/ ActiveLayerTracker. Some of this should never have been added in the first
place and some could have been removed earlier on but while we're fixing up
HasAnimationOfProperty it seems like an appropriate time to fix up its call
sites too.

Also, since HasAnimationOrTransition actually returns an object, not a bool, we
this patch renames it to GetAnimationsOrTransitions.
2014-06-20 12:39:25 +09:00
Birunthan Mohanathas
bc0233fe47 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Simon Montagu
aaa4878ee5 Replace GetBaseline with GetLogicalBaseline and use logical coordinates in the line position and baseline getters in nsLayoutUtils. Bug 789096, r=jfkthame 2014-06-17 05:19:38 -07:00
Neil Deakin
5504409f46 Bug 994117, add method to check if an element has current animations, r=bbirtles 2014-06-16 14:43:04 -04:00
Morris Tseng
288b4d9f41 Bug 987718 - Part 1: Add FirstAndLastRectCollector to nsLayoutUtils; r=roc 2014-06-04 22:53:00 +02:00
Markus Stange
77db589b6c Bug 1019737 - Only layerize the scrollbar thumb if the target scroll frame has active scrolling. r=roc 2014-06-04 14:44:26 +02:00
Botond Ballo
328066636f Bug 1019766 - Avoid including gfxPrefs.h from nsLayoutUtils.h. r=kats
--HG--
extra : rebase_source : de931f7f1fae64e8f59ae923aaf07c2742f372e0
2014-06-03 14:13:05 -04:00
Phoebe Chang
0d6163380e Bug 924692 - Part 2: Add TransformPoint and TransformRect to nsLayoutUtils; r=roc 2014-06-03 15:08:37 +08:00
Matt Woodrow
d78f4156e4 Bug 854421 - Part 7: Allocate and return transaction id's from the refresh driver when using OMTC to prevent over-production. r=roc 2014-05-29 09:43:39 +12:00
Botond Ballo
1897fda700 Bug 1016573 - Put logging of APZ test data behind a pref. r=kats 2014-05-29 12:51:28 -04:00
Mats Palmgren
273ad272f1 Bug 508665 - part 3, Change GetContentInsertionFrame() to return a nsContainerFrame*, and return null for leaf frames. Deal with GetContentInsertionFrame() returning null in a couple of places. r=roc 2014-05-24 22:20:39 +00:00
Botond Ballo
23c2012d1e Bug 961289 - Client-side instance of APZ test data and utilities for writing to it. r=tn,kats
--HG--
extra : source : 1462852a44bee091ebf42d48d87e9c0e4acfac0b
2014-04-21 19:48:54 -04:00
Timothy Nikkel
e6fdc0c9f4 Bug 1000350. Don't overwrite a layout set display port base with an APZC-guessed one. r=kats
APZC set ones are only meant to fill in the gaps, use them only if we have nothing else.
2014-04-26 00:13:36 -05:00
Matt Woodrow
86b6375508 Bug 997014 - Part 2: Make SurfaceFromElement use GetSurfaceSnapshot instead of the external API. r=roc 2014-04-17 17:29:52 +12:00
Carsten "Tomcat" Book
ba19928c26 Backed out changeset 20b75bf44c1e (bug 997014) 2014-04-17 08:43:43 +02:00
Matt Woodrow
09beb252fa Bug 997014 - Part 2: Make SurfaceFromElement use GetSurfaceSnapshot instead of the external API. r=roc 2014-04-17 17:29:52 +12:00
Robert O'Callahan
e7a73b2eb1 Bug 985303. Part 2: Add aSkipChildLists parameter to nsLayoutUtils::UnionChildOverflow. r=dbaron
--HG--
extra : rebase_source : 4ce840181d43b62d4488e6d4a3169ac1315e1dc7
2014-04-03 04:25:03 -04:00
Robert O'Callahan
d34ff747ee Bug 972713. Part 1: Make all callers of GetAnimatedGeometryRootFor pass a display item so we can stop searching when we reach the item's reference frame. r=mattwoodrow
This guarantees that the animated geometry root for an item is always in the
same display list coordinate system as the frame.

--HG--
extra : rebase_source : 974434342459b76d62d89fdc04c22c518bf0c58b
2014-02-18 14:26:57 +13:00
Botond Ballo
ce19e926e0 Bug 982141 - Make sure the primary async-scrollable frame has a displayport set. r=tn
--HG--
extra : rebase_source : 6ceb20abb14f3e829ea06c3b3b911455cff9db23
2014-03-19 13:29:24 -04:00
Botond Ballo
567dc92376 Bug 982141 - Introduce nsLayoutUtils::SetDisplayPortMargins, with an option to not repaint. r=tn
--HG--
extra : rebase_source : 95d6fb6992221c86800bc6322730729c083d75a3
2014-04-04 10:13:50 -04:00
Botond Ballo
c9be32eaee Bug 982141 - Factor out 'wantSubAPZC' into nsLayoutUtils. r=kats,tn
--HG--
extra : rebase_source : c23e9d3253991523f39d7437ab5f36172768813a
2014-04-04 10:13:30 -04:00
Botond Ballo
43b071d67b Bug 982141 - Move CalculateRootCompositionSize to nsLayoutUtils and clean it up a bit. r=tn
--HG--
extra : rebase_source : e5b29f38d38f88d6a214bdd1e2e31354018ccadd
2014-04-04 10:13:09 -04:00
Ryan VanderMeulen
5dd9653c16 Backed out 6 changesets (bug 982141) for Windows and OSX bustage. CLOSED TREE
Backed out changeset 16540ab2d2cb (bug 982141)
Backed out changeset 2ad9ce9d904e (bug 982141)
Backed out changeset af219bb49c06 (bug 982141)
Backed out changeset ffe51d96e86e (bug 982141)
Backed out changeset 6642718ad3bb (bug 982141)
Backed out changeset 95b341d26f7b (bug 982141)
2014-04-10 15:27:42 -04:00
Botond Ballo
b3150ff987 Bug 982141 - Make sure the primary async-scrollable frame has a displayport set. r=tn
--HG--
extra : rebase_source : cecfe35b5407d6bbe1709eb0a2abf55ab8503c2d
2014-03-19 13:29:24 -04:00
Botond Ballo
6a92bc7987 Bug 982141 - Introduce nsLayoutUtils::SetDisplayPortMargins, with an option to not repaint. r=tn
--HG--
extra : rebase_source : 7d8245831828d60df4fb6e20d98fd2b08d4e3857
2014-04-04 10:13:50 -04:00
Botond Ballo
8221d63904 Bug 982141 - Factor out 'wantSubAPZC' into nsLayoutUtils. r=kats,tn
--HG--
extra : rebase_source : d651c8b224c31518816a29afc003ef5ac6ed7cc7
2014-04-04 10:13:30 -04:00
Botond Ballo
a6b09e199e Bug 982141 - Move CalculateRootCompositionSize to nsLayoutUtils and clean it up a bit. r=tn
--HG--
extra : rebase_source : 8ffa71055b05836ce166b6b2c8c9896b6d08fdd5
2014-04-04 10:13:09 -04:00
L. David Baron
79c1dfbc4f Bug 992324 patch 1 - Add a pref to disable interruptible reflow. r=bzbarsky 2014-04-09 21:47:58 -07:00
John Daggett
8174f98f22 Bug 950526 - don't dump textruns within nsTextFrame::DidSetStyleContext. r=dbaron 2014-04-08 14:13:28 +09:00
Chris Lord
6fbca10a4b Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Jonathan Watt
87ad440e7c Bug 988818 - Stop creating a Thebes (gfxASurface) backed gfxContext in nsSVGImageFrame (Moz2D migration). r=longsonr 2014-03-31 12:53:54 +01:00
Timothy Nikkel
e7a6ca803f Bug 957668. Set the display port base rect in several places. r=roc 2014-03-26 21:46:24 -04:00
Timothy Nikkel
7768128908 Bug 957668. Add and implement plumbing for a display port margins api. r=kats 2014-03-26 21:46:23 -04:00
Timothy Nikkel
fe24f84835 Bug 957668. Factor out a few helper functions. r=roc 2014-03-26 21:46:23 -04:00
Robert O'Callahan
0c395be75f Bug 917755. Part 1: Add nsLayoutUtils::TransformCSSPoints and nsLayoutUtils::GetFirstNonAnonymousFrame. r=matspal
--HG--
extra : rebase_source : 06e2c83a984d12fce29cd23b93dde54a2e05cf43
2013-09-20 22:21:03 +12:00
Ryan VanderMeulen
069bec6611 Backed out 8 changesets (bug 917755) for bustage making inbound a CLOSED TREE.
Backed out changeset 98e31d225a5a (bug 917755)
Backed out changeset 43bceca43fb6 (bug 917755)
Backed out changeset 5117e3f594e7 (bug 917755)
Backed out changeset ada41f2f74b8 (bug 917755)
Backed out changeset 5272cfbd63f3 (bug 917755)
Backed out changeset f3bbd98021f7 (bug 917755)
Backed out changeset b049571a7cce (bug 917755)
Backed out changeset 472cb7738e14 (bug 917755)
2014-03-20 16:34:25 -04:00
Robert O'Callahan
337e06fd00 Bug 917755. Part 1: Add nsLayoutUtils::TransformCSSPoints and nsLayoutUtils::GetFirstNonAnonymousFrame. r=matspal 2013-09-20 22:21:03 +12:00
Carsten "Tomcat" Book
894f58f359 Backed out changeset 1d12ab8bf5fe (bug 950526) for android reftest failures on a CLOSED TREE 2014-03-20 10:00:24 +01:00
John Daggett
e0eba55dd1 Bug 950526 - don't dump textruns within nsTextFrame::DidSetStyleContext. r=dbaron 2014-03-20 14:43:29 +08:00
Markus Stange
da8c6a19ca Bug 926292 - Put overlay scrollbars on top of the topmost positioned descendant of the scrolled frame. r=mats 2014-03-20 10:12:46 +08:00
Carsten "Tomcat" Book
b6ea0644a4 Backed out changeset 094decae8ff3 (bug 917755) for mochitest-1 bustage on a CLOSED TREE 2014-03-19 09:47:43 +01:00
Robert O'Callahan
0230d86ef2 Bug 917755. Part 1: Add nsLayoutUtils::TransformCSSPoints and nsLayoutUtils::GetFirstNonAnonymousFrame. r=matspal 2013-09-20 22:21:03 +12:00
Robert O'Callahan
426b8737e5 Bug 975931. Part 11: Make nsDOMWindowUtils::SetDisplayPortForElement take a priority parameter, and set that parameter to 1 in reftests to override automatic displayport selection. r=kats
--HG--
extra : rebase_source : 07dcbfb67cb2db0bbb26a959517bbbdebd84f10b
2014-03-08 22:25:15 +13:00
L. David Baron
1c6ed806fe Bug 828173 patch 3.5: Move GetTransformRootFrame to nsLayoutUtils. r=mattwoodrow 2014-03-04 20:13:21 -08:00
L. David Baron
69150cf2a4 Bug 828173 patch 1: Add nsLayoutUtils::GetReferenceFrame. r=mattwoodrow 2014-03-04 20:13:21 -08:00
Jerry Shih
cbf26b902d Bug 972310 - Set a suitable layer size for css scale animation/transition. r=roc 2014-02-18 09:58:01 -05:00
Robert O'Callahan
648ec3e0c8 Backing out patches for bug 972713 (changesets b5486b9ed88c and 7829e535cdd7) due to Windows 8 test failure. 2014-02-18 22:48:18 +13:00
Robert O'Callahan
7b54370bdc Bug 972713. Part 1: Make all callers of GetAnimatedGeometryRootFor pass a display item so we can stop searching when we reach the item's reference frame. r=mattwoodrow
This guarantees that the animated geometry root for an item is always in the
same display list coordinate system as the frame.

--HG--
extra : rebase_source : 249fd847a2c08f8d0846d698cce9dd4681e38a98
2014-02-18 14:26:57 +13:00
Robert O'Callahan
e7b62f6784 Bug 947588. Part 3: Map nsStyleText::mControlCharacterVisibility to TEXT_HIDE_CONTROL_CHARACTERS flag in nsTextFrame. r=jfkthame
Note that this is set up so any use of gfxTextRun outside of nsTextFrame
shows hexboxes for control characters.

--HG--
extra : rebase_source : 83335c85c4db4a6391f18924aad566b00fd6a66c
2014-02-05 23:16:23 +13:00
L. David Baron
d31701cad1 Bug 91419 patch 9: Fix comments and debugging output referring to "special" frames. r=mats 2014-02-06 17:45:33 -08:00