Commit Graph

20779 Commits

Author SHA1 Message Date
Kearwood (Kip) Gilbert
2025167bb7 Bug 984226 - Add parameter to OverflowChangedTracker::AddFrame to distingush between frames that need nsIFrame::UpdateOverflow called and frames that only have a transform that has changed. r=dbaron
- OverflowChangedTracker::AddFrame now accepts an enumerated type parameter to
  indicate if the overflow areas of children have changed (CHILDREN_CHANGED),
  the overflow areas of the children have changed and the parent have changed
  (CHILDREN_AND_PARENT_CHANGED), or if only the transform has changed
  (TRANSFORM_CHANGED).
- OverflowChangedTracker::Flush no longer falls back to calling
  nsIFrame::UpdateOverflow when a frame lacks a PreTransformOverflowAreas
  property.
- Added an additional change hint, nsChangeHint_ChildrenOnlyTransform, which
  results in TRANSFORM_CHANGED being passed in to
  OverflowChangedTracker::AddFrame.
- In nsIFrame::FinishAndStoreOverflow, the passed in overflow is now stored as
  the InitialTransformProperty for elements that are IsTransformed().
- Partially corrected Bug 926155, by only calling
  OverflowChangedTracker::AddFrame on parents of the sticky element during
  StickyScrollContainer::UpdatePositions, using CHILDREN_CHANGED.
