Commit Graph

6266 Commits

Author SHA1 Message Date
Masayuki Nakano
bd6decd65b Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Jonathan Watt
e5b14ba61e Bug 988818 - Stop creating a Thebes (gfxASurface) backed gfxContext in nsSVGImageFrame (Moz2D migration). r=longsonr 2014-03-31 12:53:54 +01:00
Jonathan Watt
abbdac0e85 Bug 988904 - Stop creating a Thebes gfxImageSurface in PresShell::PaintRangePaintInfo (Moz2D migration). r=mattwoodrow 2014-03-31 12:53:31 +01:00
Bill McCloskey
a8420df067 Bug 986691 - [e10s] Disable some layout tests (r=roc) 2014-03-28 11:25:11 -07:00
Kartikaya Gupta
31afc0a194 Bug 948377 - Remove unwanted rounding in CalculateCompositedRectInCssPixels; add a CalculateCompositedSizeInCssPixels also. r=botond 2014-03-28 10:36:47 -04:00
Neil Rashbrook
041b6d4b17 Bug 514280 Consistently declare and define IID accessors r=bsmedberg 2014-03-28 08:45:02 +00:00
Ehsan Akhgari
5b9f45a1a5 Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
Ms2ger
794257a824 Bug 984006 - Remove xpcom/ds from local includes; r=ehsan 2014-03-27 21:05:14 +01:00
Timothy Nikkel
baa995fcb1 Bug 957668. Protect against a null frame. r=nullcheck CLOSED TREE 2014-03-26 23:20:23 -05:00
Timothy Nikkel
74780cdea5 Bug 957668. Add comment based on review comment. DONTBUILD 2014-03-26 21:23:14 -05:00
Timothy Nikkel
b33e833306 Bug 957668. Set the display port base rect in several places. r=roc 2014-03-26 21:46:24 -04:00
Timothy Nikkel
fa43bca11d Bug 957668. Add and implement plumbing for a display port margins api. r=kats 2014-03-26 21:46:23 -04:00
Timothy Nikkel
be787d8185 Bug 957668. Factor out a few helper functions. r=roc 2014-03-26 21:46:23 -04:00
Timothy Nikkel
d536014142 Bug 986413. Limit composition bounds used for display port calculation to root composition bounds. r=kats 2014-03-26 19:24:25 -04:00
Birunthan Mohanathas
cbaedea4c8 Bug 987320 - Remove unnecessary null checks for do_QueryFrame arguments. r=bz 2014-03-25 11:36:49 -04:00
Kartikaya Gupta
cf49cef008 Bug 984548 - Ifdef APZ overflow:hidden behaviour so it doesn't regress Fennec pending a proper fix. r=tn 2014-03-25 09:25:56 -04:00
Gorman Ho
9f11aa16d4 Bug 983285 - Add a generic destructor for property values allocated with new. r=kats, r=bz 2014-03-25 09:25:47 -04:00
Matt Woodrow
e47a33ad71 Bug 976365 - Make 'perspective' create a containing block for absolute and fixed positioned children. r=dbaron 2014-03-25 11:45:43 +13:00
Brian Birtles
43c74c805e Bug 981508 - Fix comment in nsDisplayTransform::ShouldPrerenderTransformedContent; r=roc 2014-03-22 05:59:58 +08:00
Brian Birtles
07bc4e1535 Bug 975261 part 5 - Fix OMTA animations with backwards fill; r=dzbarsky
When we have a backwards fill and we sample at *exactly* the start of the
animation on the next refresh driver tick, when we get to
RestyleManager::ComputeStyleChangeFor (or more specifically
ElementRestyler::CaptureChange) we notice that the style hasn't changed (since
the first frame of the animation produces the same value as the backwards fill)
and end up with an empty change list. As a result we never schedule a view
manager flush and rebuild the layer. Hence, the animation never gets sent to the
compositor thread. On the next tick we're already throttling the main thread.

This patch fixes this by applying the same approach as is used for transitions,
that is, explicitly marking which animations are running on the compositor
thread so we know if we need to trigger a layer transaction or not. This should
not only be more robust than the previous code but also facilitate aligning
animations and transitions code (bug 880596).
2014-03-22 05:59:58 +08:00
Chadd Williams
1035df8afc Bug 980493 - Transition FrameMetrics::mScrollId to use a getter/setter. r=botond
--HG--
extra : histedit_source : 1c84496d4b61f019e6e6cc24591ee3a10434e4cc
2014-03-21 17:48:08 -04:00
Robert O'Callahan
9b6f683504 Bug 918189. Part 2: Add tests for convertPoint/Rect/QuadFromNode. r=mats
--HG--
extra : rebase_source : e50c41da1a3cfc66f37e540b26fb8c9353ab5321
2013-09-20 22:22:11 +12:00
Robert O'Callahan
d30f7006c6 Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst
--HG--
extra : rebase_source : 2d01b350d84f220add776341a9cbcda5ace2ef01
2014-03-12 09:11:39 +08:00
Robert O'Callahan
84770e7b2f Bug 918189. Part 1: Implement GeometryUtils ConvertQuad/Rect/PointFromNode. r=mats
--HG--
extra : rebase_source : deade5e87ae77b3fe9efdfde9ba2f3254318f387
2014-03-12 09:11:38 +08:00
Robert O'Callahan
04501d7edd Bug 917755. Part 6: Add tests for getBoxQuads. r=matspal
--HG--
extra : rebase_source : 2e49345a3035cdbe5e4d2ee7573f3c30da38da6a
2013-09-20 22:21:42 +12:00
Robert O'Callahan
2a7e21114d Bug 917755. Part 5: Implement GeometryUtils GetBoxQuads. r=matspal
--HG--
extra : rebase_source : 6997773605684ad96e29b22fc10069d31385e63b
2014-03-12 09:11:38 +08:00
Robert O'Callahan
242ffba63c 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
Daniel Holbert
1a5334960a Bug 984786 part 1: Add MOZ_FINAL and private destructors to some refcounted classes in layout. r=dbaron 2014-03-21 09:16:20 +08:00
Timothy Nikkel
6eb349ee89 Bug 874950. Don't let fixed position conclude occlude async scrolled content. r=roc
It would be incorrect to occlude async scrolled content.

