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
Ed Morley
47bc17c5f5
Backed out changeset d195190adc48 (bug 851611)
...
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
90f13c7e56
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 : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
95a5b4c35f
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Ms2ger
5dd8d9d4d2
Bug 850817 - Move ClientRect to Paris bindings; r=bz
...
--HG--
rename : dom/interfaces/base/nsIDOMClientRect.idl => dom/webidl/ClientRect.webidl
2013-03-17 08:55:17 +01:00
Ms2ger
8a852eb95d
Bug 851025 - Remove nsLayoutUtils::RectListBuilder::mRv; r=bz
2013-03-17 08:55:16 +01:00
Ms2ger
ecaff4e0d2
Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey
2013-03-17 08:55:16 +01:00
Mats Palmgren
a1b9d361a6
Bug 851485 - test.
2013-03-15 23:32:36 +01:00
Mats Palmgren
364ac4b58b
Bug 851485 - Restoring scroll position from history should only suppress one scroll-to-anchor. r=bzbarsky
2013-03-15 23:32:35 +01:00
Mats Palmgren
071455168e
Bug 849219 - Store the scroll state also when the position is 0,0 to avoid scrolling to an #ID on reload. r=roc
2013-03-15 23:32:35 +01:00
Mats Palmgren
54813d8e16
Bug 847208 - Make RemoveFloat() check the PushedFloatsList too. r=dbaron
2013-03-15 23:32:35 +01:00
Jeff Walden
f1a5d9a81f
Bug 847480 - Convert DeprecatedAbs use in NS_LUMINOSITY_DIFFERENCE to Abs. r=dbaron
...
--HG--
extra : rebase_source : dc7af2a8d93070887a98287d70ab4d68cc956551
2013-03-09 14:20:04 -08:00
Ed Morley
5cdad40dc7
Bug 681138 & bug 682837 - Disable bug106855-1.html and bug106855-2.html on all platforms for too many intermittent failures
2013-03-15 12:24:11 +00:00
Bill McCloskey
3120dcefb5
Bug 671976 - Fix print preview asserts (r=smaug)
2013-03-14 12:02:28 -07:00
Ed Morley
bf371a02ad
Backed out changeset 82bfa9035c6a (bug 847208)
2013-03-14 15:18:37 +00:00
Mats Palmgren
d1dec22776
Bug 847208 - Make RemoveFloat() check the PushedFloatsList too. r=dbaron
2013-03-14 14:39:26 +01:00
Kartikaya Gupta
77fc5da4fc
Back out d501d97c05a6 (bug 847002) because it doesn't help. r=me
2013-03-14 12:22:46 +01:00
Daniel Holbert
019596e0ab
Bug 849407: Disable flex item style fixup for anonymous content in nsFrameManager::ReResolveStyleContext(). r=bz
2013-03-13 13:54:05 -07:00
Ryan VanderMeulen
e42208c633
Merge m-c to inbound.
2013-03-13 16:21:21 -04:00
Paul Rouget
d157a980da
Bug 847890 - paint flashing for content only. r=roc
2013-03-12 11:01:00 -07:00
Gregory Szorc
3d694a85c0
Merge mozilla-central into build-system
...
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Mike Shal
2eb7c496cb
Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps
2013-03-11 22:00:00 -07:00
Gregory Szorc
0d33ac5f93
Bug 818246 - Part 5: Move XPIDLSRCS into moz.build (manual); r=glandium
2013-03-12 10:20:41 -07:00
Gregory Szorc
629b5d86c6
Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
...
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Jeff Walden
45c6642e41
Bug 847480 - Convert DeprecatedAbs overloads taking floating point (except for nscoord uses, when nscoord is optionally a floating point type) to Abs. r=Ms2ger
2013-03-05 15:43:44 -08:00
Jeff Walden
000d820503
Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger
2013-03-05 15:43:30 -08:00
Ms2ger
043b0268db
Bug 849659 - Make Ripc/Cipc pass on OSX; r=dbaron
2013-03-11 09:08:59 +01:00
Seth Fowler
6a2ce39f70
Bug 843895 (Part 1) - Add an aWhichFrame parameter to imgIContainer::Draw. r=joe
2013-03-10 18:43:37 -07:00
Trevor Saunders
2bffe03733
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
Jonathan Watt
863b628724
Bug 849961 - Make nsWindow::DispatchMultitouchEvent honor event.mFlags.mMultipleActionsPrevented. r=smaug, r=wesj.
2013-03-12 11:29:53 +00:00
L. David Baron
e06cfe9c3c
Bug 849263: Make OverflowChangedTracker actually sort by depth in the tree where it intended to. r=roc
2013-03-10 12:44:13 -07:00
Olli Pettay
8f72caeb73
Bug 822399 - Make Event to use Paris bindings, r=peterv
2013-03-09 13:34:29 +02:00
Ryan VanderMeulen
2f1b298f46
Backed out changeset 2a41319f21a8 (bug 681138) for making the failures much more frequent.
2013-03-08 14:19:13 -05:00
Ehsan Akhgari
67b90ff9e3
See if bug 681138 is a timing issue
2013-03-08 11:34:28 -05:00
Mats Palmgren
0600e7abd7
Bug 635852. r=smaug
2013-03-08 12:04:53 +01:00
Matt Woodrow
1ad187f836
Bug 725981 - Only invalidate the difference in bounds when a solid color moves or resizes. r=roc
2013-03-08 15:15:10 +13:00
L. David Baron
713f97b07f
Bug 845837: Don't use our dynamic updating for relative positioning on inner table frames, which don't do relative positioning at all. r=ehsan
...
This is somewhat evil, but should get us back into the state we were in
before. There are probably other bugs lurking here as well, though,
related to other cases where we don't support relative positioning. We
really just need to make our relative positioning support more general.
2013-03-07 17:59:32 -08:00
Matt Woodrow
d8320e5731
Bug 846971 - Don't create layers that are scaled to 0. r=roc
2013-03-06 09:04:40 +13:00
Timothy Nikkel
1e3bfd6883
Bug 848421. Part 2. Remove useless PresContext argument to nsCSSRendering::FindBackground. r=mats
2013-03-07 10:03:49 -06:00
Chris Lord
b6dedb7d38
Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
...
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-07 10:17:33 +00:00
Chris Lord
6558212b53
Bug 716403 - Add nsIDOMWindowUtils.setContentDocumentFixedPositionMargins. r=roc,dholbert
...
Add a function to set margins on the viewport that are respected by its
absolute containing block. This has the effect of being able to add margins to
fixed position content, which will be used on mobile to stop temporarily
visible chrome from obscuring content.
2013-03-07 10:17:33 +00:00
David Zbarsky
f057c989f0
Bug 847120: Stop QIing to nsIDOMSVGFilterPrimitiveStandardAttributes r=bz
2013-03-07 02:12:32 -05:00
Timothy Nikkel
da2865387e
Bug 848421. Part 1. Handle having no frame for the body element when determining the image filter to use for drawing the page background. r=roc
...
Just use nsCSSRendering::FindBackground like we do everywhere else for finding the background, it handles this case correctly. Although this function is used for other images besides backgrounds, when it is called on a canvas frame it can only be for a background image.
2013-03-06 23:13:13 -06:00
Ryan VanderMeulen
8cf664a621
Backed out 9 changesets (bug 716403) for Android 4.0 robocop bustage on a CLOSED TREE.
2013-03-06 16:11:05 -05:00
Ehsan Akhgari
5e8f81018d
Another wild guess to see if we can fix bug 681138
2013-03-06 15:05:10 -05:00
Ehsan Akhgari
db9b3860a7
Attempt to fix bug 681138 by making the test loading not race against snapshotting and focusing the iframe
2013-03-05 09:32:51 -05:00
Chris Lord
bc3cb980a1
Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
...
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-06 16:56:00 +00:00
Chris Lord
db037d81e9
Bug 716403 - Add nsIDOMWindowUtils.setContentDocumentFixedPositionMargins. r=roc,dholbert
...
Add a function to set margins on the viewport that are respected by its
absolute containing block. This has the effect of being able to add margins to
fixed position content, which will be used on mobile to stop temporarily
visible chrome from obscuring content.
2013-03-06 16:56:00 +00:00
Ed Morley
185e444006
Backed out changeset 99d71c24a5df (bug 681138) for making the intermittent-failure worse
2013-03-06 11:03:11 +00:00
Daniel Holbert
accc46f11d
Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth
2013-03-06 00:05:55 -08:00
Phil Ringnalda
31d866ff72
Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber
2013-03-11 20:10:18 -07:00
Trevor Saunders
39ae246957
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
Ehsan Akhgari
872145695a
Attempt to fix bug 681138 by making the test loading not race against snapshotting
2013-03-05 09:32:51 -05:00
Mats Palmgren
d162104482
Bug 842853 - Scroll position lost after page reload on url with anchor. r=roc
2013-03-05 13:26:41 +01:00
L. David Baron
aa6a4878fc
Bug 846096: Remove SimpleTest.expectAssertions() calls annotating assertions from bug 846096.
2013-03-04 13:21:24 -08:00
Trevor Saunders
8631e44d32
bug 846487 - remove remaining usage of some nsIDOMFooElement r=Ms2Ger
2013-02-14 10:33:16 -05:00
Kartikaya Gupta
1ea5c7163f
Bug 847002 - Add a crash if layer manager is null so we don't run off into garbage code. r=mattwoodrow
2013-03-04 23:15:53 +00:00
Jeff Walden
72eca3f9c1
Bug 835542 - Implement mozilla::Abs. r=Ms2ger
...
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Henri Sivonen
fd561b7b41
Bug 844461 - Perform alias resolution on the fallback encoding pref value. r=smontagu.
2013-03-04 20:09:11 +02:00
Ed Morley
caab8e796b
Backed out changeset cacb9f3ee44d (bug 840693)
2013-03-04 14:37:43 +00:00
Robert O'Callahan
be82b38545
Bug 829557. Part 1: When calling into plugin code, identify situations where it is safe (or unsafe) to reenter Gecko from plugin code. r=bsmedberg
...
When Gecko is reentered from unsafe call sites, we allow the reentry, but we
suppress execution of the refresh driver to minimize the danger.
In this patch, we treat all sites as unsafe.
--HG--
rename : toolkit/modules/Timer.jsm => browser/devtools/shared/Browser.jsm
rename : toolkit/modules/tests/xpcshell/test_timer.js => browser/devtools/shared/test/browser_browser_basic.js
rename : build/mach_bootstrap.py => mach
extra : rebase_source : b83c1d09313bff62357eaa931eced0f72f838493
2013-02-28 00:50:27 +13:00
Anthony Jones
bce8f8e813
Bug 840693 - Change to using gfx:: types in AsyncPanZoomController; r=cjones
2013-03-04 13:25:26 +13:00
David Zbarsky
c596ef885a
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
Robert O'Callahan
6cb953902b
Bug 845526 - Limit complexity of invalid region in RemoveFrameFromLayerManager. r=mattwoodrow
2013-03-02 12:21:00 -05:00
Ms2ger
4e8b4bd96e
Bug 671976 - Allow for up to two occurrences of this assertion on Windows.
2013-03-02 10:14:44 +01:00
David Zbarsky
26c2ece3bf
Bug 846662 - Rename DOMSVGTests to SVGTests r=jwatt
...
--HG--
rename : content/svg/content/src/DOMSVGTests.cpp => content/svg/content/src/SVGTests.cpp
rename : content/svg/content/src/DOMSVGTests.h => content/svg/content/src/SVGTests.h
2013-03-02 01:08:42 -05:00
L. David Baron
cfe687e13f
Bug 671976: Tweak timing in the hopes of forcing the assertion to stay before TEST-END on Linux32; add additional leakage of expected assertions for Windows.
2013-03-01 19:40:43 -08:00
Trevor Saunders
1a20d1b3c3
bug 845562 - remove GetFrameSelection() from nsISelectionPrivate r=smaug
2013-02-15 15:09:28 -05:00
Ryan VanderMeulen
75acd49b0e
Backed out 8 changesets (bug 716403) for frequent Android mochitest-8 failures on a CLOSED TREE.
2013-03-01 16:09:59 -05:00
Chris Lord
fa6c4dbff3
Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
...
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-01 15:46:34 +00:00
Chris Lord
b29bf4713d
Bug 716403 - Add nsIDOMWindowUtils.setContentDocumentFixedPositionMargins. r=roc,dholbert
...
Add a function to set margins on the viewport that are respected by its
absolute containing block. This has the effect of being able to add margins to
fixed position content, which will be used on mobile to stop temporarily
visible chrome from obscuring content.
2013-03-01 15:46:34 +00:00
L. David Baron
8e479ab95c
Bug 671976: Fix comment typo in previous commit. DONTBUILD
2013-02-28 23:54:42 -08:00
L. David Baron
153a691df4
Bug 671976: Add SpecialPowers.gc() calls so bug 671976 assertions show up in correct tests, and correctly annotate assertions.
2013-02-28 23:46:54 -08:00
L. David Baron
bb2f1537a6
Bug 846096: Be more consistent about annotating failures due to bug 846096, and mark them with the bug number.
2013-02-28 22:07:48 -08:00
Boris Zbarsky
a8948dd81e
Bug 832920. Add a way for chrome iframes to opt into having a separate refresh driver (e.g. if they plan to be moved between windows) and make devtools use that opt-in. r=tnikkel,paul
2013-02-22 09:56:28 -05:00
Seth Fowler
a7ffe81d52
Bug 842850 (Part 1) - Use an SVGImageContext class for overridden SVG properties. r=dholbert,joe sr=bz
2013-02-28 12:22:43 -08:00
Ryan VanderMeulen
238b010bd5
Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE.
...
--HG--
rename : content/base/src/NodeIterator.cpp => content/base/src/nsNodeIterator.cpp
rename : content/base/src/NodeIterator.h => content/base/src/nsNodeIterator.h
rename : content/base/src/TreeWalker.cpp => content/base/src/nsTreeWalker.cpp
rename : content/base/src/TreeWalker.h => content/base/src/nsTreeWalker.h
2013-02-28 14:41:30 -05:00
Boris Zbarsky
8d2b9f5ae9
Bug 832920. Add a way for chrome iframes to opt into having a separate refresh driver (e.g. if they plan to be moved between windows) and make devtools use that opt-in. r=tnikkel,paul
2013-02-22 09:56:28 -05:00
Ms2ger
c6832bb745
Merge m-i to b-s.
2013-02-28 14:46:10 +01:00
Matt Woodrow
1de129a04c
Bug 846144 - Don't optimize backgrounds to an ImageLayer if they have border-radius clipping. r=roc
2013-02-28 21:49:30 +13:00
Gregory Szorc
27c42e83c6
Merge mozilla-central into build-system
...
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Timothy Nikkel
5fb37d3772
Bug 845337. When we are looking for the parent prescontext we may not have a root frame so use the root view instead to get the parent prescontext. r=roc
2013-02-27 14:52:06 -06:00
Gregory Szorc
803629b9c6
Merge mozilla-central into build-system
...
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ed Morley
5eb9daf922
Backed out changeset f73b7b8d1a2d (bug 829557) for failing to compile on Windows on a CLOSED TREE
2013-02-27 12:50:30 +00:00
Ed Morley
206b4564c9
Backed out changeset 05c35dc73323 (bug 845526)
2013-02-27 12:49:29 +00:00
Ms2ger
2801c25ab8
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Gregory Szorc
4f23f29382
Bug 784841 - Part 18t: Convert /layout; f=Ms2ger rs=ted
2013-02-25 12:47:22 -08:00
Robert O'Callahan
77cfbea40e
Bug 845526. Limit complexity of invalid region in RemoveFrameFromLayerManager. r=mattwoodrow
...
--HG--
extra : rebase_source : ca0a1d7928c991604d5979bcf35b4fcea462c31a
2013-02-27 16:05:32 +13:00
Robert O'Callahan
1b97fac2e6
Bug 829557. Part 1: When calling into plugin code, identify situations where it is safe (or unsafe) to reenter Gecko from plugin code. r=bsmedberg
...
When Gecko is reentered from unsafe call sites, we allow the reentry, but we
suppress execution of the refresh driver to minimize the danger.
In this patch, we treat all sites as unsafe.
--HG--
extra : rebase_source : 0730f41c9158c868ed4ffcba74ff77abbfebc2cd
2013-02-28 00:50:27 +13:00
Timothy Nikkel
090bb504b1
Bug 689623. Part 13. Disable image visibility pass on mobile and b2g. r=mats
2013-02-24 18:59:24 -06:00
Timothy Nikkel
05383be995
Bug 689623. Part 10. Make all images visible in print, print preview, chrome, xul, and resource docs and don't try to keep track of which are visible or not. r=mats
2013-02-24 18:59:23 -06:00
Timothy Nikkel
c6b1e4c2dc
Bug 689623. Part 9. Make images default to visible when they have a frame created for them. r=mats
2013-02-24 18:59:23 -06:00
Timothy Nikkel
9eabef3617
Bug 689623. Part 8. Add an 'unlocked draw' notification for images that are drawn when not locked so we catch any images that become visible through a means other than scrolling. r=joe,mats
2013-02-24 18:59:22 -06:00
Timothy Nikkel
24d8f87e55
Bug 689623. Part 7. Clear the list of visible images on presshells that we don't descend into while building the display list of visible images. r=mats
2013-02-24 18:59:22 -06:00
Timothy Nikkel
5a83e54fcb
Bug 689623. Part 6. Keep a list of visible images on the presshell and code to manage it. r=mats
2013-02-24 18:59:22 -06:00
Timothy Nikkel
a020fc6a32
Bug 689623. Part 5. Add mechanism to update image visibility upon some amount of scrolling. r=mats
2013-02-24 18:59:21 -06:00
L. David Baron
ff34707a75
Bug 404077: Adjust annotations of expected assertions.
2013-02-27 10:37:19 -08:00
Ehsan Akhgari
c3a8b72e50
Bug 844169 - Part 3: Make sure that all callers of HTMLIFrameElement.mozbrowser have chrome privileges; r=bzbarsky
2013-02-26 21:26:10 -05:00
L. David Baron
b9ebac2acd
Bug 404077: Adjust annotations of expected assertions.
2013-02-27 15:36:14 -08:00
Chris Pearce
2a8daae8a9
Bug 843849 - Make DOM/HTML fullscreen API work in Metrofox. r=bz,jimm
2013-02-28 12:28:27 +13:00
Mats Palmgren
8c16097eea
Bug 844525 - Add asserts(0-1) for a recently added test to fix intermittent failure.
2013-02-24 05:33:58 +01:00
L. David Baron
05d5d9dfa9
Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion.
2013-02-26 22:23:08 -08:00
Daniel Holbert
1a693ffe99
Bug 844529: Disable flex-item style fixup when resolving style for anonymous content in nsCSSFrameConstructor::ProcessChildren(). r=bz
2013-02-26 21:44:55 -08:00
Bobby Holley
e83e186c1b
Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
...
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-26 11:04:11 -08:00
L. David Baron
e2e632496e
Bug 404077: Adjust annotations of expected assertions.
2013-02-27 13:20:26 -08:00
Kyle Huey
c28e572034
Bug 816498: Fix some things about background attribute handling that are still broken. r=bz
...
As filed the bug is about table backgrounds failing to print. The root cause of this is that we load images from the original document, because print/print-preview documents (which are static clones of the original) cannot do loads. This results in an entry in the css::ImageValue's request table under the original document, but entry under the printing document. Then we do layout, try to get the request, and fail, and nothing is displayed. The solution to this is to force us to clone the request for the printing document if we're loading off the original document. I manually verified that this does not regress Bug 560235.
While writing a test for this, we discovered another problem. The reftest print code does not actually use the printing codepath. Instead it takes an existing document, tears down its presshell, and creates a new presshell for printing. Fixing the above bug did not make the reftest print test pass because ImageLoader does not deal properly with presshell destruction/recreation. It assumes that when the presshell is destroyed all of the css::ImageValues can be cleared of their entries for that document. This fails for ImageValues for mapped attributes because they are held alive by the content tree. When a new presshell for this document is then created there is no entry for the document and thus no image request to paint. The fix for this is to only clear the frame to request and request to frame mapping hashtables and not to clear the document's entry on the ImageValue when the presshell is destroyed. The destruction of the ImageLoader (which is held from a strong reference on the document) is when those entries are removed. The final change is to change css::ImageValue's hashtable from holding a strong reference to the keys (which are documents) to holding raw pointer references. This is safe because we clear the relevant entry when the corresponding ImageLoader dies, and is needed to prevent a reference cycle that was being broken by presshell destruction.
--HG--
rename : layout/reftests/backgrounds/table-background-ref.html => layout/reftests/backgrounds/table-background-print-ref.html
rename : layout/reftests/backgrounds/table-background.html => layout/reftests/backgrounds/table-background-print.html
2013-02-23 06:59:43 -08:00
Jesse Ruderman
e5031842d9
Bug 457514 - Crash test.
2013-02-23 11:38:15 +01:00
Martijn Wargers
72c1aa4063
Bug 448543 - Crash tests.
2013-02-23 11:38:15 +01:00
Jesse Ruderman
e191fb7cd4
Bug 439343 - Crash test.
2013-02-23 11:38:15 +01:00
Martijn Wargers
8a4cdbadda
Bug 422276 - Crash test.
2013-02-23 11:38:14 +01:00
Martijn Wargers
9218bf936d
Bug 421432 - Crash test.
2013-02-23 11:38:14 +01:00
Martijn Wargers
9819e86243
Bug 403048 - Crash test.
2013-02-23 11:38:14 +01:00
Martijn Wargers
e3b730518f
Bug 398733 - Crash tests.
2013-02-23 11:38:14 +01:00
Martijn Wargers
288244ff4c
Bug 378682 - Crash test.
2013-02-23 11:38:13 +01:00
Chris Pearce
b8e8ab3f2f
Bug 805613 - Support multiple concurrent fullscreen documents. r=bz
2013-02-26 18:40:53 +13:00
L. David Baron
4f4296979b
Bug 404077: Annotate known assertions in mochitests.
2013-02-25 18:39:21 -08:00
Ryan VanderMeulen
486f369f1f
Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE.
2013-02-22 15:30:06 -05:00
L. David Baron
9156de9734
Bug 839809 followup: fix typos in comment. DONTBUILD. No review.
2013-02-22 10:29:05 -08:00
L. David Baron
f224e00894
Bug 839809: Make counter-increments and list counting that would go past our internal (int32_t) limit keep the counter at its current value rather than wrapping. r=dholbert
...
Per CSS WG resolution regarding counter-styles-3, afternoon of 2013-02-05:
http://krijnhoetmer.nl/irc-logs/css/20130205#l-1590
http://lists.w3.org/Archives/Public/www-style/2013Feb/0392.html
2013-02-22 10:13:37 -08:00
Boris Zbarsky
30ff6fd171
Bug 832920. Add a way for chrome iframes to opt into having a separate refresh driver (e.g. if they plan to be moved between windows) and make devtools use that opt-in. r=tnikkel,paul
2013-02-22 09:56:28 -05:00
Trevor Saunders
0900a6537c
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
L. David Baron
451b815b09
Backout changeset b968708558b9 (bug 839809) for reftest failures.
2013-02-21 19:25:54 -08:00
L. David Baron
7f2e2e8a2c
Bug 839809: Make counter-increments and list counting that would go past our internal (int32_t) limit keep the counter at its current value rather than wrapping. r=dholbert
...
Per CSS WG resolution regarding counter-styles-3, afternoon of 2013-02-05:
http://krijnhoetmer.nl/irc-logs/css/20130205#l-1590
http://lists.w3.org/Archives/Public/www-style/2013Feb/0392.html
Note that this patch depends on signed integer overflow behavior in C++,
which I believe is portable despite being unspecified.
2013-02-21 18:10:59 -08:00
Daniel Holbert
4987835a8d
Bug 812822 part 3: Add a TreeMatchContext flag to indicate that we should skip flex item style fixup, and use it when framing anonymous content in ConstructFrame(). r=bz
2013-02-20 23:35:03 -08:00
Seth Fowler
5c32b0dad7
Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe
2013-01-10 19:38:34 -08:00
Avi Halachmi
693de7603d
Bug 842967 - Prevent refresh driver re-targeting the same timestamp. r=vladimir
2013-02-20 14:07:51 -05:00
Olli Pettay
bf4137cb5f
Bug 840263, make sure to notify the right navigation timing about page load, r=hsivonen
...
--HG--
extra : rebase_source : fedfbc41e787117e941fd4d5c12807002dfbe64a
2013-02-20 20:15:21 +02:00
Ryan VanderMeulen
34cc5e3c2c
Speculatively backout changeset e8d73b8ba1a1 (bug 825720) for Android armv6 reftest 2 timeouts.
2013-02-20 12:20:12 -05:00
Julian Viereck
ad640d40e0
Bug 743252 - Implement moznomarginboxes attribute. r=roc
2013-02-20 10:50:21 -05:00
Seth Fowler
704abaa919
Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe
2013-01-10 19:38:34 -08:00
Matt Woodrow
2d2e695b90
Bug 840480 r=roc
2013-02-20 13:13:01 +13:00
Jonathan Kew
2ec999237c
bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc
2013-02-19 21:46:27 +00:00
Mats Palmgren
b546ef5ec6
Bug 822910. r=roc
2013-02-19 02:44:14 +01:00
Daniel Holbert
f59740fb37
Bug 841261: Use init list instead of assignment in nsFrameIterator constructor. r=mats
2013-02-18 08:59:55 -08:00
Christian Holler
60db5c6203
Bug 838557 - Fix obvious problem with previous patch in nsPresShell.cpp, r=me
2013-02-18 02:48:41 +01:00
Jonathan Kew
75c275f4e3
bug 841470 followup - fix signed/unsigned warning causing build bustage. r=me
2013-02-17 21:55:32 +00:00
Jonathan Kew
d79632d7c3
bug 841470 - don't call AppUnitsPerDevPixelChanged unless the value has actually changed. r=roc
2013-02-17 21:27:24 +00:00
L. David Baron
f75e32c2f2
Bug 781360 patch 4: Remove the Get from nsStyleContext::GetStyleData and nsIFrame::GetStyleDataExternal, which never return null. r=dholbert
2013-02-16 13:51:03 -08:00
L. David Baron
5ef4421fa5
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
L. David Baron
8f3a364f1f
Bug 781360 patch 1: Rename nsStyleContext::GetRuleNode to RuleNode, since it can never return null. r=dholbert
...
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".
nsStyleContext's rule node is never null because we require a rule node
in order to construct a style context.
2013-02-16 13:04:53 -08:00
Wes Johnston
daa8624c27
Bug 838256, part 1 - Initial work on the layout pieces for <input type=range>. DONTBUILD separately from jwatt's changeset (the next one) to finish this work. r=dholbert for the combined diff.
2013-02-16 17:57:21 +00:00
Robert O'Callahan
013943dc4f
Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : de498510bf8d85d9b0b2fab0137ef3be01c9adfa
2013-02-15 00:12:27 +13:00
Robert O'Callahan
a2485753ff
Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : 50a3d6809ef76a25a3d02d91f2873d9ba11fdc56
2013-02-15 00:08:08 +13:00
L. David Baron
f3cff43ce7
Bug 841789, patch 3: Some removal of unneeded style context null-checks and comment cleanup. r=dholbert
2013-02-15 21:38:34 -08:00
L. David Baron
35da9c845d
Bug 841789, patch 2: Fix callers that are going through the style context to get style structs rather than using the nsIFrame shortcuts. r=dholbert
...
This is just a code simplification that I noticed while reading through
patch 1.
2013-02-15 21:38:34 -08:00
L. David Baron
b387f0fbea
Bug 841789, patch 1: Rename nsIFrame::GetStyleContext() to nsIFrame::StyleContext() since it can never return null. r=dholbert
...
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".
2013-02-15 21:38:33 -08:00
Avi Halachmi
ad77774fb9
Bug 838758: Cache GradientStops instead of gfxPattern. r=jrmuizel
...
Our gfxPattern cache is currently way too specific, which causes lots of
unnecessary cache misses. The only thing that we actually need to key on is the
color stops.
This switches the cache to hold GradientStops instead of gfxPatterns. This
improves our cache hit rate and is simpler. It also avoids doing caching when
not using Azure, which currently has no benefit.
Average paint times results (in ms)
(on windows 7 x64, i7-3630qm, HD4000)
-------------------------------------
m-c
open: 3.5 close: 3.3
m-c cache-key
open: 2.6 close: 2.4
ux
open: 7.3 close: 5.2
ux cache-key
open: 6.9 close: 5.3
2013-02-15 20:54:49 +02:00
Trevor Saunders
36453999ea
bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz
2013-02-12 17:02:51 -05:00
Ed Morley
cda32cedb6
Backed out changeset 2c860c4bb820 (bug 840902) on a CLOSED TREE
2013-02-15 09:05:36 +00:00
Ed Morley
57e0dd68c3
Backed out changeset 6c21598704ac (bug 840902)
2013-02-15 09:05:07 +00:00
Robert O'Callahan
e1fb5e883e
Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : ce01b066f803e048c0e38e5316ce96a75e689418
2013-02-15 00:12:27 +13:00
Robert O'Callahan
00c4fde2d7
Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : b7db21120cdd96342502db64916b0b2e75c0a9c3
2013-02-15 00:08:08 +13:00
Christian Holler
a933aec5ad
Bug 838557 - Create a common interface for ASan/Valgrind functions. r=mats,bhackett
2013-02-15 00:50:11 +01:00
Ryan VanderMeulen
aa53927960
Backed out changesets 45f20f94da76 and 47c4a7768ed9 (bug 841436) for Windows bustage on a CLOSED TREE.
2013-02-14 16:52:54 -05:00
William Chen
05c2bf4af4
Bug 827227 - Fixed int overflow when scaling border-image-width. r=dbaron
2013-02-14 11:57:20 -08:00
Trevor Saunders
56e8ed5cca
bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz
2013-02-12 17:02:51 -05:00
Ed Morley
ff7f810e15
Backed out changeset b1905f6653d4 (bug 840902) on a CLOSED TREE
2013-02-14 11:47:08 +00:00
Ed Morley
4a6a363175
Backed out changeset 1bd3acba4c01 (bug 840902)
2013-02-14 11:46:42 +00:00
Robert O'Callahan
78a5f60762
Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : 2236b75807639d54a39950d06cd18cfc952659f3
2013-02-15 00:12:27 +13:00
Robert O'Callahan
79e1c070da
Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : f90be285148c68fae306d09714f0fe642b490c45
2013-02-15 00:08:08 +13:00
Robert O'Callahan
f8a3aa09a4
Bug 815591. Don't build nsDisplayBackgroundColor if there is no background color and we're not going to do hit-testing. r=mattwoodrow
2012-11-28 01:50:09 +13:00
Cameron McCormack
b23fedc2f1
Bug 841225 - Do not create frames for HTML elements within a <tspan>. r=bzbarsky
2013-02-14 17:23:52 +11:00
Ryan VanderMeulen
6f3f0dfc24
Backed out changeset 394bbaa548e3 (bug 815591) for OSX reftest failures on a CLOSED TREE.
2013-02-13 22:10:09 -05:00
Robert O'Callahan
5d01e9b871
Bug 815591. Don't build nsDisplayBackgroundColor if there is no background color and we're not going to do hit-testing. r=mattwoodrow
...
--HG--
extra : rebase_source : 1e7055649266621e72cbd669949c3d30a32980a2
2012-11-28 01:50:09 +13:00
Wan-Teh Chang
983957f583
Bug 807883: Reformat a function call.
2013-02-12 18:48:59 -08:00
Ryan VanderMeulen
0e981ca346
Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE.
2013-02-12 20:54:48 -05:00
Bobby Holley
e9d5a91d21
Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
...
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-13 00:22:26 +01:00
Nicholas Cameron
4dcee2ea37
Bug 828531; fix scaling CSS pixels for animations; r=roc
...
--HG--
extra : rebase_source : 0e24bf2ee472a37b742efe3d142c2c25fef3e572
2013-02-13 10:00:54 +13:00