Robert O'Callahan
0f4b7728a4
Bug 923193. Make transform-origin on SVG elements use the SVG bbox as the reference rectangle. r=heycam
...
--HG--
extra : rebase_source : 7c8d1b42a09b9389d082195edd0c683e2dc7e12e
2013-10-03 08:34:24 -04:00
Wes Kocher
03ca5a1de6
Merge fx-team to m-c
2013-09-27 20:32:24 -07:00
Kartikaya Gupta
de4063844e
Bug 918682 - Fix the check for finding the root content document's root scroll frame. r=tn
2013-09-27 15:15:57 -04:00
Markus Stange
203d1cece9
Bug 532828 - Don't invalidate the whole window on window activation/deactivation. r=roc
2013-09-27 17:24:32 +02:00
Mats Palmgren
5a3cdd8297
Bug 919318 - Drop the Get prefix on the frame methods GetFirstContinuation, GetLastContinuation, GetFirstInFlow, GetLastInFlow and also on nsLayoutUtils::GetLastContinuationWithChild, because they never return null. r=dholbert
2013-09-25 11:42:34 +00:00
Robert O'Callahan
9b2a17d635
Bug 913438. Remove mAnchor check since it doesn't help correct inconsistency between ImageLayer snapping and regular snapped image drawing, and can hurt performance. r=tnikkel
...
--HG--
extra : rebase_source : 5f62e052d20a9acb0a428b988e2d9b16c7b19dbc
2013-09-09 17:08:41 -07:00
Rik Cabanier
56157ddfae
Bug 902525 - Part 7: fix to turn off text anti-aliasing r=roc
2013-09-15 16:48:14 -07:00
Rik Cabanier
37cda4a234
Bug 902525 - Part 3: create a layer for content that stores the blend mode r=roc
2013-09-14 20:40:11 -07:00
Rik Cabanier
48ef519963
Bug 902525 - Part 2: Create layers for isolated groups when blending is involved r=roc
2013-09-14 20:30:00 -07:00
Ehsan Akhgari
86a457baf2
Bug 916610 - Minimize the #includes in layout/style; r=roc
2013-09-15 21:06:52 -04:00
Ryan VanderMeulen
68ba33db0f
Backed out 7 changesets (bug 902525) for B2G reftest failures.
...
Backed out changeset bbca63772c83 (bug 902525)
Backed out changeset edb386989dbd (bug 902525)
Backed out changeset 3137dadb4fcd (bug 902525)
Backed out changeset e562afcb3c89 (bug 902525)
Backed out changeset 8ef3a516bd68 (bug 902525)
Backed out changeset 520fcd422150 (bug 902525)
Backed out changeset 4e553e8da44e (bug 902525)
2013-09-15 18:59:27 -04:00
Rik Cabanier
4146a2c3cb
Bug 902525 - Part 7: Fix to turn off text anti-aliasing. r=roc
2013-09-15 16:24:57 -04:00
Rik Cabanier
47b70c43bf
Bug 902525 - part 3: Create a layer for content that stores the blend mode. r=roc
2013-09-15 16:24:16 -04:00
Rik Cabanier
c9f23e97c5
Bug 902525 - Part 2: Create layers for isolated groups when blending is involved. r=roc
2013-09-15 16:24:06 -04:00
Ryan VanderMeulen
2e3e16ce15
Merge m-c to b2g-inbound.
2013-09-13 16:11:28 -04:00
Botond Ballo
5b10b8525c
Bug 914825 - Compute FrameMetrics::mCompositionBounds correctly for the root scroll frame. r=tn
2013-09-10 17:47:14 -04:00
Ryan VanderMeulen
ce0f027f99
Merge b2g-inbound to m-c.
2013-09-11 20:58:14 -04:00
Kartikaya Gupta
f35c084617
Bug 912806 - Special-case the resolution behaviour on Fennec to work around other bugs. r=tn
2013-09-11 18:17:20 -04:00
Botond Ballo
5fa50f4b24
Bug 912806 - Store both cumulative and non-cumulative resolutions in FrameMetrics and use whichever is appropriate. r=kats
2013-09-05 18:26:59 -04:00
Kartikaya Gupta
9f0a4def20
Bug 909281 - Add some strongly-typed conversion functions for margins and use them in RecordFrameMetrics. r=BenWa
2013-09-11 13:20:43 -04:00
Botond Ballo
c845c0a707
Bug 913205 - Compute offset of FrameMetrics::mCompositionBounds correctly. r=tn
2013-09-05 18:36:07 -04:00
Botond Ballo
2eaf03fbf6
Bug 904533 - Compute FrameMetrics::mCompositionBounds correctly for subframes. r=tn
2013-08-30 13:22:33 -04:00
Jonathan Watt
aa9fdac223
Bug 907503 - Fix invalidation for SMIL animation in SVG-as-an-image. r=roc
2013-09-04 11:39:31 +01:00
Kartikaya Gupta
d4af1fff0e
Bug 907754 - Ensure that the zoom on the FrameMetrics is initialized correctly for all frames. r=tn
...
RecordFrameMetrics gets called on a variety of layers. Previously it would
incorrectly set mZoom for a number of these layers. For scrollable container
layers inside the main document, it would set the mResolution from the
presShell's resolution, thus compounding the painted resolution.
Furthermore, for iframes inside the document, it would assign mZoom the
value from TabChild's mLastMetrics, which is only meant to apply to the
top-level document. Prior to multi-apzc work these values were never used
so it didn't matter but now they are so they should be assigned correctly.
2013-08-30 13:11:01 -04:00
Nicholas Cameron
4517b466e2
Bug 893330. Invalidate the frame area for box shadow display list items with border radius. r=mattwoodrow
2013-08-23 13:47:54 +12:00
Bill McCloskey
58e3b9ee18
Bug 907495 - Scrollbars cause content to be shifted in e10s (r=kats,mattwoodrow)
2013-08-22 13:18:11 -07:00
Ehsan Akhgari
5fa9157954
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
Botond Ballo
27043f6de7
Bug 895905 - Eliminate some of the special handling of ROOT_SCROLL_ID. r=kats, r=tn
2013-08-08 15:56:08 -04:00
Botond Ballo
d9ebfce749
Bug 895905 - B2G mechanism for content to inform APZC about scroll events. Handles multi-APZC. r=kats
2013-08-08 15:56:08 -04:00
Markus Stange
ed4042636b
Bug 904541 - Don't #include Layers.h in nsPresContext.h. r=roc
2013-08-14 13:33:03 +02:00
Kan-Ru Chen (陳侃如)
e2a7b7064f
Bug 845169 - Update touch region from remote frame. r=roc
2013-08-13 15:56:57 +08:00
Benoit Girard
7186e08ba4
Bug 873378 - Add a limit on mobile of 20 layers per container layer. r=roc
2013-07-16 16:17:18 -04:00
Timothy Nikkel
3cbce855ee
Bug 837242. Part 2. Add a function to calculate the area of an nsRegion. r=roc
2013-07-30 11:22:43 -05:00
Ehsan Akhgari
9854ac6166
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
David Zbarsky
4a272eb16a
Backout 4c89002460da (Bug 873378) for breaking the settings app on B2G
2013-07-26 13:20:23 -07:00
Ryan VanderMeulen
e8b26d740c
Backed out changesets 4f35e943f939 and da5fa63e90cb (bug 896250) for causing frequent OSX debug asserts on a CLOSED TREE.
2013-07-26 01:22:40 -04:00
Milan Sreckovic
54932e81d6
Bug 896250: Return the max number, not the flag checking if the number was set. r=joe
2013-07-22 17:05:21 -04:00
Ryan VanderMeulen
d848cf68c5
Backed out changeset 8322b4eeb9c6 (bug 897239) to avoid the same Android reftest failures we hit when bug 896250 landed.
...
CLOSED TREE
2013-07-24 16:14:01 -04:00
Dave Hylands
95dbf71bae
Bug 897239 - Fix regression introduced by bug 873378. a=roc
2013-07-24 09:22:22 -07:00
Ms2ger
65809ecc1e
Bug 896261 - Remove aAppendedThemedBackground arguments from nsDisplayBackgroundImage::AppendBackgroundItemsToTop, nsFrame::DisplayBackgroundUnconditional; r=roc
2013-07-24 09:38:55 +02:00
Ryan VanderMeulen
18c13d9bac
Backed out changeset 1e1b4d5c51b7 (bug 896250) to see if it fixes the Android reftest orange.
...
CLOSED TREE
2013-07-23 14:06:40 -04:00
Milan Sreckovic
e41e09833c
Bug 896250 - Return the max number, not the flag checking if the number was set. r=joe
2013-07-22 17:05:21 -04:00
Corey Ford
54030945f9
Bug 897105 - Part 4: Build display items and layers for sticky positioned elements. r=roc
2013-09-12 18:56:57 -07:00
Chris Lord
f6b2427db2
Bug 886298 - Convert Layers fixed position margins to typed units. r=kats
2013-07-22 09:50:13 +01:00
Chris Lord
28526bfea8
Bug 886298 - Convert Layers fixed position anchor to typed units. r=kats
2013-07-22 09:50:09 +01:00
Benoit Girard
72ce20909b
Bug 873378 - Add a limit on mobile of 20 layers per container layer. r=roc
2013-07-16 16:17:18 -04:00
Markus Stange
925f3877d6
Bug 894905 - Create a separate nsDisplayItem subclass for -moz-appearance backgrounds. r=roc
2013-07-18 08:34:58 +02:00
Markus Stange
a3bbc51f36
Bug 894905 - Make AppendBackgroundItemsToTop return a bool instead of an nsDisplayBackgroundImage. r=roc
2013-07-18 08:34:10 +02:00
Benoit Girard
123c3a85d6
Bug 890279 - Create ScrollInfoLayers for frames we want APZC support. r=kats
2013-07-02 11:16:05 -04:00
Kartikaya Gupta
819022d7ab
Bug 866265 - Revert a line from bug 883646 because it was incorrect. r=kentuckyfriedtakahe
2013-07-03 09:04:48 -04:00
Timothy Nikkel
3efded2df1
Bug 695763. Part 5. Invalidate background images if they are not decoded and we are asked to do a sync decode. r=matt.woodrow
2013-06-26 11:43:27 -05:00
Timothy Nikkel
89a1d139e5
Bug 695763. Part 3. Invalidate the background images of buttons, fieldsets, and mathml chars if they are not decoded and we are asked to do a sync decode. r=matt.woodrow
2013-06-26 11:43:26 -05:00
Phil Ringnalda
20c50535f9
Merge m-c to m-i
2013-06-22 15:56:20 -07:00
David Zbarsky
f693e46b40
Bug 881121: Remove the 3d-transforms-enabled pref because it is always enabled and has been for a while r=dbaron
2013-06-22 13:35:09 -07:00
Kartikaya Gupta
e6d307eeca
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Ryan VanderMeulen
89cd9674cd
Backed out 7 changesets (bug 883646) for reftest-ipc failures.
...
Backed out changeset 2272804a8e71 (bug 883646)
Backed out changeset e39d3bdf847a (bug 883646)
Backed out changeset bf46fc332efe (bug 883646)
Backed out changeset 6bb558c3136f (bug 883646)
Backed out changeset d7d5d16e27e0 (bug 883646)
Backed out changeset 14c73096a132 (bug 883646)
Backed out changeset 89f6185a271b (bug 883646)
2013-06-20 17:36:39 -04:00
Kartikaya Gupta
bc7a93a250
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-20 16:10:58 -04:00
Robert O'Callahan
5b98f9c1a4
Bug 876092. Copy the DisplayItemClip into OutOfFlowDisplayData instead of storing a pointer. r=mats
2013-06-18 21:15:39 +12:00
Robert O'Callahan
133d433fda
Bug 876092. Part 1. Don't let effects of MarkFramesForDisplayList carry over between pages. r=mats
2013-06-18 21:15:37 +12:00
Matt Woodrow
6d01a3cdf3
Bug 873944 - When we have OMTC, don't invalidate and wait for the widget paint event, just call DidPaint immediately. If we do get a widget paint event (from an OS initiated resize or similar), then block until the compositor has drawn the frame. r=roc
2013-06-18 19:59:29 +12:00
Kartikaya Gupta
aef5a03609
Bug 880676 - Correct the composition bounds to be in screen coordinates rather than layer coordinates. r=kentuckyfriedtakahe
2013-06-14 16:11:29 -04:00
Kartikaya Gupta
1d2c4c97c5
Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe
2013-06-11 09:46:51 -04:00
Kartikaya Gupta
480d3251f0
Bug 879004 - Change FrameMetrics.mViewport to be a CSSRect. r=BenWa
2013-06-10 09:05:43 -04:00
Kartikaya Gupta
8cf123d18d
Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa
2013-06-10 09:05:42 -04:00
David Zbarsky
4e666d420d
Bug 779395 - Add support for skew transforms to compositor-driven animations r=dbaron
2013-05-21 18:22:44 +08:00
Timothy Nikkel
c3a504ac61
Bug 878612. Make sure to pass through the background painting flags through in all cases. r=matt.woodrow
2013-06-03 23:49:03 -05:00
Joe Drew
c1f4978ba3
Bug 878062 - Don't call TryOptimizeToImageLayer if we are definitely not going to optimize to an image layer, since it uses lots of memory. r=mattwoodrow
2013-06-03 10:57:06 -04:00
Kartikaya Gupta
7a734ca654
Bug 877728 - Convert the page rect passed to SetFirstPaintViewport to LayerIntRect. r=BenWa
2013-06-03 09:58:34 -04:00
Kartikaya Gupta
e1db212150
Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa
2013-06-03 09:52:44 -04:00
David Zbarsky
a6b5f8508d
Bug 788549: Fix matrix animations (patch hunk got lost in rebasing) r=dbaron
2013-06-02 13:35:17 -07:00
David Zbarsky
33132a9bdb
Bug 788549 Part 9: matrix() animations interpret arguments in wrong order r=dbaron
2013-05-31 11:06:56 -07:00
Joe Drew
c4c196188f
Bug 867770 - Add a pref as to whether we layerize animated images, disabled by default. r=mattwoodrow
2013-05-30 21:33:17 -04:00
Joe Drew
9a5d492da7
Bug 867770 - Layerize all animated images. r=mattwoodrow
2013-05-30 09:50:50 -04:00
Kartikaya Gupta
99a4283e34
Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe
2013-05-30 21:30:13 -04:00
Matt Woodrow
0d5f8e14b1
Bug 869133 - Recycle the ImageLayers created by nsDisplayImage/nsDisplayBackgroundImage instead of recreating them each time. r=roc
2013-05-30 14:42:28 +12:00
Anthony Jones
015375f697
Bug 868047 - Use a PresShell ID to eliminate stale APZC events; r=roc,benwa
2013-05-24 09:43:36 +08:00
Markus Stange
66fb5cfd84
Bug 676241 part 8: Remove alternate layer manager handling. r=mattwoodrow
2013-05-23 16:49:18 +02:00
Markus Stange
ea03392fcc
Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc
2013-05-22 11:50:57 +02:00
Markus Stange
7b49365fa6
Backed out 2 changesets (bug 871590) CLOSED TREE
2013-05-22 14:10:46 +02:00
Markus Stange
7343081400
Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc
...
--HG--
extra : rebase_source : dc4c5dff4f0a392e096976b355bcf2140f7b2879
2013-05-22 11:50:57 +02:00
Ed Morley
a8ea0bbb16
Backed out changeset 1d056bb94292 (bug 779395) for reftest failures on Tegras
2013-05-21 14:03:43 +01:00
David Zbarsky
c0eb3c766a
Bug 779395 - Add support for skew transforms to compositor-driven animations r=dbaron
2013-05-21 18:22:44 +08:00
Matt Woodrow
f46eb6a53e
Bug 866470 - Make the style context lookup in nsDisplayList match what nsCSSRendering does. r=roc
2013-05-08 15:47:31 +12:00
Robert O'Callahan
5e25d35f87
Bug 866579. Don't bother adding an arena-allocated DisplayItemClip to mDisplayItemClipsToDestroy if its destructor isn't going to do anything interesting. r=mattwoodrow
...
--HG--
extra : rebase_source : b8b64d9697cd2f19a42ff751cbfb7a1566f28209
2013-05-07 22:16:30 -07:00
Mats Palmgren
7ade6fec14
Bug 868906 - Make GetChildFrameContainingOffset() stable. r=roc
2013-05-07 20:48:59 +02:00
Nicolas Silva
391cf268bb
Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
...
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
Robert O'Callahan
fd709d6e6f
Bug 860524. Remove hacky (and buggy) pseudo-destruction of DisplayItemClips created by GetCurrentClip; ensure that they're all destroyed properly when the arena goes away, by tracking them explicitly in nsDisplayListBuilder. r=mattwoodrow
...
--HG--
extra : rebase_source : f5d572ed37255b9036ce2678645788768e0a52ae
2013-04-15 17:11:10 +12:00
Ehsan Akhgari
8d3203e0f8
Backed out changeset fdaa0659fe13 (bug 863324) because of build bustage on a CLOSED TREE
...
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 18:12:15 -04:00
Nicolas Silva
ab0ca9312a
Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
...
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 22:51:11 -04:00
Ryan VanderMeulen
25f1906153
Backed out changeset ddf944cc292d (bug 863324) for Android bustage on a CLOSED TREE.
...
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 14:47:16 -04:00
Nicolas Silva
3b0ce69477
Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
...
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 18:07:48 -04:00
Ed Morley
d84e7e16cb
Backed out changeset dc2ced1dd175 (bug 860524) for reftest failures
2013-04-19 13:51:24 +01:00
Robert O'Callahan
2817c39fd2
Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow
2013-04-20 00:02:13 +12:00
Robert O'Callahan
037af48e84
Bug 862180. Part 1: Remove null checks on the result of nsDisplayItem::GetUnderlyingFrame(). r=mattwoodrow
2013-04-20 00:01:41 +12:00
Robert O'Callahan
305561c096
Bug 860524. Remove hacky (and buggy) pseudo-destruction of DisplayItemClips created by GetCurrentClip; ensure that they're all destroyed properly when the arena goes away, by tracking them explicitly in nsDisplayListBuilder. r=mattwoodrow
2013-04-15 17:11:10 +12:00
Mats Palmgren
109767f361
Bug 485149 - Using box-shadow on a <fieldset> with <legend> does not follow box shape. r=roc
2013-04-17 22:16:14 +02:00
Robert O'Callahan
31d25be8bf
Bug 860579. Make FindContentInDocument use the frame tree as much as possible. r=mattwoodrow
...
--HG--
extra : rebase_source : c4d05d33fdc6b2bcc99437808f78ada8770f9263
2013-04-16 18:14:56 +12:00
Ms2ger
dbbebc6ee4
Backout changesets 3581b3d60886, cff9eab960e3, d390c8c21882 for Android foreignObject-fixedpos-01.html failures on a CLOSED TREE.
2013-04-16 11:40:41 +02:00
Robert O'Callahan
d13d3fcf4b
Bug 860579. Make FindContentInDocument use the frame tree as much as possible. r=mattwoodrow
2013-04-16 18:14:56 +12:00
Chris Lord
f67f2ed873
Bug 856932 - Fix async scrolling of auto-positioned fixed position elements. r=nrc
...
Layers representing auto-positioned fixed position elements should not be
offset by the fixed layer margins.
2013-04-15 09:31:48 +01:00
Matt Woodrow
30d119577c
Bug 859630 - Use the PresContext's document in FindContentInDocument when the frame doesn't have an associated nsIContent. r=roc
2013-04-15 18:55:36 +12:00
Robert O'Callahan
bf594d63fa
Bug 841192. Part 16: Take plugin's own clipping into account when computing the region for its window. Make SortByContentOrder handle cases where display items in the same list come from different documents. r=mattwoodrow
...
--HG--
extra : rebase_source : f39deb6250c7aef71d6cd3a62df43785a3bfc7b1
2013-04-05 21:30:34 +13:00
Robert O'Callahan
7cbe6380ff
Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow
...
This patch does several things. Sorry.
In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we
push clip state onto the nsDisplayListBuilder and give the display items an
explicit clip when they're created.
In FrameLayerBuilder, we use the explicit clips we find on display items instead of
computing our own.
We remove nsDisplayClip and everything that depends on it.
We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and
nsDisplayOptionEventGrabber removed in a previous patch, there are no
anonymous child lists.
nsDisplayItem::TryMerge implementations need to make sure they have the same
clip before being merged.
I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects.
As far as I can tell, it isn't actually necessary.
--HG--
extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
2013-03-04 22:56:02 +13:00
Robert O'Callahan
62aa179c29
Bug 841192. Part 13: Rename nsFrame::ApplyOverflowClipping to ShouldApplyOverflowClipping. r=mattwoodrow
...
We rename nsFrame::ApplyOverflowClipping to nsFrame::ShouldApplyOverflowClipping
to reflect the fact that it doesn't cause any clipping.
--HG--
extra : rebase_source : d3bd1ef902276526b37b27c510a8d3a9db6416dc
2013-03-07 00:08:16 +13:00
Robert O'Callahan
53c6c63412
Bug 841192. Part 12: Move RoundedRectIntersectsRect from nsDisplayList.cpp to nsLayoutUtils. r=mattwoodrow
...
--HG--
extra : rebase_source : aa0ad96c363b70895b068a6d4805f9164cc03b27
2013-03-07 00:08:15 +13:00
Robert O'Callahan
96f57a5820
Bug 841192. Part 8: On encountering out-of-flow frames during display list construction, save their clip rect as well as their dirty rect for later use when we traverse the placeholder. r=mattwoodrow
...
--HG--
extra : rebase_source : 3a41e2eb4940f1ae7c0748f27211a7d0cf7ad638
2013-03-04 22:56:02 +13:00
Mats Palmgren
76816cc92f
Bug 855920 - Remove unused nsDisplayTransform ctor. r=roc
2013-04-01 18:45:18 +02:00
Robert O'Callahan
ec730ddcc9
Bug 852489. Part 9: Avoid temporarily setting a layer's visible region to a non-final value. r=mattwoodrow
...
We currently set the visible region on most container layers twice: once in
BuildContainerLayerFor, where we don't take clipping from ancestors into
account, and then later ProcessDisplayItems calls RestrictVisibleRegionForLayer
which does take ancestor clipping into account. This causes unnecessary
Mutated()s.
In this patch we partially fix this by forcing transform layers to take
account of their ancestor clipping when they set the visible region in
BuildContainerLayerFor. For those layers we don't need to apply
ancestor clipping in ProcessDisplayItems. This is done in a rather
ugly way, by passing the ancestor clip rect as an extra field of
ContainerParameters. To preserve the optimization that prerendered
elements are treated as fully visible regardless of ancestor clipping,
we have to add a flag to turn that clipping off in BuildContainerLayerFor.
In bug 841192 we will be able to fix this in a much nicer way, because we can
get the ancestor clip directly off the nsDisplayItem passed to
BuildContainerLayerFor. But this approach is needed for the B2G18 branch.
--HG--
extra : rebase_source : 26fbe55db84ab96e1e358b8803b0563f42590836
2013-03-22 15:17:29 +13:00
Benoit Girard
fc10a7cfe4
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
9d12529d78
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Matt Woodrow
976550b695
Bug 822086 - Handle a nullptr ContainerLayer in nsDisplayTransform::BuildLayer. r=bustage CLOSED TREE
2013-03-21 16:27:02 +13:00
Matt Woodrow
667dc0c39c
Bug 822086 - Don't build ContainerLayers that would have a singular matrix. r=roc
2013-03-21 15:33:00 +13:00
Robert O'Callahan
3f62f02bdc
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
Ed Morley
3be8543796
Backed out changeset e8ffcf4b8e22 (bug 846901)
2013-03-19 14:15:07 +00:00
Robert O'Callahan
e0e3473650
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
Ed Morley
b2109c458f
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9
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
664cf994b4
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
c4c6a0ddf5
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Timothy Nikkel
2b0ae273b3
Bug 848421. Part 2. Remove useless PresContext argument to nsCSSRendering::FindBackground. r=mats
2013-03-07 10:03:49 -06:00
Chris Lord
81f0522af9
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
Ryan VanderMeulen
893d8d351a
Backed out 9 changesets (bug 716403) for Android 4.0 robocop bustage on a CLOSED TREE.
2013-03-06 16:11:05 -05:00
Chris Lord
f223199f29
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
Ed Morley
2e90a500bf
Backed out changeset cacb9f3ee44d (bug 840693)
2013-03-04 14:37:43 +00:00
Anthony Jones
fffa15107b
Bug 840693 - Change to using gfx:: types in AsyncPanZoomController; r=cjones
2013-03-04 13:25:26 +13:00
Ryan VanderMeulen
5d849d0751
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
f56a95adbd
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
Matt Woodrow
84c04d1e4c
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
L. David Baron
822b2ca3bc
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
Robert O'Callahan
59dfd955a1
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
63fdfec174
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
Ed Morley
ea6cb39072
Backed out changeset b1905f6653d4 (bug 840902) on a CLOSED TREE
2013-02-14 11:47:08 +00:00
Robert O'Callahan
0b8b76fcca
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
8b7ec02e58
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
Ryan VanderMeulen
daec4f1f33
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
ada178ae9a
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
Nicholas Cameron
a1be3479be
Bug 828531; fix scaling CSS pixels for animations; r=roc
...
--HG--
extra : rebase_source : 0e24bf2ee472a37b742efe3d142c2c25fef3e572
2013-02-13 10:00:54 +13:00
Matt Woodrow
ce93190e34
Bug 836844 - Pass the right clip area for canvas frames. r=roc
2013-02-04 07:11:49 -05:00
Robert O'Callahan
a70281e646
Bug 828146. Ensure nsDisplayBackgroundImage::ComputeInvalidationRegion invalidates something for nsDisplayBackgroundImages which are themed. r=mattwoodrow
...
--HG--
extra : rebase_source : 1050ffe991aed624958b9cb63f142a76a34fc67d
2013-02-01 17:09:32 +13:00
Matt Woodrow
6ff7e265f4
Bug 836179 - Add WriteDebugInfo so that display items can add extra information when printing display lists. r=roc
2013-01-30 18:07:30 +13:00
Matt Woodrow
f18c00bb62
Bug 832341 - Use the correct border area (rather than the canvas area) when computing the bounds of an nsDisplayCanvasBackgroundImage. r=roc
2013-01-30 18:07:29 +13:00
Matt Woodrow
23cabe0437
Bug 820839 - Draw OSX titlebar content into a retained buffer during the ThebesLayer painting phase, before we clear invalidation state. r=roc
2013-01-17 11:59:23 +13:00
Mats Palmgren
6c53161814
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
L. David Baron
7f995ece9b
Bug 827717: Change record of CSS animation start to be before delay so that dynamic changes to animation-delay are honored. r=bzbarsky
...
This matches the CSS Working Group consensus recorded in
http://lists.w3.org/Archives/Public/www-style/2012Nov/0261.html , though
the spec hasn't yet been updated.
2013-01-10 21:14:51 -08:00
Robert O'Callahan
85884b1a4b
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
408fbe5931
Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
...
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
b56cdd701e
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Robert O'Callahan
f9b9491b81
Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
...
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.
--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Anthony Jones
0a019ca139
Bug 811950 - Remove fixed position environment variable. r=roc
2012-12-23 10:47:16 -05:00
Nicholas Cameron
478a83c47c
Bug 823460; start throttled transitions with delays; r=dbaron; a=blocking-basecamp
...
--HG--
extra : rebase_source : 8e57f7106fd8241556e63076f8dedc0cb72052e7
2012-12-23 17:52:13 +13:00