Phil Ringnalda
83b45dda07
Back out 2332bb3fe186:10f70b8b04fe (bug 858937) for warnings-as-errors bustage
...
CLOSED TREE
2013-06-24 23:42:05 -07:00
Cameron McCormack
e5f75898fc
Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc
2013-06-25 16:01:38 +10:00
L. David Baron
8a290dce94
Bug 858937 patch 1: Add nsLayoutUtils::GetStyleFrame() variant taking nsIContent*, and use it for two existing users of the variant taking nsIFrame*. r=nrc
2013-06-24 22:32:10 -07:00
Catalin Iacob
83b78343dc
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Phil Ringnalda
58606db761
Merge m-c to m-i
2013-06-22 15:56:20 -07:00
David Zbarsky
6453ee5fd6
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
facd193c59
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
dcd5272bcc
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Kartikaya Gupta
dbbc232775
Bug 883646 - Add the LayoutDevicePixel type. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Ryan VanderMeulen
5ee79e7c80
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
2b3c7e6dee
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
f4bbce6956
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-20 16:10:58 -04:00
Kartikaya Gupta
b5023b5e35
Bug 883646 - Add the LayoutDevicePixel type. r=kentuckyfriedtakahe
2013-06-20 16:10:58 -04:00
Robert O'Callahan
3fc13110af
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
0202dcc4d5
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
f3277d1b19
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
784c573287
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
a88b560e9c
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
5d24cf936d
Bug 873944 - Remove unecessarily callers to nsView::Invalidate. r=roc
2013-06-18 19:59:00 +12:00
Daniel Holbert
ea6298b367
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
2b90680712
Bug 880676 - Remove ToCSSIntRectRoundIn and convert APZC::CalculateResolution to return a ScaleFactor. r=kentuckyfriedtakahe
2013-06-14 16:11:44 -04:00
Kartikaya Gupta
fcc7d1ee1f
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
972f8b7e26
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
9f1cd0c0ff
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
b85fcf8ddc
Bug 880676 - Units.h cleanup for easier reading of future patches. r=BenWa
2013-06-14 16:11:30 -04:00
Kartikaya Gupta
8002e884d8
Bug 880676 - Convert some things in APZC::SampleContentTransformForFrame. r=kentuckyfriedtakahe
2013-06-14 16:11:29 -04:00
Kartikaya Gupta
82aba42a5a
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
dbc0077c31
Bug 879011 - Convert nsIntPoint instances in InputData.h to types with units. r=kentuckyfriedtakahe
2013-06-11 18:13:11 -04:00
Ms2ger
e57a8d1b69
Bug 880694 - Improve HTMLSelectElement::IsCombobox and use it in nsCSSFrameConstructor; r=bz
2013-06-12 09:00:08 +02:00
Ms2ger
c84d4f1bdb
Bug 879739 - Use CSSIntRect for nsGenericHTMLElement::GetOffsetRect; r=kats
2013-06-12 09:00:08 +02:00
Ms2ger
51fffc4dce
Bug 878874 - Introduce CSSIntPoint and use it for HTMLImageElement::GetXY(); r=kats
2013-06-12 09:00:08 +02:00
Kartikaya Gupta
c78c6af9f4
Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe
2013-06-11 09:46:51 -04:00
Joe Drew
43c50701d4
Bug 881459 - Don't include nsView.h from nsLayoutUtils.h r=jrmuizel
2013-06-10 17:00:00 -04:00
Kartikaya Gupta
3add0c36b5
Bug 879004 - Add types to the remaining methods in GeckoContentController. r=kentuckyfriedtakahe
2013-06-10 09:05:44 -04:00
Kartikaya Gupta
44de711089
Bug 879004 - Cleanups for consistency; no functional changes. r=BenWa, ketuckyfriedtakahe
2013-06-10 09:05:43 -04:00
Kartikaya Gupta
fe148e065e
Bug 879004 - Change FrameMetrics.mViewport to be a CSSRect. r=BenWa
2013-06-10 09:05:43 -04:00
Kartikaya Gupta
8125a1cac7
Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa
2013-06-10 09:05:42 -04:00
Matt Woodrow
5dbeaae395
Backout Bug 861805 for causing Bug 871729. rs=roc
2013-06-10 12:13:10 +12:00
Timothy Nikkel
6f4a1b5f7f
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
05696aaf04
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
d26b623171
Bug 856270 - Update spell checking to use nsIContentPrefService2 (part 4: update reftests). r=ehsan
2013-06-05 17:07:55 -07:00
Rick Eyre
83c073b612
Bug 772321 - Implement CSS parsing of writing-mode r=dbaron
2013-05-28 12:00:49 -04:00
Scott Johnson
bf29874117
Bug 877160: Backout patch for bug 794693 due to regressions. [r=mats]
2013-06-04 10:43:08 -05:00
David Zbarsky
f118fa9c91
Bug 779395 - Add support for skew transforms to compositor-driven animations r=dbaron
2013-05-21 18:22:44 +08:00
Timothy Nikkel
2838778b53
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
6a09b1c5b5
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
94f09001ff
Bug 877728 - Convert the page rect passed to SetFirstPaintViewport to LayerIntRect. r=BenWa
2013-06-03 09:58:34 -04:00
Kartikaya Gupta
3bec007d2f
Bug 877728 - Convert a couple of nsInt* variables to LayerInt*. r=BenWa
2013-06-03 09:58:07 -04:00
Kartikaya Gupta
d45ced53de
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
83f51d55ac
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
f7b0b83f4a
Bug 772153 - Add support for unprefixed cursor:zoom-in/out. r=bz
2013-06-03 08:49:38 -04:00
David Zbarsky
0e09a4e5f0
Bug 788549: Fix matrix animations (patch hunk got lost in rebasing) r=dbaron
2013-06-02 13:35:17 -07:00
Tim Taubert
1d11d0dc32
Bug 453650 - implement reflow observers for docShells; r=bz
2013-06-01 12:00:12 +02:00
David Zbarsky
d3476eade8
Bug 788549 Part 9: matrix() animations interpret arguments in wrong order r=dbaron
2013-05-31 11:06:56 -07:00
Joe Drew
d90b555d68
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
ac3b24a51f
Bug 867770 - Layerize all animated images. r=mattwoodrow
2013-05-30 09:50:50 -04:00
Kartikaya Gupta
09a6269c24
Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe
2013-05-30 21:30:13 -04:00
Avi Halachmi
f81ce175bd
Bug 856427: Add vsync support at the refresh driver (Windows DWM). r=vlad
2013-05-29 13:31:16 +03:00
Matt Woodrow
038b820cc3
Bug 877516 - Add MOZ_DUMP_INVALIDATION to enable invalidation logging. r=roc
2013-05-30 14:43:43 +12:00
Matt Woodrow
fa247b33af
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
bdc5222535
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
ae5aa58dbc
Bug 875367: Annotate ~280 more methods with MOZ_OVERRIDE in /layout. r=dholbert
2013-05-29 12:37:49 -07:00
Mike Shal
6f32ddf61c
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
f4328c5b39
Bug 868047 - Use a PresShell ID to eliminate stale APZC events; r=roc,benwa
2013-05-24 09:43:36 +08:00
Markus Stange
07bad85738
Bug 676241 part 8: Remove alternate layer manager handling. r=mattwoodrow
2013-05-23 16:49:18 +02:00
Markus Stange
8ade205eb2
Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc
2013-05-22 11:50:57 +02:00
David Zbarsky
bbfd5fd484
[Bug 875204] Merge OMTA prefs r=nrc
2013-05-23 15:09:26 +08:00
Joe Drew
ec50bea94f
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
b32fabcc6b
Bug 794693: Fix font inflation crash by reordering logic in nsHTMLReflowState::InitResizeFlags(). [r=mats]
2013-05-23 11:14:12 +08:00
Bobby Holley
ba05c93769
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
e129b2f0f9
Backed out 2 changesets (bug 871590) CLOSED TREE
2013-05-22 14:10:46 +02:00
David Zbarsky
4b7f63887c
Bug 874770 - Always enable OMTA throttling r=nrc
2013-05-22 18:31:03 +08:00
Markus Stange
359f366595
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
78739a25c8
Bug 864553 part 2: Minor cleanup to formerly-ifdef-MOZ_FLEXBOX code. r=dbaron
2013-05-22 11:44:52 +08:00
Daniel Holbert
568a0e9c03
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
2386f5cd5f
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
6739a9cd44
Backed out changeset 1d056bb94292 (bug 779395) for reftest failures on Tegras
2013-05-21 14:03:43 +01:00
David Zbarsky
4a039e4a6e
Bug 779395 - Add support for skew transforms to compositor-driven animations r=dbaron
2013-05-21 18:22:44 +08:00
Martijn Wargers
f450c62c4f
Bug 367498 - crash tests
2013-05-19 18:20:21 +00:00
Mats Palmgren
998dedb507
Bug 873083 - Disable the crash test for bug 813372 on all platforms except Linux.
2013-05-18 19:37:30 +00:00
Mats Palmgren
aff2473f5a
Bug 873083 - Disable the crash test for bug 813372 on Windows.
2013-05-18 19:34:31 +00:00
Martijn Wargers
c47f014ccc
Bug 589787 - crash test
2013-05-18 18:38:34 +00:00
XtC4UaLL
31c8f87fba
Bug 507119 - crash test
2013-05-18 18:38:33 +00:00
David Zbarsky
66e862daca
Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger
2013-05-17 13:17:53 -07:00
Mats Palmgren
7ff07c285a
Bug 813372 - Tweaking the test a bit to try to avoid intermittent failures.
2013-05-17 16:36:25 +00:00
Benjamin Peterson
125cb1c0c5
Bug 873309 followup - Killed another unused function. r=me CLOSED TREE
2013-05-16 20:44:04 -05:00
David Zbarsky
e38d5abf49
Bug 873309 - Remove unused GetAllInFlowPaddingRects(Union) function r=roc
2013-05-16 17:46:10 -07:00
Olli Pettay
57dc026022
Bug 873101 - Remove nsRefreshDriver::ClearAllImageRequests(), r=vlad
...
--HG--
extra : rebase_source : 0edc481e6d4f79b299747342dbfdb62564852cdc
2013-05-16 19:19:25 +03:00
Scott Johnson
c45503c1dd
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
47d7af59de
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
8b339cab63
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
5ad98aed12
Back out 4d755ea39a56:81d152795bea (bug 798843) for style mochitest failures
2013-05-15 20:53:30 -07:00
Edwin Flores
a4c230a033
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
4aedc83264
Bug 862309, remove useless warning about missing presshell, r=mats
...
--HG--
extra : rebase_source : 5f77555a3a24bc27cb3ce4422d6f06e1d4b97ab3
2013-05-15 14:38:05 +03:00
JosiahOne
4e132d9ee5
Bug 868432 - Animate scrolling when Home/End button is pressed. r=roc
2013-05-07 14:41:09 -04:00
Matt Woodrow
9ef4239ee8
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
a1007ebb6a
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
a57d318afa
Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert
2013-05-14 09:33:23 -07:00
Jesse Ruderman
7c2660682d
Bug 772306 - crash test
2013-05-14 10:36:50 +02:00
Jonathan Watt
8f5ac9f5d6
Bug 870816 - Replace DEBUG_INVALIDATIONS with a pref called nglayout.debug.invalidation. r=mattwoodrow
2013-05-14 00:47:02 +01:00
Jesse Ruderman
1eb532f9b4
Bug 788360 - crash test
2013-05-13 16:28:29 +02:00
Jesse Ruderman
288546dbd1
Bug 793848 - crash test
2013-05-13 16:28:29 +02:00
Abhishek Arya
a37f885043
Bug 802902 - crash test
2013-05-13 16:28:29 +02:00
Jesse Ruderman
7d9ef319f9
Bug 822865 - crash test
2013-05-13 16:28:28 +02:00
Nils
e3b5c6007f
Bug 833604 - crash test
2013-05-13 16:28:28 +02:00
Loic
9b40f95a41
Bug 835056 - crash test
2013-05-13 16:28:28 +02:00
Jesse Ruderman
8ae22a0858
Bug 852293 - crash test
2013-05-13 16:28:28 +02:00
Ed Morley
2710e5d6a9
Backed out changeset 496846474ed3 (bug 864774)
2013-05-13 10:05:49 +01:00
Mike Shal
d2b29f4e87
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
5a8be49450
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
5f031daf28
Bug 474075 - crash test
2013-05-12 23:09:31 +02:00
David Baron
cca0f58c46
Bug 462392 - crash test
2013-05-12 23:09:31 +02:00
Martijn Wargers
2ed7cb55e1
Bug 401734 - crash tests
2013-05-12 23:09:30 +02:00
dror3go
f2b5f40381
Bug 386476 - crash test
2013-05-12 23:09:29 +02:00
Jonathan Watt
36958534b6
Bug 870443 - Add warning comment to DoApplyRenderingChangeToTree. r=dholbert
...
--HG--
extra : rebase_source : d6f6ba5f17f42f4606edc7c89f004d5782de447a
2013-05-12 10:25:10 +01:00
Jonathan Watt
3c475cc281
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
485f35e89c
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
9c274e1932
Bug 828312 patch 4: Remove unused nsIPresShell::StyleChangeReflow. r=bzbarsky
2013-05-10 17:35:08 -07:00
L. David Baron
79987cd17f
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
1e903a00f8
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
5bf8a17b77
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
241555aa18
Back out ff30118a4799 (bug 868432) for mochitest-chrome failures
2013-05-07 22:11:25 -07:00
JosiahOne
1b7d868082
Bug 868432 - Animate scrolling when Home/End button is pressed. r=roc
2013-05-07 14:41:09 -04:00
Mats Palmgren
ca5677b644
Bug 868906 - Make GetChildFrameContainingOffset() stable. r=roc
2013-05-07 20:48:59 +02:00
Mats Palmgren
18e978a375
Bug 867530 - Make the current poison consumers use the new API. r=roc
2013-05-07 20:48:59 +02:00
Mats Palmgren
c05c58a0a5
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
e409da4cb3
Bug 804742 - EnsureStringLength doesn't work. f=Ms2ger, r=ehsan
2013-05-08 00:52:52 +09:00
Trevor Saunders
f14f21d2de
bug 856779 - outparamdel nsIDocument::CreatePresShell() r=dholbert
2013-04-01 06:26:37 -04:00
Trevor Saunders
305b3e3e1f
bug 856779 - make PresShell::Init() return void and devirtualize it r=bz
2013-05-02 09:22:59 -04:00
Daniel Holbert
cdf2e95325
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
a2a1edabb4
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
66bd868e95
Bug 866575: Throw when creating a pattern with a large source r=nrc, mattwoodrow
2013-05-01 22:04:08 -04:00
Scott Johnson
22e9dc076b
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
ace055b629
Bug 865104 - Implement a BasicCompositor. r=nrc
2013-05-01 12:42:05 +12:00
Andreas Gal
5ad33677ae
Bug 867047 - remove caret theming support and the Gtk2 implementation r=roc
2013-04-30 12:17:08 -07:00
Mats Palmgren
8e33678d6c
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
d29548fd77
Bug 865602 - FieldSet block may be null for overflow containers. r=roc
2013-04-29 14:11:03 +02:00
Masatoshi Kimura
edb82c4095
Bug 859018 - Remove the MSVC exemption for FAIL_ON_WARNINGS in layout. r=dbaron
2013-04-28 19:02:35 +09:00
Aryeh Gregor
e78504c9a9
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Joe Drew
730ac999c6
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
2219aae703
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
e3ccbbb148
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
2527fad3e7
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
56fbd10567
Bug 844178 - Make RecomputePosition adjust the CB size as ViewportFrame::Reflow does. r=tn
2013-04-24 18:17:55 +02:00
Nicolas Silva
b18dc950c7
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
ad08e18549
Bug 645402 - Remove ToInteger() workarounds in mozilla-central. r=bz
2013-04-24 08:36:09 -04:00
Jonathan Watt
fd6e233f6d
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
80bc58886e
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
e7c500d80d
Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger
2013-04-24 00:22:37 -04:00
Mats Palmgren
6c2ebcbbff
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
823348cd07
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
34e21f4536
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
e4c0f3bbfd
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
4272b0bfcf
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
b00da928b1
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
5826da3d17
Backout 2201d650ac90 for not building on Windows on a CLOSED TREE
2013-04-19 18:57:56 -04:00
David Zbarsky
1cc79b4d68
Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger
2013-04-19 18:18:33 -04:00
David Zbarsky
a0911f7978
[Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger
2013-04-19 18:18:33 -04:00
Ryan VanderMeulen
b6cd03fcbb
Backed out changeset 4a55715677d7 (bug 856807) for intermittent Linux32 reftest-ipc timeouts.
2013-04-19 11:17:21 -04:00
Ed Morley
c05f10b133
Backed out changeset dc2ced1dd175 (bug 860524) for reftest failures
2013-04-19 13:51:24 +01:00
Robert O'Callahan
a7a41f0415
Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow
2013-04-20 00:02:13 +12:00
Robert O'Callahan
1c7352a936
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
0d7b3992fc
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
7bd1081c33
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
18d4a92c92
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
a7a0e4962a
[Bug 862129] Cleanup nsDocument r=Ms2ger
2013-04-19 04:49:20 -04:00
Ben Kelly
4e0ea91f2c
Bug 847279 - Fix hardcoded path names in mochitests to match relativesrcdir. r=mbrubeck
2013-04-18 10:32:25 -04:00
L. David Baron
611d0a66d9
Bug 847279 - Fix incorrect relativesrcdir in other mochitest makefiles. r=mbrubeck
2013-04-18 10:32:25 -04:00
Daniel Holbert
6ad32cb40a
backout 8e0af273404e (Bug 847279) for android M-8 orange
2013-04-17 17:13:02 -07:00
Daniel Holbert
52802eaf5f
backout b1096811620f (Bug 847279) for android M-8 orange
2013-04-17 17:12:10 -07:00
Ben Kelly
68002a88f5
Bug 847279 - Fix hardcoded path names in mochitests to match relativesrcdir. r=mbrubeck
2013-04-17 18:00:14 -04:00
L. David Baron
b525977bdc
Bug 847279 - Fix incorrect relativesrcdir in other mochitest makefiles. r=mbrubeck
2013-04-17 18:00:14 -04:00
Mats Palmgren
c538e42a6e
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
365ab3e273
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
6568460205
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
e6eb9703bc
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
24b4056720
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Daniel Holbert
62f493f674
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
4546c52c30
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
23011589ce
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
bc7d984a44
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
ba1889d131
Bug 856368 - Convert some comments into proper doc-comments. r=roc
2013-04-15 22:00:06 +02:00
Mats Palmgren
0ce1179320
Bug 856368 - Inline the AllocateBy* and FreeBy* methods into the header. r=roc
2013-04-15 22:00:06 +02:00
Mats Palmgren
75bb4ed6a0
Bug 856368 - Adjust memory reporter SizeOf methods accordingly. r=roc
2013-04-15 22:00:06 +02:00
Mats Palmgren
1e9bd59184
Bug 856368 - Merge nsPresArena::mState into nsPresArena itself. r=roc
2013-04-15 22:00:06 +02:00
Mats Palmgren
702d0070af
Bug 856368 - Remove DEBUG_TRACEMALLOC_PRESARENA. r=roc
2013-04-15 22:00:06 +02:00
Jonathan Watt
0c743dcdbd
Bug 861805 - Stop layers from snapping transforms for SVG content. r=roc
2013-04-15 13:30:28 +01:00
Chris Lord
1f8698bb32
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
af4c662a21
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
ad7e9c1f00
Bug 859526 - Null check parent frames when wrapping preserve-3d display lists. r=roc
2013-04-15 18:55:34 +12:00
Matt Woodrow
637d715713
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
c763b1352e
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
2e9d4d47f3
Bug 851379 part 1: Rename ComputeWidthDependentValue to ComputeCBDependentValue. r=mats
2013-04-11 07:49:53 -07:00
Jonathan Watt
466a857ecf
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
e7b3448f80
Bug 860370 - Undo functionality change from bug 848973. r=roc
2013-04-11 18:40:12 +10:00
Aryeh Gregor
f9e1831a55
Bug 857102 part 2 - Make NS_NewTextNode and nsIDocument::CreateTextNode infallible; r=bz
2013-04-04 15:01:08 +03:00
Chris Lord
6b4df40a4f
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
ce4c05def0
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
9b2d903aae
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
d5292afd50
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
ad4c3beead
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
8a324dc194
bug 856779 - remove nsFrameManager::Init() r=dholbert
2013-03-31 18:43:04 -04:00
Trevor Saunders
1e1929f0f1
bug 856779 - make nsStyleSet::Init() return void r=dholbert
2013-03-31 18:08:29 -04:00
Trevor Saunders
bbe54eccfc
bug 856779 - kill NS_NewPresShell() r=bz
2013-03-31 16:39:27 -04:00
David Zbarsky
dd55a87c18
Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 2 r=Ms2ger
2013-04-05 20:44:26 -04:00
Seth Fowler
a635c53879
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
030590cc40
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
4dab434b85
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
4a4175f287
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
865de96db7
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
04e9887192
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
29cfc08a5b
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
1b7bdb4a2b
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
5566aa4cce
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
4934cd57c4
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
e5cb7ecc6e
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
0d562762b5
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
92f7c062ff
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
2a890de2cb
Bug 841192. Part 4: Create DisplayListClipState. r=mattwoodrow
...
--HG--
extra : rebase_source : 90eb025d01cec4d3e52473ebc27ae411f42c0439
2013-03-04 22:56:00 +13:00
Robert O'Callahan
ddb47c1cef
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
8d47c65ff4
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
76ad7e5429
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
171a6dc234
Backout 051cf1c1449c:521215a7b32e (bug 826093) for Android reftest failure
2013-04-04 21:06:58 -07:00
Nicholas Cameron
b2e31373d7
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
605c0911f3
Bug 826093 (Part 4) - Use ClippedImage instead of ExtractFrame for border-image. r=bz
2013-04-04 19:06:42 -07:00
Seth Fowler
abbdbad515
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
87b1f4184c
Back out 795e9ec338a7 (bug 856272) because of test failures
2013-04-04 17:40:16 -07:00
Nicholas Cameron
1e69a37e3a
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
a1093b2662
Merge m-c to m-i.
2013-04-04 14:15:56 +02:00
Ms2ger
3ab3b93918
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
d9afc6d714
Backout bug 851445 for test failure
...
--HG--
extra : rebase_source : 3314e6679f15134324d5de09334be14e17aa0790
2013-04-02 18:24:25 +13:00
Robert O'Callahan
37411c9523
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
9ec5ac5231
Bug 855233 - Recreate mask layers if the ContainerParameters offset changes. r=nrc
2013-04-04 15:59:24 +13:00
Kyle Machulis
f5e3aadf0b
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Mats Palmgren
9ce2e2126a
Bug 855920 - Remove unused nsDisplayTransform ctor. r=roc
2013-04-01 18:45:18 +02:00
Mats Palmgren
7fa166a5f5
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
d2b6e6e01a
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
5663b98bc5
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
3a4355687e
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
5d035502b3
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
88994b7bd5
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
361f43cd8a
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
f466fc86fd
Bug 807442 - Make assertion non-fatal. r=hsivonen
2013-03-28 12:13:11 -04:00
Daniel Holbert
ad0dde7ba7
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
69a1c9d235
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
03993307bd
Bug 847120: Remove nsIDOMSVGFilterPrimitiveStandardAttributes r=Ms2ger f=jwatt
2013-03-27 21:23:09 -04:00
Phil Ringnalda
84688e6fa9
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
f8dac34a11
Bug 848973 - Document what aFrame means in nsStyleDisplay::IsBlockInside() and friends. r=roc
2013-03-27 15:49:56 +11:00
Ryan VanderMeulen
268da07311
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
fdb409e5fa
Bug 826093 (Part 4) - Use ClippedImage instead of ExtractFrame for border-image. r=bz
2013-03-26 16:29:13 -07:00
Seth Fowler
93ae9dc359
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
70b9859a7a
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
5b90185483
Bug 826093 (Part 4) - Use ClippedImage instead of ExtractFrame for border-image. r=bz
2013-03-26 11:56:46 -07:00
Seth Fowler
fdc10b87fb
Bug 826093 (Part 3) - Use ClippedImage instead of ExtractFrame for -moz-image-rect. r=bz
2013-03-26 11:56:46 -07:00
Daniel Holbert
cdb46fbf89
Bug 473236, 2013 edition: Remove executable bit from files that clearly don't need it (html, xhtml, xul, svg, png, jpg, ttf files in test dirs within /layout). DONTBUILD
2013-03-25 17:01:35 -07:00
Matt Woodrow
b73fa1db2b
Bug 852850 - Remove the faily test_image_layers.html mochitest. r=joe
...
--HG--
extra : rebase_source : c394b7f89327dd9e8f0f08f174d48cd18de93c85
2013-03-20 14:52:43 +13:00
Benoit Girard
6ed333dbb5
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
bbe4c3065e
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Christian Holler
2ff6bc13f4
Bug 852476 - Fix Valgrind annotations in nsPresArena.cpp. r=mats
...
--HG--
extra : rebase_source : 0f7ffca296ad5a68ebef0e44b3b5be4b5370c04d
2013-03-25 15:27:43 +01:00
Cameron McCormack
1d87113442
Bug 842142 - Prevent odd text wrapping in SVG text. r=roc
2013-03-25 14:50:59 +11:00
Olli Pettay
1588d9520d
Bug 737100 - Extend Pointer Lock (Mouse Lock) for non-fullscreen elements, p=smaug,dolske, r=cpearce,dolske,smaug
2013-03-24 12:32:44 +02:00
Daniel Holbert
ddec4ceb1b
Bug 782441 part 1: Add FCDATA_MAY_NEED_SCROLLFRAME bit to flex container display data. r=bz
2013-03-22 08:13:49 -07:00
Daniel Holbert
8313ee19fd
Bug 851396: Keep skipping flex-item style fixup for anonymous content through the call to AddFrameConstructionItemsInternal, to handle style re-resolution after XBL bindings load. r=bz
2013-03-21 18:50:54 -07:00
Mike Shal
f290401a73
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
Matt Woodrow
66180dc4c1
Bug 822086 - Handle a nullptr ContainerLayer in nsDisplayTransform::BuildLayer. r=bustage CLOSED TREE
2013-03-21 16:27:02 +13:00
Matt Woodrow
122ed9c4e6
Bug 822086 - Don't build ContainerLayers that would have a singular matrix. r=roc
2013-03-21 15:33:00 +13:00
Matt Woodrow
5daadff213
Bug 850672 r=roc
2013-03-21 15:33:00 +13:00
Boris Zbarsky
04fb8c2cb8
Bug 852636. Remove unused argument of InitAndRestoreFrame. r=dholbert
2013-03-20 12:22:25 -04:00
Joe Drew
b4f0cd5d8d
Bug 852997 - Disable failure in test_image_layers.html, which intermittently fails.
2013-03-20 11:59:33 -04:00
Robert O'Callahan
c35d68c457
Bug 846901 - Support prerendering elements with animated transforms that are offscreen but only by a small amount. r=mattwoodrow
2013-03-19 09:08:29 -04:00
Joe Drew
90723b2fd7
Bug 852413 - Wait even more for painting to finish before forcing a paint. r=mattwoodrow
...
--HG--
extra : rebase_source : 8a0513da9cea80677b1d4739fad429044a24255d
2013-03-19 21:47:11 -04:00
Boris Zbarsky
df913c9f96
Bug 852501 part 18. Make ConstructDocElementFrame return an nsIFrame*. r=dholbert
2013-03-19 21:47:53 -04:00
Boris Zbarsky
a4d7b437f1
Bug 852501 part 17. Make ConstructRootFrame infallible. r=dholbert
2013-03-19 21:47:53 -04:00
Boris Zbarsky
f4a1faf65e
Bug 852501 part 16. Make ConstructFrame infallible. r=dholbert
2013-03-19 21:47:53 -04:00
Boris Zbarsky
e449bf4fb7
Bug 852501 part 15. Make ConstructFramesFromItem infallible. r=dholbert
2013-03-19 21:47:52 -04:00
Boris Zbarsky
3b9255c991
Bug 852501 part 14. Make FrameFullConstructor implementations infallible. r=dholbert
2013-03-19 21:47:52 -04:00
Boris Zbarsky
f508fc35f5
Bug 852501 part 13. Clean up ConstructSelectFrame a bit to get rid of unreachable codepaths. r=dholbert
2013-03-19 21:47:52 -04:00
Boris Zbarsky
30c944818a
Bug 852501 part 12. Make ConstructBlock infallible. r=dholbert
2013-03-19 21:47:52 -04:00
Boris Zbarsky
a75a81c666
Bug 852501 part 11. Make FlushAccumulatedBlock infallible. r=dholbert
2013-03-19 21:47:51 -04:00
Boris Zbarsky
d6f028e002
Bug 852501 part 10. Make ProcessChildren infallible. r=dholbert
2013-03-19 21:47:51 -04:00
Boris Zbarsky
0506bc3709
Bug 852501 part 9. Optimistically make ConstructFramesFromItemList infallible in the hope that this is the only thing that makes other things fallible. r=dholbert
2013-03-19 21:47:51 -04:00
Boris Zbarsky
06edb2c468
Bug 852501 part 8. Make WrapFramesInFirstLetterFrame infallible. r=dholbert
2013-03-19 21:47:50 -04:00
Boris Zbarsky
530044675c
Bug 852501 part 7. Make WrapFramesInFirstLineFrame and AppendFirstLineFrames infallible. r=dholbert
2013-03-19 21:47:50 -04:00
Boris Zbarsky
b1a4910924
Bug 852501 part 6. Make ConstructTextFrame infallible. r=dholbert
2013-03-19 21:47:50 -04:00
Boris Zbarsky
a71aa4e129
Bug 852501 part 5. Make InitAndRestoreFrame infallible. r=dholbert
2013-03-19 21:47:50 -04:00
Boris Zbarsky
f75d10efbe
Bug 852501 part 4. Make CreateContinuingFrame infallible. r=dholbert
2013-03-19 21:47:49 -04:00
Boris Zbarsky
685b153f9f
Bug 852501 part 3. Make some callees of CreateContinuingFrame infallible. r=dholbert
2013-03-19 21:47:49 -04:00
Boris Zbarsky
fa55d3fe1c
Bug 852501 part 2. Make nsFrameConstructorState::AddChild infallible. r=dholbert
2013-03-19 21:47:49 -04:00
Boris Zbarsky
78b553c6e9
Bug 852501 part 1. Make CreatePlaceholderFrameFor infallible. r=dholbert
2013-03-19 21:47:48 -04:00
Boris Zbarsky
462f47d89e
Bug 852428 part 2. Make nsIFrame::Init infallible. r=dholbert
2013-03-19 21:47:48 -04:00
Boris Zbarsky
f801eea794
Bug 852408. Don't reframe the parent if a frame whose next sibling is a table pseudo is removed, unless its prev sibling is also a table pseudo. r=dholbert
2013-03-19 21:47:47 -04:00
Mike Shal
ea1d9b8ba7
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Joe Drew
b7dd030514
Bug 852413 - Make test_image_layers.html wait for its image to load. r=mattwoodrow
...
--HG--
extra : rebase_source : 8be901e5932e8779bfcc4077de0108fd36acc6ec
2013-03-19 16:01:30 -04:00
Trevor Saunders
324dfcc313
bug 852379 - remove unecessary nsHashtable.h includes r=Ms2ger
2013-03-18 21:18:26 -04:00
Jon Coppeard
b9652b9f39
Bug 849273 - Investigate splitting the js and JS namespaces r=terrence
...
--HG--
extra : rebase_source : 2b131d0177f02e5f0e89398545481fcacbfde00f
2013-03-19 10:35:41 +00:00
Ed Morley
4cf89da68c
Backed out changeset e8ffcf4b8e22 (bug 846901)
2013-03-19 14:15:07 +00:00
Robert O'Callahan
a6883ef2d0
Bug 846901 - Support prerendering elements with animated transforms that are offscreen but only by a small amount. r=mattwoodrow
2013-03-19 09:08:29 -04:00
Andrea Marchesini
c15b6499e8
Bug 841493 - Rename nsHTMLVideoElement to HTMLVideoElement, r=Ms2ger
...
--HG--
rename : content/html/content/public/nsHTMLVideoElement.h => content/html/content/public/HTMLVideoElement.h
rename : content/html/content/src/nsHTMLVideoElement.cpp => content/html/content/src/HTMLVideoElement.cpp
2013-03-19 13:27:35 +01:00
Andrea Marchesini
6b08dd17f5
Bug 841493 - Rename nsHTMLMediaElement to HTMLMediaElement, r=Ms2ger
...
--HG--
rename : content/html/content/public/nsHTMLMediaElement.h => content/html/content/public/HTMLMediaElement.h
rename : content/html/content/src/nsHTMLMediaElement.cpp => content/html/content/src/HTMLMediaElement.cpp
2013-03-19 13:23:54 +01:00
Ed Morley
4a0f5f39ca
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00