Robert O'Callahan
2f559956a1
Bug 950427. Don't descend into subdocuments at all in elementFromPoint. r=mats
...
--HG--
extra : rebase_source : 59ce23c3ab81afc624921e4543fe48dd7ae47ce2
2013-12-18 18:37:24 +13:00
Phil Ringnalda
d12a89d025
Back out f55504b0184f (bug 950427) for mochitest-4 and mochitest-oth bustage (at least)
...
CLOSED TREE
2013-12-17 23:22:20 -08:00
Robert O'Callahan
4e5e1fbf10
Bug 950427. Don't descend into subdocuments at all in elementFromPoint. r=mats
2013-12-18 18:37:24 +13:00
Timothy Nikkel
9e366145a2
Bug 951467. Give scroll layer items the bounds of the scroll port, not the bounds of the display port. r=roc
...
The bounds of the scroll port match what will actually be drawn on the screen.
The bounds of the contained content (sized to the display port) are still accessible via mList.GetBounds, and similarly the visible rect of the contained content is mList.GetVisibleRect. The external bounds/visible rect are GetBounds and GetVisibleRect on the nsDisplayScrollLayer object itself.
We implement nsDisplayScrollInfoLayer::GetBounds solely so that it continues to return an empty rect because we expect active empty layers to have empty visible rects.
We no longer have to set our mVisibleRect in nsDisplayScrollLayer::ComputeVisibility because nsDisplayList::ComputeVisibilityForSublist now does it correctly for us (like other items).
We also have to teach ContainerState::ProcessDisplayItems to not set the visible region for scroll layers because it has the external visible region, not the larger internal display port sized visible region. We instead let BuildContainerLayer set the visible region of the layer.
2013-12-17 23:02:56 -06:00
Chris Lord
fd192955fd
Bug 936500 - Always build layers for nsDisplayScrollLayer. r=tn
...
APZC information is associated with layers, and having those layers suddenly
disappear because they became occluded, or their displayports are off-screen
has undesired effects.
2013-12-13 19:37:34 +00:00
Cameron McCormack
ae655160b2
Bug 773296 - Part 16: Add a ref-counted list nsCSSValue unit and use it for tranform lists; hold a strong reference to one on nsStyleDisplay. r=dbaron
...
This adds a new eCSSUnit_SharedList type for nsCSSValue, which is a
reference counted object that contains an nsCSSValueList. We need this
so that nsStyleDisplay::mSpecifiedTransform can hold a strong reference
to a specified transform list value. When 'transform' is specified
using a variable reference, the resulting nsCSSValue does not stick
around in the Declaration object, so we wouldn't be guaranteed that
it lives long enough for nsStyleDisplay to keep referencing it.
2013-12-12 13:09:44 +11:00
Kartikaya Gupta
2b78585247
Bug 814435 - Annotate layers for scrollbars as such. r=tn, BenWa
2013-12-09 22:14:53 -05:00
Nicholas Cameron
e3cb6e45db
Bug 943110. Don't use fputc in display list/layers dumps. r=BenWa
2013-11-26 15:07:41 +13:00
Matt Woodrow
146de18587
Bug 941559 - Invalidate nsDislaySolidColor display items when their color changes. r=roc
2013-11-25 14:59:00 +13:00
Benoit Girard
a735170d84
Bug 942483 - Port paint-dumping to android/b2g. r=gal
2013-11-23 17:44:18 -05:00
Matt Woodrow
dc67315f3f
Bug 939607 - Part 3: Try fold nsDisplayOpacity items opacity value into their children. r=roc
2013-11-18 22:32:09 +13:00
Matt Woodrow
4fa53e45d1
Bug 939607 - Part 2: Add an API for storing an opacity on a display item, and implement it for nsDisplayBoxShadowOuter. r=roc
2013-11-18 22:32:09 +13:00
Robert O'Callahan
01aedc2359
Bug 919144. Part 10: Fold nsDisplayFixedPosition into nsDisplayStickyPosition. r=mattwoodrow
...
--HG--
extra : rebase_source : 597e2a178762509421a32d53be6242cd588c7995
2013-09-27 18:02:03 +12:00
Robert O'Callahan
f994dec6df
Bug 919144. Part 9: Move FrameLayerBuilder::ContainerParameters to mozilla::ContainerLayerParameters. r=mattwoodrow
...
This is to avoid having to #include FrameLayerBuilder.h in nsLayoutUtils.h in the next patch.
--HG--
extra : rebase_source : 5f3c3ae2785267949766ae094414781133d4ce44
2013-09-27 18:01:16 +12:00
Robert O'Callahan
94d3e5ce37
Bug 919144. Part 8: Delete lots of code that's no longer needed. r=mattwoodrow
...
I never liked nsDisplayListBuilder::IsFixedItem anyway, its behavior and
naming was confusing. Also, it assumed there's only one viewport displayport,
on the rootmost document, and that's a bad assumption in general.
We're able to remove calls to ForceVisiblityForFixedItem because FrameLayerBuilder
is now responsible for inflating the visible region of the fixed-pos layers.
--HG--
extra : rebase_source : e93d8e25d2f5c7f3e167e47203d961e6b4293b81
2013-09-27 18:01:16 +12:00
Robert O'Callahan
fd9ce678dc
Bug 919144. Part 1: Rename identifiers from 'active scroll(ed) root' to 'animated geometry root'. r=mattwoodrow
...
Also sneaks in a couple of other refactorings:
--HG--
extra : rebase_source : 8b0e0729f26231d98ed069b54dd4f7c1e51b10b5
2013-09-26 09:07:26 +12:00
Robert O'Callahan
6db16af142
Backout changesets 37f9a5424227, c1578a4fc86d and a417424f9213 (for bugs 933354, 929021 and 923193 respectively) while we figure out performance regressions
...
--HG--
extra : rebase_source : e4a004a15c92b5a8a8b780e7da779ac86d1c29be
2013-11-11 15:23:56 +13:00
Robert O'Callahan
6331fbf62b
Bug 933354. Avoid calling GetDeltaToPerspectiveOrigin for elements that don't have perspective. r=heycam
...
--HG--
extra : rebase_source : 2e887376cc3529191799e6e7726c336199121e96
2013-11-05 23:03:38 -08:00
Kartikaya Gupta
5b8181c580
Bug 732971 - Create a new layer type for subdocuments with a resolution. r=tn
...
The new nsDisplayResolution layer type is created for any subdocument whose
presShell specifies a non-1.0 resolution. This is specifically needed for
platforms such as Android and Metro, where the presShells corresponding to
the tabs (which have non-1.0 resolutions) are not the root presShell.
2013-10-29 09:27:15 -04:00
L. David Baron
785d543a47
Bug 929673 Patch 3: Rename GetDeltaToMoz{Transform,Perspective}Origin to remove the Moz to avoid use of deprecated CSS prefixes in variable names. r=dzbarsky
2013-10-24 14:46:00 +02:00
L. David Baron
9b57c9876e
Bug 929673 Patch 2: Rename mToMozOrigin to mToTransformOrigin to avoid use of deprecated CSS prefixes in variable names. r=dzbarsky
2013-10-24 14:46:00 +02:00
Robert O'Callahan
64040f3483
Bug 903340. Make nsDisplayScrollInfoLayer::ShouldFlattenAway side-effect-free. r=tn
2013-10-21 15:47:26 -07:00
Birunthan Mohanathas
e3709383ec
Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan
...
--HG--
extra : rebase_source : 0d0d9e11be9d39e4457bddd0bac7e19a50b91b0b
2013-10-08 14:47:21 -04:00
Markus Stange
52b360943f
Bug 532828 - Don't invalidate the whole window on window activation/deactivation. r=roc
2013-09-27 17:24:32 +02:00
Rik Cabanier
fc566afdce
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
0383e51844
Bug 902525 - Part 2: Create layers for isolated groups when blending is involved r=roc
2013-09-14 20:30:00 -07:00
Corey Ford
d5b2deaa8e
Bug 897105 - Part 4: Build display items and layers for sticky positioned elements. r=roc
2013-09-12 18:56:57 -07:00
Nicholas Cameron
4b66038b85
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
Scott Johnson
cca0d1756f
Bug 746015: Add a nsDisplayGenericOverflow class that uses a frame's visual overflow rect as its bounds to correctly display column rules that lie outside of a column set frame's bounds. [r=dbaron]
2013-08-20 16:38:29 -05:00
Ehsan Akhgari
2621b190f1
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
Benoit Girard
084ae6868c
Bug 873378 - Add a limit on mobile of 20 layers per container layer. r=roc
2013-07-16 16:17:18 -04:00
Ehsan Akhgari
ef4b479714
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
David Zbarsky
0c95eabb49
Backout 4c89002460da (Bug 873378) for breaking the settings app on B2G
2013-07-26 13:20:23 -07:00
Ms2ger
fe97b4a6ec
Bug 896261 - Remove aAppendedThemedBackground arguments from nsDisplayBackgroundImage::AppendBackgroundItemsToTop, nsFrame::DisplayBackgroundUnconditional; r=roc
2013-07-24 09:38:55 +02:00
Benoit Girard
1591216c2a
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
cddb8f5c57
Bug 894905 - Create a separate nsDisplayItem subclass for -moz-appearance backgrounds. r=roc
2013-07-18 08:34:58 +02:00
Markus Stange
da419264b0
Bug 894905 - Make AppendBackgroundItemsToTop return a bool instead of an nsDisplayBackgroundImage. r=roc
2013-07-18 08:34:10 +02:00
Timothy Nikkel
5942372742
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
Robert O'Callahan
50ed09d4f7
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
3626efe7eb
Bug 876092. Part 1. Don't let effects of MarkFramesForDisplayList carry over between pages. r=mats
2013-06-18 21:15:37 +12:00
Timothy Nikkel
c29d266b4a
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
339528e31f
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
Joe Drew
64fe79505a
Bug 867770 - Layerize all animated images. r=mattwoodrow
2013-05-30 09:50:50 -04:00
Arnaud Sourioux
c6d0c9ac5d
Bug 875367: Annotate ~280 more methods with MOZ_OVERRIDE in /layout. r=dholbert
2013-05-29 12:37:49 -07:00
Markus Stange
08702570d3
Bug 676241 part 8: Remove alternate layer manager handling. r=mattwoodrow
2013-05-23 16:49:18 +02:00
Markus Stange
df0daeb0fd
Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc
2013-05-22 11:50:57 +02:00
Markus Stange
78a27ca962
Backed out 2 changesets (bug 871590) CLOSED TREE
2013-05-22 14:10:46 +02:00
Markus Stange
ac855585e9
Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc
...
--HG--
extra : rebase_source : dc4c5dff4f0a392e096976b355bcf2140f7b2879
2013-05-22 11:50:57 +02:00
Arnaud Sourioux
623d2ed378
Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert
2013-05-14 09:33:23 -07:00
Robert O'Callahan
7e20e1ed1a
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