Instead of doing a lot of extra frame tree walking just use the flags on display items to tell if they are in fixed position subtrees.

Also, don't let the fixed position flag on display items get set if we start building display items inside a subdocument. If didn't do this non-fixed content in a subdocument that is in fixed content in the parent document would be marked as in fixed position, and no occlusion would occur at all. This means that the fix applies to slightly less cases which are less important so that a more important case works the same as before.
2014-03-20 18:23:16 -05:00
Timothy Nikkel
fa25b28ebf Bug 874950. Record on display items if they are inside a fixed position subtree. r=roc 2014-03-20 18:23:16 -05:00
Ryan VanderMeulen
355f83a308 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
Ryan VanderMeulen
4b007b082c Backed out changesets 716f942b5798, 48edbd324d0f, 3e6446f6d0e6 (bug 918189) for bustage. 2014-03-20 16:33:54 -04:00
Robert O'Callahan
201b14766b Bug 918189. Part 2: Add tests for convertPoint/Rect/QuadFromNode. r=mats 2013-09-20 22:22:11 +12:00
Robert O'Callahan
0518f069ab Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst 2014-03-12 09:11:39 +08:00
Robert O'Callahan
f79e645249 Bug 918189. Part 1: Implement GeometryUtils ConvertQuad/Rect/PointFromNode. r=mats 2014-03-12 09:11:38 +08:00
Robert O'Callahan
cb0ca90a5c Bug 917755. Part 6: Add tests for getBoxQuads. r=matspal 2013-09-20 22:21:42 +12:00
Robert O'Callahan
570c9395bc Bug 917755. Part 5: Implement GeometryUtils GetBoxQuads. r=matspal 2014-03-12 09:11:38 +08:00
Robert O'Callahan
e367900d2f Bug 917755. Part 1: Add nsLayoutUtils::TransformCSSPoints and nsLayoutUtils::GetFirstNonAnonymousFrame. r=matspal 2013-09-20 22:21:03 +12:00
Carsten "Tomcat" Book
9fe557e5da Backed out changeset 1d12ab8bf5fe (bug 950526) for android reftest failures on a CLOSED TREE 2014-03-20 10:00:24 +01:00
Daniel Holbert
128cc39b95 (no bug) Remove whitespace at end of line in FrameLayerBuilder. (whitespace-only, DONTBUILD) 2014-03-20 14:49:27 +08:00
Daniel Holbert
8c8d7274be (no bug) Remove whitespace at end of line in nsCSSFrameConstructor. (whitespace-only, DONTBUILD) 2014-03-20 14:49:26 +08:00
Daniel Holbert
9bd5ed2407 (no bug) Remove whitespace at end of line in nsPresShell, nsIPresShell, and nsPresContext. (whitespace-only, DONTBUILD) 2014-03-20 14:49:25 +08:00
John Daggett
8a2f99bfd8 Bug 950526 - don't dump textruns within nsTextFrame::DidSetStyleContext. r=dbaron 2014-03-20 14:43:29 +08:00
Markus Stange
178e89ae41 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
Neil Deakin
54fd69f1a7 Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn 2014-03-19 12:48:08 -04:00
Carsten "Tomcat" Book
1c1cd1a7e6 Backed out changeset 094decae8ff3 (bug 917755) for mochitest-1 bustage on a CLOSED TREE 2014-03-19 09:47:43 +01:00
Carsten "Tomcat" Book
cf4b10ed86 Backed out changeset 4771c2b309ad (bug 917755) 2014-03-19 09:46:04 +01:00
Carsten "Tomcat" Book
e1e727b8cc Backed out changeset 1b7530ddb0af (bug 917755) 2014-03-19 09:46:01 +01:00
Carsten "Tomcat" Book
3ca2210713 Backed out changeset f7e676be8fa0 (bug 918189) 2014-03-19 09:45:58 +01:00
Carsten "Tomcat" Book
174014df63 Backed out changeset e60fe593236d (bug 918189) 2014-03-19 09:45:57 +01:00