Commit Graph

5412 Commits

Author SHA1 Message Date
Phil Ringnalda
20c50535f9 Merge m-c to m-i 2013-06-22 15:56:20 -07:00
David Zbarsky
f693e46b40 Bug 881121: Remove the 3d-transforms-enabled pref because it is always enabled and has been for a while r=dbaron 2013-06-22 13:35:09 -07:00
Kartikaya Gupta
f39a3aa067 Bug 883646 - Update the ViewTransform class to have a LayoutToScreen scale factor. r=kentuckyfriedtakahe, BenWa 2013-06-21 17:03:57 -04:00
Kartikaya Gupta
e6d307eeca Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-21 17:03:56 -04:00
Kartikaya Gupta
c6b20af712 Bug 883646 - Add the LayoutDevicePixel type. r=kentuckyfriedtakahe 2013-06-21 17:03:56 -04:00
Ryan VanderMeulen
89cd9674cd Backed out 7 changesets (bug 883646) for reftest-ipc failures.
Backed out changeset 2272804a8e71 (bug 883646)
Backed out changeset e39d3bdf847a (bug 883646)
Backed out changeset bf46fc332efe (bug 883646)
Backed out changeset 6bb558c3136f (bug 883646)
Backed out changeset d7d5d16e27e0 (bug 883646)
Backed out changeset 14c73096a132 (bug 883646)
Backed out changeset 89f6185a271b (bug 883646)
2013-06-20 17:36:39 -04:00
Kartikaya Gupta
f1493d9dae Bug 883646 - Update the ViewTransform class to have a LayoutToScreen scale factor. r=kentuckyfriedtakahe, BenWa 2013-06-20 16:10:58 -04:00
Kartikaya Gupta
bc7a93a250 Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-20 16:10:58 -04:00
Kartikaya Gupta
b32755d0f5 Bug 883646 - Add the LayoutDevicePixel type. r=kentuckyfriedtakahe 2013-06-20 16:10:58 -04:00
Robert O'Callahan
fcc41b30be Bug 880854. Part 2: Support reflows/frame reconstruction in print/print-preview documents by promoting them to frame reconstruction of the whole document. r=mats
--HG--
extra : rebase_source : e81c5cd0f9da7bbcd876669c4b9de46dac825a5d
2013-06-18 23:41:30 +12:00
Robert O'Callahan
8b77b266e2 Bug 875060. Make display:-moz-stack/-moz-inline-stack elements which are overflow:hidden clip all their descendants, including those for which it is not the containing block. r=mats 2013-06-17 17:16:27 +12:00
Robert O'Callahan
5b98f9c1a4 Bug 876092. Copy the DisplayItemClip into OutOfFlowDisplayData instead of storing a pointer. r=mats 2013-06-18 21:15:39 +12:00
Robert O'Callahan
133d433fda Bug 876092. Part 1. Don't let effects of MarkFramesForDisplayList carry over between pages. r=mats 2013-06-18 21:15:37 +12:00
Matt Woodrow
6d01a3cdf3 Bug 873944 - When we have OMTC, don't invalidate and wait for the widget paint event, just call DidPaint immediately. If we do get a widget paint event (from an OS initiated resize or similar), then block until the compositor has drawn the frame. r=roc 2013-06-18 19:59:29 +12:00
Matt Woodrow
5dcae950c4 Bug 873944 - Remove unecessarily callers to nsView::Invalidate. r=roc 2013-06-18 19:59:00 +12:00
Daniel Holbert
8916bad070 Bug 403297: Skip "Unable to test style tree integrity" warning for viewport frames. r=bz 2013-06-17 19:44:09 -07:00
Kartikaya Gupta
a53496f124 Bug 880676 - Remove ToCSSIntRectRoundIn and convert APZC::CalculateResolution to return a ScaleFactor. r=kentuckyfriedtakahe 2013-06-14 16:11:44 -04:00
Kartikaya Gupta
94dd1b2c73 Bug 880676 - Replace a couple of Rect scaling functions with strongly typed operators. r=BenWa 2013-06-14 16:11:31 -04:00
Kartikaya Gupta
3c498464ed Bug 880676 - Introduce a ScaleFactor struct and use it to type conversions between units. r=BenWa,kentuckyfriedtakahe 2013-06-14 16:11:31 -04:00
Kartikaya Gupta
5ce3e1c211 Bug 880676 - Move the RoundToInt functions to be standalone in the gfx headers. r=BenWa 2013-06-14 16:11:31 -04:00
Kartikaya Gupta
d63b7612cb Bug 880676 - Units.h cleanup for easier reading of future patches. r=BenWa 2013-06-14 16:11:30 -04:00
Kartikaya Gupta
d93f0bdac3 Bug 880676 - Convert some things in APZC::SampleContentTransformForFrame. r=kentuckyfriedtakahe 2013-06-14 16:11:29 -04:00
Kartikaya Gupta
aef5a03609 Bug 880676 - Correct the composition bounds to be in screen coordinates rather than layer coordinates. r=kentuckyfriedtakahe 2013-06-14 16:11:29 -04:00
Kartikaya Gupta
fa8050e549 Bug 879011 - Convert nsIntPoint instances in InputData.h to types with units. r=kentuckyfriedtakahe 2013-06-11 18:13:11 -04:00
Ms2ger
5855c26d0d Bug 880694 - Improve HTMLSelectElement::IsCombobox and use it in nsCSSFrameConstructor; r=bz 2013-06-12 09:00:08 +02:00
Ms2ger
96c3eb60de Bug 879739 - Use CSSIntRect for nsGenericHTMLElement::GetOffsetRect; r=kats 2013-06-12 09:00:08 +02:00
Ms2ger
cec83706d9 Bug 878874 - Introduce CSSIntPoint and use it for HTMLImageElement::GetXY(); r=kats 2013-06-12 09:00:08 +02:00
Kartikaya Gupta
1d2c4c97c5 Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe 2013-06-11 09:46:51 -04:00
Joe Drew
db95b0ece7 Bug 881459 - Don't include nsView.h from nsLayoutUtils.h r=jrmuizel 2013-06-10 17:00:00 -04:00
Kartikaya Gupta
752fd9f999 Bug 879004 - Add types to the remaining methods in GeckoContentController. r=kentuckyfriedtakahe 2013-06-10 09:05:44 -04:00
Kartikaya Gupta
09fbbbf606 Bug 879004 - Cleanups for consistency; no functional changes. r=BenWa, ketuckyfriedtakahe 2013-06-10 09:05:43 -04:00
Kartikaya Gupta
480d3251f0 Bug 879004 - Change FrameMetrics.mViewport to be a CSSRect. r=BenWa 2013-06-10 09:05:43 -04:00
Kartikaya Gupta
8cf123d18d Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa 2013-06-10 09:05:42 -04:00
Matt Woodrow
949de08277 Backout Bug 861805 for causing Bug 871729. rs=roc 2013-06-10 12:13:10 +12:00
Timothy Nikkel
4ba5b4599e Bug 880508. Remove defer invalidations code because we don't invalidate during painting anymore. r=matt.woodrow 2013-06-06 23:12:10 -05:00
Joe Drew
d9d987295b Bug 878037 - print preview crash test for printing a bullet with an animated image. r=smaug
--HG--
extra : rebase_source : 2bba8a640fd6c5099fbaa7ae28970f941d27efb3
2013-06-06 13:35:41 -04:00
Drew Willcoxon
eab886ee41 Bug 856270 - Update spell checking to use nsIContentPrefService2 (part 4: update reftests). r=ehsan 2013-06-05 17:07:55 -07:00
Rick Eyre
76072f4667 Bug 772321 - Implement CSS parsing of writing-mode r=dbaron 2013-05-28 12:00:49 -04:00
Scott Johnson
154db4f170 Bug 877160: Backout patch for bug 794693 due to regressions. [r=mats] 2013-06-04 10:43:08 -05:00
David Zbarsky
4e666d420d Bug 779395 - Add support for skew transforms to compositor-driven animations r=dbaron 2013-05-21 18:22:44 +08:00
Timothy Nikkel
c3a504ac61 Bug 878612. Make sure to pass through the background painting flags through in all cases. r=matt.woodrow 2013-06-03 23:49:03 -05:00
Joe Drew
c1f4978ba3 Bug 878062 - Don't call TryOptimizeToImageLayer if we are definitely not going to optimize to an image layer, since it uses lots of memory. r=mattwoodrow 2013-06-03 10:57:06 -04:00
Kartikaya Gupta
7a734ca654 Bug 877728 - Convert the page rect passed to SetFirstPaintViewport to LayerIntRect. r=BenWa 2013-06-03 09:58:34 -04:00
Kartikaya Gupta
87e727d3cd Bug 877728 - Convert a couple of nsInt* variables to LayerInt*. r=BenWa 2013-06-03 09:58:07 -04:00
Kartikaya Gupta
ad6e359f34 Bug 877728 - Convert the scroll offset out-param to SyncViewportInfo from nsIntPoint to ScreenPoint. r=BenWa
Also deletes a bunch of dead code, and makes some variables local
variables instead of member variables since they are only used in
a single function and don't need to be persisted.
2013-06-03 09:53:32 -04:00
Kartikaya Gupta
e1db212150 Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa 2013-06-03 09:52:44 -04:00
Michael Harrison
947ff9b473 Bug 772153 - Add support for unprefixed cursor:zoom-in/out. r=bz 2013-06-03 08:49:38 -04:00
David Zbarsky
a6b5f8508d Bug 788549: Fix matrix animations (patch hunk got lost in rebasing) r=dbaron 2013-06-02 13:35:17 -07:00
Tim Taubert
a3515f5036 Bug 453650 - implement reflow observers for docShells; r=bz 2013-06-01 12:00:12 +02:00
David Zbarsky
33132a9bdb Bug 788549 Part 9: matrix() animations interpret arguments in wrong order r=dbaron 2013-05-31 11:06:56 -07:00
Joe Drew
c4c196188f Bug 867770 - Add a pref as to whether we layerize animated images, disabled by default. r=mattwoodrow 2013-05-30 21:33:17 -04:00
Joe Drew
9a5d492da7 Bug 867770 - Layerize all animated images. r=mattwoodrow 2013-05-30 09:50:50 -04:00
Kartikaya Gupta
99a4283e34 Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe 2013-05-30 21:30:13 -04:00
Avi Halachmi
8690f6200c Bug 856427: Add vsync support at the refresh driver (Windows DWM). r=vlad 2013-05-29 13:31:16 +03:00
Matt Woodrow
d9dcc3425f Bug 877516 - Add MOZ_DUMP_INVALIDATION to enable invalidation logging. r=roc 2013-05-30 14:43:43 +12:00
Matt Woodrow
0d5f8e14b1 Bug 869133 - Recycle the ImageLayers created by nsDisplayImage/nsDisplayBackgroundImage instead of recreating them each time. r=roc 2013-05-30 14:42:28 +12:00
Arnaud Sourioux
8795dbd54b Bug 875367 followup: Manually annotate ScrollSelectionIntoView and RepaintSelection in nsPresShell.h as MOZ_OVERRIDE. r=dholbert 2013-05-29 12:37:50 -07:00
Arnaud Sourioux
043b0fd84c Bug 875367: Annotate ~280 more methods with MOZ_OVERRIDE in /layout. r=dholbert 2013-05-29 12:37:49 -07:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Anthony Jones
015375f697 Bug 868047 - Use a PresShell ID to eliminate stale APZC events; r=roc,benwa 2013-05-24 09:43:36 +08:00
Markus Stange
66fb5cfd84 Bug 676241 part 8: Remove alternate layer manager handling. r=mattwoodrow 2013-05-23 16:49:18 +02:00
Markus Stange
ea03392fcc Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc 2013-05-22 11:50:57 +02:00
David Zbarsky
4913e4b3a3 [Bug 875204] Merge OMTA prefs r=nrc 2013-05-23 15:09:26 +08:00
Joe Drew
bf2fe9fee2 Bug 867758 - Synchronize the first time we call RequestRefresh() on an image with the time we call it on images with the same first frame delay, and set the animation start time on those images to the refresh driver's time stamp for accuracy. r=seth
--HG--
extra : rebase_source : ed68e52d1918a8d5ec014579ac01fef48338f3ca
2013-05-17 16:57:26 -04:00
Scott Johnson
33874f92a8 Bug 794693: Fix font inflation crash by reordering logic in nsHTMLReflowState::InitResizeFlags(). [r=mats] 2013-05-23 11:14:12 +08:00
Bobby Holley
54ef3d2952 Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor 2013-05-22 10:05:26 -06:00
Markus Stange
7b49365fa6 Backed out 2 changesets (bug 871590) CLOSED TREE 2013-05-22 14:10:46 +02:00
David Zbarsky
8c198c4399 Bug 874770 - Always enable OMTA throttling r=nrc 2013-05-22 18:31:03 +08:00
Markus Stange
7343081400 Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc
--HG--
extra : rebase_source : dc4c5dff4f0a392e096976b355bcf2140f7b2879
2013-05-22 11:50:57 +02:00
Daniel Holbert
c5ae959774 Bug 864553 part 2: Minor cleanup to formerly-ifdef-MOZ_FLEXBOX code. r=dbaron 2013-05-22 11:44:52 +08:00
Daniel Holbert
cc7305fa0e Bug 864553 part 1: Remove ifdefs for MOZ_FLEXBOX and configure.in MOZ_FLEXBOX chunk. r=dbaron 2013-05-22 11:44:25 +08:00
Boris Zbarsky
f2de87b7cb Bug 851514. Make sure that we add the parent frame before its kids when constructing a scrollable block, so that things will appear in the right order in fixed-pos lists. r=dbaron 2013-05-21 14:15:30 -04:00
Ed Morley
a8ea0bbb16 Backed out changeset 1d056bb94292 (bug 779395) for reftest failures on Tegras 2013-05-21 14:03:43 +01:00
David Zbarsky
c0eb3c766a Bug 779395 - Add support for skew transforms to compositor-driven animations r=dbaron 2013-05-21 18:22:44 +08:00
Martijn Wargers
02815fd7eb Bug 367498 - crash tests 2013-05-19 18:20:21 +00:00
Mats Palmgren
83ecb92ec5 Bug 873083 - Disable the crash test for bug 813372 on all platforms except Linux. 2013-05-18 19:37:30 +00:00
Mats Palmgren
7858c99743 Bug 873083 - Disable the crash test for bug 813372 on Windows. 2013-05-18 19:34:31 +00:00
Martijn Wargers
09f76b9ab2 Bug 589787 - crash test 2013-05-18 18:38:34 +00:00
XtC4UaLL
57010c1407 Bug 507119 - crash test 2013-05-18 18:38:33 +00:00
David Zbarsky
8649b6e814 Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger 2013-05-17 13:17:53 -07:00
Mats Palmgren
9d44be346b Bug 813372 - Tweaking the test a bit to try to avoid intermittent failures. 2013-05-17 16:36:25 +00:00
Benjamin Peterson
68051dd3dd Bug 873309 followup - Killed another unused function. r=me CLOSED TREE 2013-05-16 20:44:04 -05:00
David Zbarsky
4a4ca2b48f Bug 873309 - Remove unused GetAllInFlowPaddingRects(Union) function r=roc 2013-05-16 17:46:10 -07:00
Olli Pettay
5a66184a5b Bug 873101 - Remove nsRefreshDriver::ClearAllImageRequests(), r=vlad
--HG--
extra : rebase_source : 0edc481e6d4f79b299747342dbfdb62564852cdc
2013-05-16 19:19:25 +03:00
Scott Johnson
988caba6b9 Bug 862763: Cache whether font size inflation is enabled in the pres shell for efficiency. [r=dbaron] 2013-05-16 10:06:03 -05:00
Ted Mielczarek
110919af49 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Robert O'Callahan
7f35fbcd56 Bug 868082. Allow SetIsFixedPosition to be used on layers with transforms. In CompositorParent, use the animated transform value as the base transform in CompositorParent::TransformFixedLayers when it has been set by the animation sampler. r=cwiis
--HG--
extra : rebase_source : 3b809428bf8740753a98defc30ad7b7d96339442
2013-05-17 00:34:24 +12:00
Phil Ringnalda
2cef52d052 Back out 4d755ea39a56:81d152795bea (bug 798843) for style mochitest failures 2013-05-15 20:53:30 -07:00
Edwin Flores
2107f8d1f5 Bug 798843 - Rename -moz-objectFill, -moz-objectStroke, -moz-objectValue to context-fill, context-stroke, context-value r=dbaron 2013-05-16 14:35:15 +12:00
Olli Pettay
724bf96a38 Bug 862309, remove useless warning about missing presshell, r=mats
--HG--
extra : rebase_source : 5f77555a3a24bc27cb3ce4422d6f06e1d4b97ab3
2013-05-15 14:38:05 +03:00
JosiahOne
b29a8fe26f Bug 868432 - Animate scrolling when Home/End button is pressed. r=roc 2013-05-07 14:41:09 -04:00
Matt Woodrow
f46eb6a53e Bug 866470 - Make the style context lookup in nsDisplayList match what nsCSSRendering does. r=roc 2013-05-08 15:47:31 +12:00
Scott Johnson
0a7e2f0265 Bug 836565, Part 2: Perform a horizontal resize reflow instead of a full reflow when reflowing on zoom to get better performance. [r=dbaron] 2013-05-14 14:24:14 -05:00
Arnaud Sourioux
9a8c47ea32 Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert 2013-05-14 09:33:23 -07:00
Jesse Ruderman
4c1d751d80 Bug 772306 - crash test 2013-05-14 10:36:50 +02:00
Jonathan Watt
bf6b128469 Bug 870816 - Replace DEBUG_INVALIDATIONS with a pref called nglayout.debug.invalidation. r=mattwoodrow 2013-05-14 00:47:02 +01:00
Jesse Ruderman
6933b06aec Bug 788360 - crash test 2013-05-13 16:28:29 +02:00
Jesse Ruderman
1b61611731 Bug 793848 - crash test 2013-05-13 16:28:29 +02:00
Abhishek Arya
ce651854a8 Bug 802902 - crash test 2013-05-13 16:28:29 +02:00
Jesse Ruderman
079279c10f Bug 822865 - crash test 2013-05-13 16:28:28 +02:00
Nils
6237c44110 Bug 833604 - crash test 2013-05-13 16:28:28 +02:00
Loic
372bcfb211 Bug 835056 - crash test 2013-05-13 16:28:28 +02:00
Jesse Ruderman
4f0ed2919d Bug 852293 - crash test 2013-05-13 16:28:28 +02:00
Ed Morley
36fb30076b Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Mike Shal
02469b68e2 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Jonathan Watt
78d6740b24 Bug 870192 - Prevent rounding issues in gfxMatrix::ScaleFactors from combinging with timing issues to cause sporadic invalidation of transforming elements. r=roc 2013-05-13 00:12:19 +01:00
Jesse Ruderman
f29ba12d9d Bug 474075 - crash test 2013-05-12 23:09:31 +02:00
David Baron
65a089b1eb Bug 462392 - crash test 2013-05-12 23:09:31 +02:00
Martijn Wargers
d6137a10b2 Bug 401734 - crash tests 2013-05-12 23:09:30 +02:00
dror3go
d3b14b469e Bug 386476 - crash test 2013-05-12 23:09:29 +02:00
Jonathan Watt
c16760065b Bug 870443 - Add warning comment to DoApplyRenderingChangeToTree. r=dholbert
--HG--
extra : rebase_source : d6f6ba5f17f42f4606edc7c89f004d5782de447a
2013-05-12 10:25:10 +01:00
Jonathan Watt
502481f426 Bug 870415 - Simplify invalidation of SVG in DoApplyRenderingChangeToTree. r=dholbert
--HG--
extra : rebase_source : c189f97241b6ef3534c1ddffc2bfc426f892d4a5
2013-05-12 10:15:02 +01:00
L. David Baron
3a025918c4 Bug 828312 patch 4.5: Pass the same aMinChange to the top level of a ReResolveStyleContext that we would for the recursive calls, rather than including previous continutaions in aMinChange. r=bzbarsky 2013-05-10 17:35:08 -07:00
L. David Baron
11adad7007 Bug 828312 patch 4: Remove unused nsIPresShell::StyleChangeReflow. r=bzbarsky 2013-05-10 17:35:08 -07:00
L. David Baron
cffbeef3ff Bug 828312, patch 1: Remove unneeded assignment to nonInheritedHints, which is not needed because we will do difference computation on the style context in this codepath anyway. r=bzbarsky 2013-05-10 17:35:08 -07:00
Frédéric Wang
32e5e4ebf3 Bug 745131 - Improve how <semantics> determine the visible child. r=karlt
--HG--
rename : layout/mathml/nsMathMLmactionFrame.cpp => layout/mathml/nsMathMLSelectedFrame.cpp
rename : layout/mathml/nsMathMLmactionFrame.h => layout/mathml/nsMathMLSelectedFrame.h
2013-05-10 08:40:44 -04:00
Robert O'Callahan
5e25d35f87 Bug 866579. Don't bother adding an arena-allocated DisplayItemClip to mDisplayItemClipsToDestroy if its destructor isn't going to do anything interesting. r=mattwoodrow
--HG--
extra : rebase_source : b8b64d9697cd2f19a42ff751cbfb7a1566f28209
2013-05-07 22:16:30 -07:00
Phil Ringnalda
a79e78ba79 Back out ff30118a4799 (bug 868432) for mochitest-chrome failures 2013-05-07 22:11:25 -07:00
JosiahOne
7354eb0c86 Bug 868432 - Animate scrolling when Home/End button is pressed. r=roc 2013-05-07 14:41:09 -04:00
Mats Palmgren
7ade6fec14 Bug 868906 - Make GetChildFrameContainingOffset() stable. r=roc 2013-05-07 20:48:59 +02:00
Mats Palmgren
10834724ee Bug 867530 - Make the current poison consumers use the new API. r=roc 2013-05-07 20:48:59 +02:00
Mats Palmgren
401785134b Bug 867530 - Move PresArena poisoning code to MFBT. r=roc
--HG--
rename : layout/base/tests/cpp-tests/TestPoisonArea.cpp => mfbt/tests/TestPoisonArea.cpp
2013-05-07 20:48:59 +02:00
Sumedh Shekhar
427e7549ee Bug 804742 - EnsureStringLength doesn't work. f=Ms2ger, r=ehsan 2013-05-08 00:52:52 +09:00
Trevor Saunders
3f07541a7a bug 856779 - outparamdel nsIDocument::CreatePresShell() r=dholbert 2013-04-01 06:26:37 -04:00
Trevor Saunders
3eb62774c5 bug 856779 - make PresShell::Init() return void and devirtualize it r=bz 2013-05-02 09:22:59 -04:00
Daniel Holbert
be6e1d5836 Bug 855841: Remove unused constants NS_STYLE_CLEAR_BLOCK, NS_STYLE_CLEAR_COLUMN, NS_STYLE_CLEAR_PAGE. r=mats r=fantasai 2013-05-02 16:01:11 -07:00
Boris Zbarsky
c3b61c3b32 Bug 866545. Remove the obsolete dom.enable_performance preference, so we can rely on things like performance.now() existing. r=smaug 2013-05-01 23:44:11 -04:00
David Zbarsky
8cde3feac3 Bug 866575: Throw when creating a pattern with a large source r=nrc, mattwoodrow 2013-05-01 22:04:08 -04:00
Scott Johnson
ee082a1e4c Bug 861106: Add null check for mDocument in SetTextZoom, SetFullZoom, and SetMinFontSize to prevent crash on tab close. [r=blassey] 2013-05-01 17:21:47 -05:00
Matt Woodrow
6ea227e7a6 Bug 865104 - Implement a BasicCompositor. r=nrc 2013-05-01 12:42:05 +12:00
Andreas Gal
c7ef1e4893 Bug 867047 - remove caret theming support and the Gtk2 implementation r=roc 2013-04-30 12:17:08 -07:00
Mats Palmgren
76d90df168 Bug 866588 - Check that the frame IsBidiSplittable before changing a fluid continuation to non-fluid. r=smontagu 2013-04-30 12:37:07 +02:00
Mats Palmgren
aa60079743 Bug 865602 - FieldSet block may be null for overflow containers. r=roc 2013-04-29 14:11:03 +02:00
Masatoshi Kimura
761bf787f0 Bug 859018 - Remove the MSVC exemption for FAIL_ON_WARNINGS in layout. r=dbaron 2013-04-28 19:02:35 +09:00
Aryeh Gregor
659b807986 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Joe Drew
e035b7c8eb Bug 832400 - Add an imgIContainer flag HIGH_QUALITY_SCALING that controls whether to use the high quality scaler, and only use it when we're drawing to a window. r=tn 2013-04-25 18:08:58 -04:00
Gijs Kruitbosch
27cb228e61 Bug 852420 - Suppress NeededToWrapXUL warning for generated content, r=bz
--HG--
extra : rebase_source : e6aa39b0e7ea7faa3c95cd5a4fd5f87058441c16
2013-04-24 13:08:17 +02:00
Boris Zbarsky
16f88da803 Bug 753453. Add a way for us to pass a high-res timestamp to requestAnimationFrame callbacks. r=roc 2013-04-25 11:13:21 -04:00
Jonathan Watt
ca0209b32f Bug 864832 - Get rid of the majority of the remaining nsSVGUtils::InvalidateBounds calls, except for those related to transforms and nsSVGTextFrame2. r=mattwoodrow 2013-04-25 10:18:42 +01:00
Mats Palmgren
871e89e62a Bug 844178 - Make RecomputePosition adjust the CB size as ViewportFrame::Reflow does. r=tn 2013-04-24 18:17:55 +02:00
Nicolas Silva
391cf268bb Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
Cykesiopka
bd3f221ccc Bug 645402 - Remove ToInteger() workarounds in mozilla-central. r=bz 2013-04-24 08:36:09 -04:00
Jonathan Watt
364cd0025f Bug 864771 - Stop calling nsSVGUtils::InvalidateBounds in DoApplyRenderingChangeToTree, and use DLBI instead. r=mattwoodrow 2013-04-24 10:13:28 +01:00
Robert O'Callahan
fd709d6e6f Bug 860524. Remove hacky (and buggy) pseudo-destruction of DisplayItemClips created by GetCurrentClip; ensure that they're all destroyed properly when the arena goes away, by tracking them explicitly in nsDisplayListBuilder. r=mattwoodrow
--HG--
extra : rebase_source : f5d572ed37255b9036ce2678645788768e0a52ae
2013-04-15 17:11:10 +12:00
David Zbarsky
82391d9a22 Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-24 00:22:37 -04:00
Mats Palmgren
43d861e734 Bug 855898 - Limit ProcessChildren recursion depth to avoid exhausting stack space and crashing. r=bzbarsky 2013-04-23 13:37:18 +02:00
Mats Palmgren
68558be08c Bug 858459 - Ignore clicks that have no target content or frame to avoid dispatching it to the document that the pres shell otherwise does. r=smaug 2013-04-23 13:37:18 +02:00
Ehsan Akhgari
8d3203e0f8 Backed out changeset fdaa0659fe13 (bug 863324) because of build bustage on a CLOSED TREE
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 18:12:15 -04:00
Nicolas Silva
ab0ca9312a Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 22:51:11 -04:00
Ryan VanderMeulen
25f1906153 Backed out changeset ddf944cc292d (bug 863324) for Android bustage on a CLOSED TREE.
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 14:47:16 -04:00
Nicolas Silva
3b0ce69477 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 18:07:48 -04:00
David Zbarsky
3c98334d35 Backout 2201d650ac90 for not building on Windows on a CLOSED TREE 2013-04-19 18:57:56 -04:00
David Zbarsky
691abfe5eb Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-19 18:18:33 -04:00
David Zbarsky
f4478a4b6b [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 18:18:33 -04:00
Ryan VanderMeulen
5376b3dcca Backed out changeset 4a55715677d7 (bug 856807) for intermittent Linux32 reftest-ipc timeouts. 2013-04-19 11:17:21 -04:00
Ed Morley
d84e7e16cb Backed out changeset dc2ced1dd175 (bug 860524) for reftest failures 2013-04-19 13:51:24 +01:00
Robert O'Callahan
2817c39fd2 Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow 2013-04-20 00:02:13 +12:00
Robert O'Callahan
037af48e84 Bug 862180. Part 1: Remove null checks on the result of nsDisplayItem::GetUnderlyingFrame(). r=mattwoodrow 2013-04-20 00:01:41 +12:00
Robert O'Callahan
5667f99ae6 Bug 849996. Check the correct frame for transforms in PushAbsoluteContainingBlock --- it might not be the containing block itself. r=bzbarsky 2013-04-08 16:09:35 +12:00
Robert O'Callahan
305561c096 Bug 860524. Remove hacky (and buggy) pseudo-destruction of DisplayItemClips created by GetCurrentClip; ensure that they're all destroyed properly when the arena goes away, by tracking them explicitly in nsDisplayListBuilder. r=mattwoodrow 2013-04-15 17:11:10 +12:00
Robert O'Callahan
223146b735 Bug 856807. Add apparently-pointless call to SetClipRect(nullptr) to avoid Android regression. r=mattwoodrow 2013-04-19 22:04:04 +12:00
David Zbarsky
6595a220f8 [Bug 862129] Cleanup nsDocument r=Ms2ger 2013-04-19 04:49:20 -04:00
Ben Kelly
28135bf977 Bug 847279 - Fix hardcoded path names in mochitests to match relativesrcdir. r=mbrubeck 2013-04-18 10:32:25 -04:00
L. David Baron
257471358c Bug 847279 - Fix incorrect relativesrcdir in other mochitest makefiles. r=mbrubeck 2013-04-18 10:32:25 -04:00
Daniel Holbert
05059788e9 backout 8e0af273404e (Bug 847279) for android M-8 orange 2013-04-17 17:13:02 -07:00
Daniel Holbert
e423843dbb backout b1096811620f (Bug 847279) for android M-8 orange 2013-04-17 17:12:10 -07:00
Ben Kelly
80f5568437 Bug 847279 - Fix hardcoded path names in mochitests to match relativesrcdir. r=mbrubeck 2013-04-17 18:00:14 -04:00
L. David Baron
9cad230120 Bug 847279 - Fix incorrect relativesrcdir in other mochitest makefiles. r=mbrubeck 2013-04-17 18:00:14 -04:00
Mats Palmgren
109767f361 Bug 485149 - Using box-shadow on a <fieldset> with <legend> does not follow box shape. r=roc 2013-04-17 22:16:14 +02:00
Mats Palmgren
3022251072 Bug 701504 - Null out all BidiParagraphData::mPrevFrame when starting a new block. r=smontagu 2013-04-17 22:16:14 +02:00
Robert O'Callahan
31d25be8bf Bug 860579. Make FindContentInDocument use the frame tree as much as possible. r=mattwoodrow
--HG--
extra : rebase_source : c4d05d33fdc6b2bcc99437808f78ada8770f9263
2013-04-16 18:14:56 +12:00
Scott Johnson
4a169761b4 Bug 836565, Part 1: Make pinch gestures perform reflow-on-zoom operations only once to improve performance. [r=kats] 2013-04-16 16:29:04 -05:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Daniel Holbert
eef75b0252 Bug 847211: When reparenting style contexts, skip flex-item style fixup if our element is the root of an anonymous subtree. r=bz 2013-04-16 08:33:41 -07:00
Ms2ger
dbbebc6ee4 Backout changesets 3581b3d60886, cff9eab960e3, d390c8c21882 for Android foreignObject-fixedpos-01.html failures on a CLOSED TREE. 2013-04-16 11:40:41 +02:00
Robert O'Callahan
d13d3fcf4b Bug 860579. Make FindContentInDocument use the frame tree as much as possible. r=mattwoodrow 2013-04-16 18:14:56 +12:00
Robert O'Callahan
68755dbc46 Bug 849996. Check the correct frame for transforms in PushAbsoluteContainingBlock --- it might not be the containing block itself. r=bzbarsky 2013-04-08 16:09:35 +12:00
Mats Palmgren
b82fc88ef0 Bug 856368 - Convert some comments into proper doc-comments. r=roc 2013-04-15 22:00:06 +02:00
Mats Palmgren
772df09e15 Bug 856368 - Inline the AllocateBy* and FreeBy* methods into the header. r=roc 2013-04-15 22:00:06 +02:00
Mats Palmgren
60e56dc95d Bug 856368 - Adjust memory reporter SizeOf methods accordingly. r=roc 2013-04-15 22:00:06 +02:00
Mats Palmgren
cdbcd9c96c Bug 856368 - Merge nsPresArena::mState into nsPresArena itself. r=roc 2013-04-15 22:00:06 +02:00
Mats Palmgren
c3b4843c39 Bug 856368 - Remove DEBUG_TRACEMALLOC_PRESARENA. r=roc 2013-04-15 22:00:06 +02:00
Jonathan Watt
082ba25ac4 Bug 861805 - Stop layers from snapping transforms for SVG content. r=roc 2013-04-15 13:30:28 +01:00
Chris Lord
f67f2ed873 Bug 856932 - Fix async scrolling of auto-positioned fixed position elements. r=nrc
Layers representing auto-positioned fixed position elements should not be
offset by the fixed layer margins.
2013-04-15 09:31:48 +01:00
Matt Woodrow
30d119577c Bug 859630 - Use the PresContext's document in FindContentInDocument when the frame doesn't have an associated nsIContent. r=roc 2013-04-15 18:55:36 +12:00
Matt Woodrow
c588729b56 Bug 859526 - Null check parent frames when wrapping preserve-3d display lists. r=roc 2013-04-15 18:55:34 +12:00
Matt Woodrow
4e46ff4088 Bug 861042 - Manually invalidate frames with both opacity and svg effects, as this isn't caught by DLBI. r=roc 2013-04-15 18:55:32 +12:00
Joshua Cranmer
c7aade5e1f Bug 856108 - Port static analyses to clang, part 2e: use MOZ_STACK_CLASS in layout. r=mats 2013-04-11 22:20:45 -05:00
Daniel Holbert
cee9a2f474 Bug 851379 part 1: Rename ComputeWidthDependentValue to ComputeCBDependentValue. r=mats 2013-04-11 07:49:53 -07:00
Jonathan Watt
8c75dcc503 Bug 859305 - Stop the browser app from panning the page when the user drags an <input type=range>'s thumb in the out-of-process case. r=smaug 2013-04-11 10:11:54 +01:00
Cameron McCormack
da07344e3e Bug 860370 - Undo functionality change from bug 848973. r=roc 2013-04-11 18:40:12 +10:00
Aryeh Gregor
c446dbef0c Bug 857102 part 2 - Make NS_NewTextNode and nsIDocument::CreateTextNode infallible; r=bz 2013-04-04 15:01:08 +03:00
Chris Lord
9beede6ae7 Bug 859749 - Fix building with --enable-dump-painting and --disable-debug. r=mattwoodrow
DisplayItemClip::ToString should be in a MOZ_DUMP_PAINTING #ifdef, rather than
a generic DEBUG #ifdef.
2013-04-10 10:55:00 +01:00
Robert O'Callahan
53c5c3d2c4 Bug 851445. When saving a frame scroll position, if we're in the process of trying to scroll to a saved scroll position, save the desired position instead of the actual current position. r=mats
--HG--
extra : rebase_source : 4aa4110d32db5f26192c0e4b6fa3185d1ed2c073
2013-03-21 15:44:37 +13:00
Cameron McCormack
d8dfb08d58 Bug 848973 - Make nsStyleDisplay::IsBlockInside() and friends work only on style structs for the passed in frame and document them. r=roc
--HG--
extra : rebase_source : a8559b62124bec058f2857d50cf7f65f176c3727
2013-04-07 09:40:07 +10:00
Simon Montagu
b9562c3d30 The test for bidi isolated subparagraphs should be > 0, not > 1. Bug 859093, r=roc 2013-04-08 23:25:34 -07:00
Ralph Giles
12b1c5bee2 Bug 857022 - Remove MOZ_MEDIA from the layout module. r=cpearce
Enable this code unconditionally.
2013-04-04 15:08:00 -07:00
Trevor Saunders
39490e860d bug 856779 - remove nsFrameManager::Init() r=dholbert 2013-03-31 18:43:04 -04:00
Trevor Saunders
5143df6d46 bug 856779 - make nsStyleSet::Init() return void r=dholbert 2013-03-31 18:08:29 -04:00
Trevor Saunders
6c61278b66 bug 856779 - kill NS_NewPresShell() r=bz 2013-03-31 16:39:27 -04:00
David Zbarsky
785f24e28f Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 2 r=Ms2ger 2013-04-05 20:44:26 -04:00
Seth Fowler
a6b3f30c49 Bug 826093 (Part 4) - Use ClippedImage instead of ExtractFrame for border-image. r=bz
--HG--
extra : rebase_source : 58e1b9169e5ca0b61066c04ebb587879458bd72f
2013-04-05 14:14:53 -07:00
Seth Fowler
3d091cc49b Bug 826093 (Part 3) - Use ClippedImage instead of ExtractFrame for -moz-image-rect. r=bz
--HG--
extra : rebase_source : 7abecbcfcda5666e6b23895dbf6cd42991044914
2013-04-05 14:14:37 -07:00
Chris Lord
aeade67d9c Bug 854099 - Make nsPresShell::ScrollToShowRect take fixed position margins into account. r=roc
When fixed position margins are set, it indicates that chrome obscures the
viewport. Inflate the target rect by these margins when calling
ScrollToShowRect on the root scrollable frame.
2013-04-05 14:34:56 +01:00
Robert O'Callahan
bf594d63fa Bug 841192. Part 16: Take plugin's own clipping into account when computing the region for its window. Make SortByContentOrder handle cases where display items in the same list come from different documents. r=mattwoodrow
--HG--
extra : rebase_source : f39deb6250c7aef71d6cd3a62df43785a3bfc7b1
2013-04-05 21:30:34 +13:00
Robert O'Callahan
68e0be54fa Bug 841192. Part 15: Move DisplayListClipState clipping methods to AutoSaveRestore and AutoClipMultiple helper classes for safer usage. r=mattwoodrow
--HG--
extra : rebase_source : aa674d4fa93f1b7c2b4dd84ba8d888cc9f289265
2013-04-05 00:36:45 +13:00
Robert O'Callahan
7cbe6380ff Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow
This patch does several things. Sorry.

In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we
push clip state onto the nsDisplayListBuilder and give the display items an
explicit clip when they're created.

In FrameLayerBuilder, we use the explicit clips we find on display items instead of
computing our own.

We remove nsDisplayClip and everything that depends on it.

We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and
nsDisplayOptionEventGrabber removed in a previous patch, there are no
anonymous child lists.

nsDisplayItem::TryMerge implementations need to make sure they have the same
clip before being merged.

I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects.
As far as I can tell, it isn't actually necessary.

--HG--
extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
2013-03-04 22:56:02 +13:00
Robert O'Callahan
62aa179c29 Bug 841192. Part 13: Rename nsFrame::ApplyOverflowClipping to ShouldApplyOverflowClipping. r=mattwoodrow
We rename nsFrame::ApplyOverflowClipping to nsFrame::ShouldApplyOverflowClipping
to reflect the fact that it doesn't cause any clipping.

--HG--
extra : rebase_source : d3bd1ef902276526b37b27c510a8d3a9db6416dc
2013-03-07 00:08:16 +13:00
Robert O'Callahan
53c6c63412 Bug 841192. Part 12: Move RoundedRectIntersectsRect from nsDisplayList.cpp to nsLayoutUtils. r=mattwoodrow
--HG--
extra : rebase_source : aa0ad96c363b70895b068a6d4805f9164cc03b27
2013-03-07 00:08:15 +13:00
Robert O'Callahan
2c2eff00fe Bug 841192. Part 10: Add extra APIs to DisplayListClipState to constrain the current clip, and an Auto class for safe saving and restoring. r=mattwoodrow
--HG--
extra : rebase_source : 4ec25ababe17ac4b828a9b0a00457fe9d00b560a
2013-03-07 00:08:13 +13:00
Robert O'Callahan
d993f02e40 Bug 841192. Part 9: Add extra APIs to DisplayItemClip to set the current state, intersect with another DisplayItemClip, test intersection with a rect, translate, and provide easy access to a DisplayItemClip object which doesn't clip anything. r=mattwoodrow
--HG--
extra : rebase_source : 94b03b7d828c9044ac6ebbeaf51f9f0b4bde1ce2
2013-03-07 00:08:11 +13:00
Robert O'Callahan
96f57a5820 Bug 841192. Part 8: On encountering out-of-flow frames during display list construction, save their clip rect as well as their dirty rect for later use when we traverse the placeholder. r=mattwoodrow
--HG--
extra : rebase_source : 3a41e2eb4940f1ae7c0748f27211a7d0cf7ad638
2013-03-04 22:56:02 +13:00
Robert O'Callahan
c57aa1a36d Bug 841192. Part 6: Save and restore DisplayListClipState when we start building display lists for a frame. r=mattwoodrow
--HG--
extra : rebase_source : 9c9cb95acfb4d802ecf045e6d4c30811af647218
2013-03-04 22:56:01 +13:00
Robert O'Callahan
ab135d1d50 Bug 841192. Part 5: Add "current DisplayListClipState" to nsDisplayListBuilder. r=mattwoodrow
--HG--
extra : rebase_source : e8f99c3f0e6f9d516bfbed189ee42ad16cb8a6ee
2013-03-04 22:56:01 +13:00
Robert O'Callahan
bb660a7e7e Bug 841192. Part 4: Create DisplayListClipState. r=mattwoodrow
--HG--
extra : rebase_source : 90eb025d01cec4d3e52473ebc27ae411f42c0439
2013-03-04 22:56:00 +13:00
Robert O'Callahan
7fde7ae78c Bug 841192. Part 3: Make DisplayItemClip members private and encapsulate them in a real API. r=mattwoodrow
--HG--
extra : rebase_source : d6076e123603de9a1c48681f527719cd41b09883
2013-03-04 22:56:00 +13:00
Robert O'Callahan
74c9caea47 Bug 841192. Part 2: Move FrameLayerBuilder::Clip to DisplayItemClip. r=mattwoodrow
--HG--
extra : rebase_source : 2950e5dd64e217a406ede2dc9f6682b5e0540975
2013-03-04 22:55:59 +13:00
David Zbarsky
0180c76147 Bug 856962: Move Touch to its own file r=Ms2ger
--HG--
rename : content/events/src/nsDOMTouchEvent.cpp => content/events/src/Touch.cpp
rename : content/events/src/nsDOMTouchEvent.h => content/events/src/Touch.h
2013-04-05 04:49:00 -04:00
Phil Ringnalda
d372c62b0a Backout 051cf1c1449c:521215a7b32e (bug 826093) for Android reftest failure 2013-04-04 21:06:58 -07:00
Nicholas Cameron
90c04a5e03 Bug 856272; don't round our mask size too early so we get a proper transform for small surfaces. r=roc 2013-04-05 16:16:38 +13:00
Seth Fowler
99828777ee Bug 826093 (Part 4) - Use ClippedImage instead of ExtractFrame for border-image. r=bz 2013-04-04 19:06:42 -07:00
Seth Fowler
d2e8157451 Bug 826093 (Part 3) - Use ClippedImage instead of ExtractFrame for -moz-image-rect. r=bz 2013-04-04 19:06:42 -07:00
Matt Brubeck
11834fef4e Back out 795e9ec338a7 (bug 856272) because of test failures 2013-04-04 17:40:16 -07:00
Nicholas Cameron
04b8d0946c Bug 856272; don't round our mask size too early so we get a proper transform for small surfaces. r=roc 2013-04-05 12:42:14 +13:00
Ms2ger
2fef74cc6d Merge m-c to m-i. 2013-04-04 14:15:56 +02:00
Ms2ger
5741bbe7d7 Bug 841488 - Part a: Rename nsHTMLSelectElement; r=khuey
--HG--
rename : content/html/content/src/nsHTMLSelectElement.cpp => content/html/content/src/HTMLSelectElement.cpp
rename : content/html/content/src/nsHTMLSelectElement.h => content/html/content/src/HTMLSelectElement.h
2013-04-04 09:03:33 +02:00
Robert O'Callahan
18e132b4d8 Backout bug 851445 for test failure
--HG--
extra : rebase_source : 3314e6679f15134324d5de09334be14e17aa0790
2013-04-02 18:24:25 +13:00
Robert O'Callahan
34614bb0db Bug 851445. When saving a frame scroll position, if we're in the process of trying to scroll to a saved scroll position, save the desired position instead of the actual current position. r=mats 2013-03-21 15:44:37 +13:00
Matt Woodrow
02007e421a Bug 855233 - Recreate mask layers if the ContainerParameters offset changes. r=nrc 2013-04-04 15:59:24 +13:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Mats Palmgren
76816cc92f Bug 855920 - Remove unused nsDisplayTransform ctor. r=roc 2013-04-01 18:45:18 +02:00
Mats Palmgren
a9123c3d10 Bug 729519 - Allocate heap nsFrameLists from the shell arena. r=bzbarsky
"new nsFrameList()" becomes "new (shell) nsFrameList()".
"delete list" becomes "if (list) list->Delete(shell)" - note also that
an additional assertion was added that list is empty when deleted.

"nsAutoPtr<nsFrameList> list(StealSomeFrames())" becomes
"AutoFrameListPtr list(aPresContext, StealSomeFrames())"
2013-04-01 17:26:02 +02:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Robert O'Callahan
ec730ddcc9 Bug 852489. Part 9: Avoid temporarily setting a layer's visible region to a non-final value. r=mattwoodrow
We currently set the visible region on most container layers twice: once in
BuildContainerLayerFor, where we don't take clipping from ancestors into
account, and then later ProcessDisplayItems calls RestrictVisibleRegionForLayer
which does take ancestor clipping into account. This causes unnecessary
Mutated()s.

In this patch we partially fix this by forcing transform layers to take
account of their ancestor clipping when they set the visible region in
BuildContainerLayerFor. For those layers we don't need to apply
ancestor clipping in ProcessDisplayItems. This is done in a rather
ugly way, by passing the ancestor clip rect as an extra field of
ContainerParameters. To preserve the optimization that prerendered
elements are treated as fully visible regardless of ancestor clipping,
we have to add a flag to turn that clipping off in BuildContainerLayerFor.

In bug 841192 we will be able to fix this in a much nicer way, because we can
get the ancestor clip directly off the nsDisplayItem passed to
BuildContainerLayerFor. But this approach is needed for the B2G18 branch.

--HG--
extra : rebase_source : 26fbe55db84ab96e1e358b8803b0563f42590836
2013-03-22 15:17:29 +13:00
Robert O'Callahan
1cda36613a Bug 852489. Part 6: Don't temporarily reset clip when recycling Thebes/Image/ColorLayers. r=mattwoodrow
--HG--
extra : rebase_source : 28ac0c65edef8d2f0de2e79003370520066508e7
2013-03-22 15:17:29 +13:00
Robert O'Callahan
9c2443b17a Bug 852489. Part 5: Don't temporarily reset clip rect when reusing an existing layer. r=mattwodrow
--HG--
extra : rebase_source : 65ace15a404e25e14c02e514077997554d36f092
2013-03-22 15:17:29 +13:00
Robert O'Callahan
11da332212 Bug 852489. Part 4: Don't call RepositionChild if the layer is already in the right position. r=mattwoodrow
--HG--
extra : rebase_source : 1a3be842c65ab00dc7a72361e522e5343e5de967
2013-03-22 15:17:29 +13:00
Ryan VanderMeulen
6425f8158a Bug 807442 - Make assertion non-fatal. r=hsivonen 2013-03-28 12:13:11 -04:00
Daniel Holbert
b4e66452e3 Bug 848539 part 5: Back out 6bb37077d615, bug 763689 part 2 (style-system handling for min-width:auto). r=dbaron 2013-03-27 23:33:19 -07:00
Daniel Holbert
32bce336fe Bug 848539 part 4: Back out 82f73bdb2237, bug 763689 part 3 (style-system handling for min-height:auto). r=dbaron 2013-03-27 23:33:19 -07:00
David Zbarsky
e1e3d03025 Bug 847120: Remove nsIDOMSVGFilterPrimitiveStandardAttributes r=Ms2ger f=jwatt 2013-03-27 21:23:09 -04:00
Phil Ringnalda
bad5ef10f3 Back out c04824522d46 (bug 848973) for (at least) 10.8 and Android reftest failures
CLOSED TREE
2013-03-26 23:31:57 -07:00
Cameron McCormack
3b054d3f86 Bug 848973 - Document what aFrame means in nsStyleDisplay::IsBlockInside() and friends. r=roc 2013-03-27 15:49:56 +11:00
Ryan VanderMeulen
0922380a81 Backed out changesets 957f2b35ce83:1799cffbba63 (bug 826093) for Android reftest-2 failures (again) on a CLOSED TREE. 2013-03-26 21:56:03 -04:00
Seth Fowler
66aa6729ef Bug 826093 (Part 4) - Use ClippedImage instead of ExtractFrame for border-image. r=bz 2013-03-26 16:29:13 -07:00
Seth Fowler
39d87d0383 Bug 826093 (Part 3) - Use ClippedImage instead of ExtractFrame for -moz-image-rect. r=bz 2013-03-26 16:29:13 -07:00
Ryan VanderMeulen
916f9eafbf Backed out changesets 4b97cab51e59:5e573640e390 (bug 826093) for Android reftest-2 failures on a CLOSED TREE. 2013-03-26 16:52:17 -04:00
Seth Fowler
296bc1c59b Bug 826093 (Part 4) - Use ClippedImage instead of ExtractFrame for border-image. r=bz 2013-03-26 11:56:46 -07:00
Seth Fowler
18733aa6aa Bug 826093 (Part 3) - Use ClippedImage instead of ExtractFrame for -moz-image-rect. r=bz 2013-03-26 11:56:46 -07:00