Matt Woodrow
70481ebbac
Bug 926268 - Don't include the full frame bounds in nsDisplayBorder if we're only painting one side. r=roc
2013-12-09 12:01:30 +13:00
Timothy Nikkel
688dd8051e
Bug 947467. Active transform layers should obey ancestor clipping if we don't need to prerender non-visible parts of them. r=roc
2013-12-07 12:33:09 -06:00
Botond Ballo
3e7f6be0e0
Bug 942995 - Squish the FrameMetrics::mScrollableRect for overflow:hidden elements. r=tn
2013-11-26 18:46:47 -05:00
Botond Ballo
a1f8dce7ee
Bug 943619 - Do not discard scroll info layers inside an nsDisplayTransform. r=tn
2013-11-26 16:30:20 -05:00
Benoit Girard
a735170d84
Bug 942483 - Port paint-dumping to android/b2g. r=gal
2013-11-23 17:44:18 -05:00
Botond Ballo
89ad1afe7a
Bug 912666 - Force scroll frames for 'scrollgrab' elements to always create a real scrollable layer rather than a scroll info layer. r=roc,tn
2013-10-23 05:04:42 -04:00
Botond Ballo
830bab31c9
Bug 912666 - Propagate the 'scrollgrab' attribute to FrameMetrics. r=kats,Cwiiis
2013-09-23 14:09:48 -05:00
Botond Ballo
774451c530
Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn
2013-11-08 19:07:00 -05:00
Ryan VanderMeulen
f370741daa
Merge m-c to inbound on a CLOSED TREE.
2013-11-18 10:59:48 -05:00
Gijs Kruitbosch
65c5bb5207
Merge m-c to ux
2013-11-18 13:44:32 +01:00
Gijs Kruitbosch
c3218cf205
Merge m-c to ux
2013-11-17 23:37:53 +01: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
Gijs Kruitbosch
0c81a0b0ac
Merge mozilla-central and ux
2013-11-11 22:41:49 +01:00
Matthew Noorenberghe
aba2581f1a
Merge mozilla-central to UX
2013-11-09 17:46:29 -08:00
Gijs Kruitbosch
7f6c0c05d0
merge m-c to ux
2013-11-06 22:25:39 +01:00
Gijs Kruitbosch
4cb965f7aa
Merge mozilla-central and ux
2013-11-05 20:14:58 +01:00
Kartikaya Gupta
ca69417651
Bug 930904 - Remove some old code for android that is now no-op'd. r=tn
2013-11-04 21:40:05 -05:00
Kartikaya Gupta
044d3975ab
Bug 930904 - Ensure the presShell resolution is recorded on the FrameMetrics for the root scrollable layer of the presShell. r=tn
...
Previously the code would only set the resolution on the FrameMetrics when
the scroll ID was equal to ROOT_SCROLL_ID. This only happens on the root
scrollable frame for a layer tree. However, with bug 732971 fixed, any presShell
can have a resolution associated with it, so we need to populate the mResolution
for any layer that is the root scrollable layer for a presShell.
On platforms like Fennec and Metro the content presShell is a sub-presShell
of the root presShell. The resolution is set on the content presShell, but would
not get populated on the FrameMetrics correctly because of this condition. The #ifdef
ANDROID hack a few lines below was used to work around this on Fennec but it
was broken on Metro. This change corrects the behaviour on both of these platforms.
2013-11-04 21:39:44 -05:00
Gijs Kruitbosch
adc9c274bb
Merge mozilla-central and ux
2013-11-03 23:36:57 +01:00
Gijs Kruitbosch
f298c06fde
Merge mozilla-central and ux
2013-11-01 09:20:15 +01: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
Ryan VanderMeulen
1d57260a86
Merge m-c to inbound on a CLOSED TREE.
2013-10-30 22:42:13 -04:00
Jim Mathies
731d75722b
Bug 931146 - Set FrameMetrics mMayHaveTouchListeners for all frames that call RecordFrameMetrics. Fixes missing touch info for sub documents. r=tnikkel,kats
2013-10-29 20:51:00 -05: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
Phil Ringnalda
fb73812f4a
Back out 0a88dee3b92b:dc5cc7d7b84d (bug 911889) for beaucoup unexpected assertions
...
--HG--
extra : rebase_source : a2a13633b6028c99a3c732dbbafe8c800bc32071
2013-10-28 23:38:02 -07:00
Ehsan Akhgari
c70da60ccf
Bug 938114 - Build layout/base in unified mode; r=roc
2013-11-14 21:43:56 -05: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
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
fad9790f33
Bug 919144. Part 6: nsDisplayListBuilder::MarkOutOfFlowFrameForDisplay should call IsFixedPosFrameInDisplayPort and make fixed-pos frames intersect their overflow-rect with the viewport's displayport to get their dirty rect. r=mattwoodrow
...
This prevents insanely large fixed-pos elements from getting an over-huge
dirty rect and building an enormous display list.
This is also a step towards getting rid of nsDisplayListBuilder::mHasDisplayPort,
which is good because the new code works on any subdocument that has a displayport.
--HG--
extra : rebase_source : e853022dd2ce85af318f235f8851d9dd8b5001ac
2013-09-27 18:01:15 +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
Horia Iosif Olaru
b360983fd3
Bug 841601 - Add background-blend-mode implementation. r=roc
2013-11-08 10:08:03 -05:00
Robert O'Callahan
94564fbd20
Bug 911889. Part 3: Create nsLayoutUtils::HasAnimations, and suppress opacity:0 optimizations whenever there's any opacity animation even if it's not using the compositor. r=dbaron
...
--HG--
extra : rebase_source : b3ffe185686e38226e0979060a74669271e1c2d5
2013-09-04 23:30:57 +12:00
Robert O'Callahan
50a8ed91e8
Bug 911889. Part 3: Create nsLayoutUtils::HasAnimations, and suppress opacity:0 optimizations whenever there's any opacity animation even if it's not using the compositor. r=dbaron
2013-09-04 23:30:57 +12:00
Robert O'Callahan
7633c2c898
Bug 911889. Part 2: Refactor MarkLayersActive code into its own class and be much more explicit about what it does. r=mattwoodrow
...
This also changes the functionality a little bit to track independent
per-property mutation counts and independent "content active" status.
--HG--
extra : rebase_source : e69b8e7a95d36720bd38d74f0789ede603e58a09
2013-09-04 23:30:57 +12:00
Robert O'Callahan
62b7c5862c
Bug 911889. Part 2: Refactor MarkLayersActive code into its own class and be much more explicit about what it does. r=mattwoodrow
...
This also changes the functionality a little bit to track independent
per-property mutation counts and independent "content active" status.
2013-09-04 23:30:57 +12:00
Robert O'Callahan
8bac055181
Bug 929021. Skip calling GetFrameBoundsForTransform when we don't need it. r=heycam
...
--HG--
extra : rebase_source : 646bea24724034ca4e2c0f2075ae8cb86f884023
2013-10-22 11:09:46 +02:00
Markus Stange
454295facd
Bug 851652 - Change position of the standardWindowButtons for Australis [r=smichaud r=mnoorenberghe+bmo r=jaws r=roc]
...
--HG--
extra : rebase_source : 4936bfc62a4712871caa5d767b1dd2e496e0826c
2013-06-12 23:42:00 +02:00
Chris Lord
7337378c00
Bug 933556 - Anchor fixed, left+right/top+bottom positioned content to center. r=roc
...
If a fixed position element has both top and bottom, or both left and right
positioning, set the fixed position anchor to the center of the corresponding
axis. This causes it to remain center-aligned when async zooming.
2013-11-15 17:06:29 +00: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
Rik Cabanier
b0c424efea
Bug 929591 - Blending fails if parent stacking context has text
2013-10-22 13:31:00 +01:00
Ed Morley
c38972e11a
Backed out changeset 75ee2a0bc5d3 (bug 929021)
2013-10-24 10:28:12 +01:00
Robert O'Callahan
e6ff4d26f4
Bug 929021. Skip calling GetFrameBoundsForTransform when we don't need it. r=heycam
...
--HG--
extra : rebase_source : d081b5acc5df7518e004a9ce5e9d27afaa7041fe
2013-10-22 11:09:46 +02:00
Ed Morley
2b652a30e1
Backed out changeset a61d898ea4fa (bug 929021) on suspicion of reftest failures on a CLOSED TREE
2013-10-23 16:22:47 +01:00
Robert O'Callahan
43c5f9f44d
Bug 929021. Skip calling GetFrameBoundsForTransform when we don't need it. r=heycam
...
--HG--
extra : rebase_source : cc2d02ef222883bb3a95295c5c896990f199047d
2013-10-22 11:09:46 +02:00
Wes Kocher
3d55f8e6de
Merge m-c to inbound
2013-10-22 18:43:11 -04:00
Robert O'Callahan
64040f3483
Bug 903340. Make nsDisplayScrollInfoLayer::ShouldFlattenAway side-effect-free. r=tn
2013-10-21 15:47:26 -07:00