2014-03-13 17:21:25 -07:00
Simon Montagu
213431d467 Add some more logical getters to nsIFrame.h. Bug 735577, r=jfkthame 2014-04-16 01:03:30 -07:00
Simon Montagu
f84bfb284b Make nsLineBox.mBounds a LogicalRect. Bug 789096, r=jfkthame 2014-04-16 01:03:28 -07:00
Boris Zbarsky
22f64a2913 Bug 843840 part 2. Add a way to ask DOM proxies for only their enumerable property names, and use that in the enumerate hook. r=peterv 2014-04-15 22:58:44 -04:00
Boris Zbarsky
b730833389 Bug 843840 part 1. Add a way to ask DOM proxies with a named getter whether a property is enumerable or not and use that information in getOwnPropertyDescriptor. r=peterv 2014-04-15 22:58:44 -04:00
Jonathan Watt
61a8971526 Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow 2014-04-16 01:41:40 +01:00
Matt Woodrow
d62f8237e0 Bug 996929 - Make nsLayoutUtils::SurfaceFromElement optimize the returned surface upfront so that it doesn't have to be converted every time it's used. r=jwatt 2014-04-16 01:40:18 +01:00
Kyle Huey
91420b7d1d Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
--HG--
extra : rebase_source : 239ff77ec3765a3f190ed75b1645c6011e5d1dbd
2014-04-14 12:04:24 -07:00
Daniel Holbert
727250afa8 Bug 991285 part 1: Consistently allocate nsRenderingContext instances on the heap. r=roc 2014-04-15 12:54:10 -07:00
Jonathan Watt
0dcb1838b9 Bug 950372 - Convert imgIContainer::GetFrame to return a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow 2014-04-15 19:02:23 +01:00
Botond Ballo
e1a3f0c043 Bug 976605 - Expose inIDOMUtils via mozilla::services. r=ehsan
--HG--
extra : source : 896fa761f32dad205897953d812e78dadf6136e7
2014-04-11 17:39:58 -04:00
Botond Ballo
4244af99c3 Bug 976605 - Turn GeckoCC::NotifyTransform[Begin|End] into an extensible APZ state change notification mechanism. r=kats
--HG--
extra : source : 5353e86dcfe8b2ff6f02e577a4c69a1de6808d9b
2014-04-15 13:39:20 -04:00
Ed Morley
7aeaee8395 Backed out changeset d5c38470ac06 (bug 976605) 2014-04-15 17:45:48 +01:00
Ed Morley
ee31fc9f7a Backed out changeset 27ceedad1d1c (bug 976605) 2014-04-15 17:45:24 +01:00
Botond Ballo
3d9c74b31a Bug 976605 - Expose inIDOMUtils via mozilla::services. r=ehsan
--HG--
extra : source : d030d78ad4f67528ca16d8dbe6aaa72990f30ba0
2014-04-11 17:39:58 -04:00
Botond Ballo
a677317112 Bug 976605 - Turn GeckoCC::NotifyTransform[Begin|End] into an extensible APZ state change notification mechanism. r=kats
--HG--
extra : source : bfb4af538271dc2e3148caa461f594715529021a
2014-04-11 20:27:57 -04:00
Matt Woodrow
4c08a5eb55 Bug 996393 - Part 2: Use new gfxPlatform::GetWrappedDataSourceSurface API in nsLayoutUtils::SurfaceFromElement to avoid copying. r=roc 2014-04-15 14:36:27 +12:00
Robert O'Callahan
fe3a1934eb Bug 791480. Fix bad reftest.list merge. 2014-04-16 00:56:33 +12:00
Robert Longson
0aba97e303 Bug 995813 - Mask and pattern elements should map more attributes to styles. r=dholbert
--HG--
rename : layout/reftests/svg/mask-basic-03.svg => layout/reftests/svg/mask-basic-04.svg
rename : layout/reftests/svg/mask-basic-03.svg => layout/reftests/svg/pattern-basic-01.svg
2014-04-15 11:48:02 +01:00
Robert O'Callahan
2789b6b666 Bug 985303. Part 3: Save a block's 'bottom edge of content' in a frame property if it doesn't match the block's content height, and use it in UpdateOverflow to compute the correct overflow. r=dbaron
--HG--
extra : rebase_source : 11fe6925ee266a2e1feec5a4d5c0e5ed152516f5
2014-04-03 04:27:23 -04:00
Robert O'Callahan
97f4fe5c8f 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
8b33bb1a79 Bug 985303. Part 1: Assert that nsViews are only associated with a specific, limited set of frame types. r=dbaron
--HG--
extra : rebase_source : 80ce9f2e4841b831fd37acf2b89d4ff350762ab8
2014-04-03 04:24:58 -04:00
Robert O'Callahan
30049521fc Bug 972713. Part 2: Ignore active scrolled roots in inactive layer trees, because they don't help and could hurt. r=mattwoodrow
--HG--
extra : rebase_source : 3c1c4abb6685f106f927f0f43dbb62fe64a37038
2014-02-18 17:00:35 +13:00
Robert O'Callahan
9746772c09 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
Robert O'Callahan
6b21411638 Bug 791480. Reenable test on Windows 7. r=dbaron
--HG--
extra : rebase_source : f4432bc6143e84c58d590dc80dfcb41419524b5d
2014-03-25 22:15:49 +13:00
Robert O'Callahan
3cfdd18251 Bug 791480. Make reftests enter print mode before reftest-wait is removed, so canvas-print-callback tests can finish drawing before the test ends. r=dbaron
--HG--
extra : rebase_source : f5b0ded43f9ef670478a06daf36c44987bd6b823
2014-03-25 22:11:27 +13:00
Robert O'Callahan
91e3ef7f95 Bug 983465. Disable collapsing-text frame construction optimization on a per-document basis. r=bz
--HG--
extra : rebase_source : fc2059ac826e001660fb7233d775f8a046467f6b
2014-04-03 03:48:51 -04:00
Daniel Holbert
50d14afe31 Bug 996351: Rename nsPresShell::GetReferenceRenderingContext() to CreateReferenceRenderingContext(), to reduce implication of fallibility. r=roc 2014-04-14 21:30:25 -07:00
Bobby Holley
a81ce7e83c Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz 2014-04-14 20:27:00 -07:00
Daniel Holbert
278c535e89 Bug 996326: Make nsDeviceContext::CreateRenderingContext() return its result directly, instead of using outparam. r=roc 2014-04-14 20:15:01 -07:00
Cameron McCormack
e89a5239e9 Bug 992488 - Return false early from inDOMUtils::SelectorMatchesElement if the selector is for a pseudo-element. r=bzbarsky 2014-04-15 12:28:57 +10:00
Daniel Holbert
40820c7fe6 Bug 996319: Drop always-null arg from nsTextFrame.cpp's static helper-function "GetReferenceRenderingContext". r=jdaggett 2014-04-14 17:45:39 -07:00
Seth Fowler
16d054ed67 Bug 901146 - Fix misleading comment in nsImageFrame.cpp. r=tn 2014-04-14 16:26:35 -07:00
Matt Woodrow
8ce472ea56 Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Andrew Halberstadt
ab5dc48783 Bug 994711 - Expose --this-chunk and --total-chunks to reftest mach targets, r=jgriffin, DONTBUILD, a=NPOTB 2014-04-14 16:51:46 -04:00
Ryan VanderMeulen
98cf3141ca Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey
28592e6530 Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:24 -07:00
L. David Baron
f9653fffe2 Bug 995410 - Call shouldSnapshotWholePage rather than testing for its existence. r=mattwoodrow
This is clearly what was intended when this code was introduced in bug
876626.
2014-04-14 11:12:00 -07:00
Geoff Brown
ebf80bcac2 Bug 982908 - Allow fewer assertions for crashtest 266360-1; r=mats 2014-04-14 10:39:05 -06:00
Benoit Jacob
82a6b65cf9 Bug 987305 - Refactor EnumSerializer - r=nfroyd 2014-04-14 10:17:40 -04:00
Carsten "Tomcat" Book
2a65e1ca93 Backed out changeset 6a0290190c1b (bug 946065)
--HG--
rename : dom/mathml/crashtests/462929-1.html => content/mathml/content/crashtests/462929-1.html
rename : dom/mathml/crashtests/770710-1.html => content/mathml/content/crashtests/770710-1.html
rename : dom/mathml/crashtests/crashtests.list => content/mathml/content/crashtests/crashtests.list
rename : dom/mathml/moz.build => content/mathml/content/src/moz.build
rename : dom/mathml/nsMathMLElement.cpp => content/mathml/content/src/nsMathMLElement.cpp
rename : dom/mathml/nsMathMLElement.h => content/mathml/content/src/nsMathMLElement.h
rename : dom/mathml/nsMathMLElementFactory.cpp => content/mathml/content/src/nsMathMLElementFactory.cpp
2014-04-14 08:50:29 +02:00
Bobby Holley
beaeb53a80 Bug 993918 - Shut down CAPS and XPConnect after imagelib and gfx. r=Ms2ger 2014-04-13 10:15:29 -07:00
Jonathan Watt
75b02d7954 Bug 993443 - Relax the assertion in ConstrainToCoordValues to allow aSize to also be zero. r=longsonr 2014-04-13 11:07:10 +01:00
Cameron McCormack
92b03b34b0 Bug 992333 - Skip custom properties when looking for properties to transition. r=dbaron 2014-04-13 11:44:31 +10:00
Birunthan Mohanathas
ff1e3633b4 Bug 946065 - Part 7: Move content/mathml/ to dom/ and flatten subdirectories; r=karlt
--HG--
rename : content/mathml/content/crashtests/462929-1.html => dom/mathml/crashtests/462929-1.html
rename : content/mathml/content/crashtests/770710-1.html => dom/mathml/crashtests/770710-1.html
rename : content/mathml/content/crashtests/crashtests.list => dom/mathml/crashtests/crashtests.list
rename : content/mathml/content/src/moz.build => dom/mathml/moz.build
rename : content/mathml/content/src/nsMathMLElement.cpp => dom/mathml/nsMathMLElement.cpp
rename : content/mathml/content/src/nsMathMLElement.h => dom/mathml/nsMathMLElement.h
rename : content/mathml/content/src/nsMathMLElementFactory.cpp => dom/mathml/nsMathMLElementFactory.cpp
2014-04-12 10:42:44 +02:00
Ms2ger
b51961d2c4 Bug 738196 - Part b: move StyleSheetList to WebIDL; r=bz 2014-04-12 10:18:54 +02:00
Timothy Nikkel
9fc11eb358 Bug 980500. Add scrollbars that APZC places properly if we are doing the early exit ignore scroll frame when building a display list for a scrollframe. r=roc 2014-04-11 19:12:43 -05:00
Kartikaya Gupta
ced4f777ac Bug 982888 - Populate the scroll parent field as appropriate. r= 2014-04-11 19:39:22 -04:00
Botond Ballo
3236a293e8 Bug 994816 - Avoid doing any alignment of display port when tiling is disabled. r=tn
--HG--
extra : rebase_source : 39a12744d84990a395f41fcd53713337203e5666
2014-04-10 13:16:20 -04:00
Botond Ballo
30a35592c2 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