Commit Graph

5764 Commits

Author SHA1 Message Date
Andreas Gal
4c4062be6f Bug 930451 - Part 2: Use the new Rendering gradient cache for CSS border gradients as well. r=roc 2013-11-08 17:50:39 +13:00
Andreas Gal
5a78770a61 Bug 930451 - Part 1: Factor out CSS gradient cache into a new class gfxGradientCache. r=roc 2013-11-08 17:50:39 +13:00
Kartikaya Gupta
428e4969a8 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
62598956e6 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
John Daggett
80d5ea7f8a Bug 934719 - log load begin and end in presshell. r=heycam 2013-11-05 10:03:22 +09:00
Neil Deakin
1fdb661cb9 Bug 545156, Expose nsPoupSetFrame's ::popupList, r=mats 2013-11-04 11:22:20 -05:00
Gijs Kruitbosch
6d27553ea9 Merge mozilla-central and ux 2013-11-03 23:36:57 +01:00
Gijs Kruitbosch
63530f7b09 Merge mozilla-central and ux 2013-11-01 23:24:47 +01:00
Gijs Kruitbosch
a13ed4741f Merge mozilla-central and ux 2013-11-01 09:20:15 +01:00
Robert O'Callahan
d147a68c2c Bug 931464. Part 1: GetFieldSetBlockFrame needs to drill down through a scrollframe if necessary. r=mats
--HG--
extra : rebase_source : 858213f65b5bd7d8872afd8205424c3bfdfe1e98
2013-11-05 23:04:00 -08:00
Robert O'Callahan
5a7f1f55e0 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
b3ebc15f66 Merge m-c to inbound on a CLOSED TREE. 2013-10-30 22:42:13 -04:00
Ryan VanderMeulen
abd2954c9f Merge b2g-inbound to m-c on a CLOSED TREE. 2013-10-30 22:36:56 -04:00
Jim Mathies
339c1cdfa7 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
Wes Kocher
48747e25ae Backed out changeset 6a613a7288e1 (bug 931399) for breaking the build on at least Windows on a CLOSED TREE 2013-10-29 16:17:07 -07:00
Wes Kocher
ddbc05af1c Merge fx-team to m-c 2013-11-07 17:33:06 -08:00
Trevor Saunders
c5d97f8e2f bug 931399 - shutdown DocAccessible's when the related docshell is destroyed r=bz
When we get to PresShell::Destroy the pres shell and document have already
nulled out their poitners to the docshell which DocAccessible::Shutdown()
needs to remove the document from the command observer.
2013-10-29 17:22:41 -04:00
Trevor Saunders
1302a027c9 bug 931399 - shutdown DocAccessible's when the related docshell is destroyed r=bz 2013-10-29 17:22:41 -04:00
Ed Morley
135057754f Merge mozilla-central and inbound 2013-10-29 16:35:50 +00:00
Andreas Gal
3e4153cf9e Bug 931305 - Avoid bailing out half way through a gradient fill. r=jmuizelaar 2013-10-30 15:29:22 -04:00
Kartikaya Gupta
b0a97ce747 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
Paul Rouget
9a424ed39e Bug 890195 - device-width media queries should use the page width, not the actual device width. r=bz 2013-11-07 14:40:23 +01:00
Phil Ringnalda
98204c9e49 Back out 0a88dee3b92b:dc5cc7d7b84d (bug 911889) for beaucoup unexpected assertions
--HG--
extra : rebase_source : a2a13633b6028c99a3c732dbbafe8c800bc32071
2013-10-28 23:38:02 -07:00
Tim Taubert
caf0e5474d Bug 931706 - Changing contentViewer.authorStyleDisabled should send a notification r=bz
From 38ce091c13f08060c76e0dd8821cbe62fc3aa0c1 Mon Sep 17 00:00:00 2001
2013-10-28 10:09:29 +01:00
Alexandre Lissy
dbf01d56cf Bug 921928 - Make <iframe mozbrower remote> a preferred target when fluffing r=roc
In bug 921928, the user places a call and then tries to do other actions
(calls, SMS, contacts, ...) with actions very close to the attention
screen. When trying to do those other actions, event fluffing is
prioritizing the attention screen rather than user apps.
---
 layout/base/PositionedEventTargeting.cpp           |  10 ++
 layout/base/tests/Makefile.in                      |   2 +
 .../bug921928_event_target_iframe_apps_oop.html    |   8 +
 .../base/tests/test_event_target_iframe_oop.html   | 178 +++++++++++++++++++++
 4 files changed, 198 insertions(+)
 create mode 100644 layout/base/tests/bug921928_event_target_iframe_apps_oop.html
 create mode 100644 layout/base/tests/test_event_target_iframe_oop.html
2013-10-28 11:38:03 -07:00
Phil Ringnalda
a1f80ad10b Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
b28c18df90 Bug 929513 Part 1: Use gfx::IntSize for image layer sizes r=nical 2013-10-27 17:53:26 -04:00
Mats Palmgren
115c33a3a9 Bug 929991 - Put 'text-align: true X' support behind a preference (disabled by default). r=heycam 2013-10-27 20:56:32 +00:00
Daniel Holbert
120abc396f Bug 936100 part 5: Remove usage of flexbox pref from C++ code. r=mats 2013-11-09 07:53:14 -08:00
Seth Fowler
f5c4899942 Bug 933057 (Part 1) - Correct scaling of SVG images in nsLayoutUtils::DrawSingleImage. r=dholbert 2013-11-08 15:14:53 -08:00
Peter Van der Beken
cbf7a0c800 Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 7bde7ddfe297e189ffa678ca1d9c34000bc904ec
2013-10-08 17:51:42 +02:00
Timothy Nikkel
1f953b18e1 Bug 930535. Enable image visibility on b2g inside browser elements. r=mats 2013-10-26 19:17:52 -05:00
Ms2ger
34f7a76bb1 Backout changeset 2e466ccc7bd0 for devtools test failures. 2013-10-26 17:02:20 +02:00
Peter Van der Beken
a521d7eace Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 673c08ef093339e6bfb1418366af5cc5fabe7c4d
2013-10-08 17:51:42 +02:00
Olli Pettay
9f1791cccc Bug 938626, be more consistent when handling pref changes in PresContext, r=tn
--HG--
extra : rebase_source : a88316df079f54fd17dc9350b0590f60f8fe4f32
2013-11-17 22:49:52 +02:00
Nicholas Cameron
2ed8c68721 No bug. Fix an ifdef in FrameLayerBuilder. r=mattwoodrow 2013-11-18 09:33:21 +13:00
Ehsan Akhgari
69872c43cd Bug 938865 - Build layout/tables in unified mode; r=roc 2013-11-14 21:49:29 -05:00
Ehsan Akhgari
0ec1a021d3 Bug 938114 - Build layout/base in unified mode; r=roc 2013-11-14 21:43:56 -05:00
Nathan Froyd
9fd46193ba Bug 918651 - part 7a - fix source files bootlegging things from IPDL headers; rs=ehsan 2013-10-18 16:57:55 -04:00
Robert O'Callahan
654b2fe263 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
d1b9afa1b6 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
ac362be738 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
c7ac6cec44 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
4e3b98bb4e Bug 919144. Part 7: Make fixed-pos frames with displayports animated geometry roots, and make FrameLayerBuilder responsible for setting fixed-pos layer parameters instead of nsDisplayFixedPosition. r=mattwoodrow
This patch also makes FrameLayerBuilder responsible for setting the visible region
of a fixed-pos layer to the displayport intersected with the draw-region of
the layer. This will let us remove some displaylist code in later patches.
We add special handling to GetAnimatedGeometryRootFor for nsDisplayScrollLayers,
to match what nsDisplayList::IsFixedItem does.

--HG--
extra : rebase_source : f9258243fe666d5dee33c13a88e596bbed8e2c1c
2013-09-27 18:01:16 +12:00
Robert O'Callahan
b2332020fd 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
14f129a5c4 Bug 919144. Part 5: Add ThebesLayerData::mReferenceFrame. r=mattwoodrow
--HG--
extra : rebase_source : f569d1712be8e43aeff31ca2f045a4b87bbd1de6
2013-09-27 18:01:15 +12:00
Robert O'Callahan
65c65dd2ce Bug 919144. Part 4: Create nsLayoutUtils::IsFixedPosFrameInDisplayPort. r=mats
--HG--
extra : rebase_source : a7b7179efd91838ec7205f7109182c78814d33c5
2013-09-27 18:01:11 +12:00
Robert O'Callahan
7676e34f90 Bug 919144. part 3: The displayport out parameters to GetDisplayPort and GetCriticalDisplayPort are optional, so make them optional. r=mattwoodrow
--HG--
extra : rebase_source : 487f895279982c4b74fcd720c5c97381e46036d8
2013-09-27 17:57:20 +12:00
Robert O'Callahan
6a8e8942c3 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
e594acd925 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
Robert O'Callahan
38913f080a Bug 261037. Support scrolled fieldsets. r=mats
--HG--
extra : rebase_source : 248521189921b2a46f0805582a3789b27c26ecbd
2013-10-23 00:46:40 +02:00
Mike Hommey
1d566f7586 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Matt Woodrow
8eff8879be Bug 813041 - Layerize the scrollbar thumb on mobile. r=roc 2013-11-08 07:12:22 +13:00
Robert O'Callahan
e16954ce10 Bug 913444. Track restyling of margins and treat such nodes as active scrolled roots. r=mattwoodrow
Restyling margin-top and margin-bottom will typically require reflow and cause
sibling elements to be moved and invalidated, so it's not a big win to layerize
such nodes. However, layerizing them should be relatively harmless.

--HG--
extra : rebase_source : b41764dd8ab3651afeec2756c436e059f25b7d46
2013-09-09 17:08:42 -07:00
Robert O'Callahan
ff30284171 Bug 913444. Track restyling of margins and treat such nodes as active scrolled roots. r=mattwoodrow
Restyling margin-top and margin-bottom will typically require reflow and cause
sibling elements to be moved and invalidated, so it's not a big win to layerize
such nodes. However, layerizing them should be relatively harmless.

--HG--
extra : rebase_source : 659593b6b6990aa859144641eb23e7ccf384a82a
2013-09-09 17:08:42 -07:00
Robert O'Callahan
81c6b33304 Bug 876321. Track restyling of top/left/right/bottom and treat such nodes as active scrolled roots. r=mattwoodrow
--HG--
extra : rebase_source : f92bcf0b60cadefa0197cdffcd6dd9b4eaa6b2d5
2013-09-09 17:08:41 -07:00
Robert O'Callahan
2e02d90dd4 Bug 876321. Track restyling of top/left/right/bottom and treat such nodes as active scrolled roots. r=mattwoodrow
--HG--
extra : rebase_source : 24e7900efdb476a0533808956b9604d144e4db89
2013-09-09 17:08:41 -07:00
Simon Montagu
7eb261234c Optimize bidi resolution on blocks without mixed-direction text. Bug 646359, r=roc 2013-11-04 07:14:02 +02:00
Simon Montagu
4e9637279f Bug 936935: Mark lines dirty more accurately in Bidi resolution, r=roc 2013-11-07 16:39:49 +02:00
Robert O'Callahan
92d7124878 Bug 745485. Optimize positioning offset changes whenever the computed size does not change. r=dholbert
--HG--
extra : rebase_source : 16388d3cb0c6ee9acc1416ca0d27b2a53b0062ee
2013-09-09 17:08:41 -07:00
Horia Iosif Olaru
d0c7a64e0c Bug 841601 - Add background-blend-mode implementation. r=roc 2013-11-08 10:08:03 -05:00
Ryan VanderMeulen
25f4dc9657 Merge m-c to inbound on a CLOSED TREE. 2013-11-14 20:58:52 -05:00
Corey Ford
98358e22c2 Bug 925259: Avoid sticky positioning inner table elements. r=dholbert 2013-11-12 12:46:47 -08:00
Kartikaya Gupta
801c513deb Bug 937843 - Make an argument to nsLayoutUtils::FindIDFor const. r=tn 2013-11-13 13:22:24 -05:00
Robert O'Callahan
293ad472f4 Bug 911889. Part 7: A single change to CSS 'transform' should not be treated as animation. r=dbaron
--HG--
extra : rebase_source : 241ce14bd7b3986141c557da566a3756658befa5
2013-09-04 23:47:25 +12:00
Robert O'Callahan
ba4f140599 Bug 911889. Part 7: A single change to CSS 'transform' should not be treated as animation. r=dbaron 2013-09-04 23:47:25 +12:00
Robert O'Callahan
3a02997635 Bug 911889. Part 6: A scripted change to element.style.opacity or element.style.transform in a setTimeout or requestAnimationFrame callback should trigger our "style property is animated" heuristic. r=dbaron
--HG--
extra : rebase_source : ac1d4ccfa3c82132ff73aeb1d66a09765004be4a
2013-09-04 23:47:23 +12:00
Robert O'Callahan
81e60e6f83 Bug 911889. Part 6: A scripted change to element.style.opacity or element.style.transform in a setTimeout or requestAnimationFrame callback should trigger our "style property is animated" heuristic. r=dbaron 2013-09-04 23:47:23 +12:00
Robert O'Callahan
c2f1193d37 Bug 911889. Part 5. Add API to detect whether an nsRefreshDriver is in the middle of a refresh. r=dbaron
--HG--
extra : rebase_source : 561101da94824f4d6aba151a243f0e193ad7f83c
2013-09-04 23:47:21 +12:00
Robert O'Callahan
a1c5ad23ff Bug 911889. Part 5. Add API to detect whether an nsRefreshDriver is in the middle of a refresh. r=dbaron 2013-09-04 23:47:21 +12:00
Robert O'Callahan
b3d2ee0341 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
3876c8cda2 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
58a3ced7c4 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
2709003286 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
Matt Woodrow
53a5b436f2 Bug 934860 - Don't paint display items that don't intersect the current invalid rects. r=roc 2013-11-07 08:10:50 +13:00
Matt Woodrow
0f1ecdc3ec Bug 934860 - Draw each rect of the invalid region separately on Direct2D. r=roc 2013-11-07 08:10:50 +13:00
Matt Woodrow
9731cb7c16 Bug 934860 - Move paint region clipping into DrawThebesLayer. r=roc 2013-11-07 08:10:50 +13:00
Matt Woodrow
405dd8bf86 Bug 934860 - Move some parts of FrameLayerBuilder::DrawThebesLayer into helper functions. r=roc 2013-11-07 08:10:49 +13:00
Matt Woodrow
33e71bb6ac Bug 934860 - Start and finish transactions with temporary layer managers each time we use them to ensure that these are paired. r=roc 2013-11-07 08:10:49 +13:00
Olli Pettay
1a484b93fe Bug 930381 - Follow the COM rules when calling ProcessSynthMouseMoveEvent. r=mats, smaug, tnikkel 2013-11-12 07:54:10 -05:00
Markus Stange
f2115d6bbf 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
ade36f9119 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
Matt Woodrow
128c9ed6a7 Bug 930419 - Make position:sticky frames an active scrolled root. r=roc 2013-10-24 16:35:30 +02:00
L. David Baron
ccbb4acceb 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
a84ee2a5cd 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
Brian O'Keefe
4c98f61956 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Rik Cabanier
0a64c4a367 Bug 929591 - Blending fails if parent stacking context has text 2013-10-22 13:31:00 +01:00
Ed Morley
d9500c0e98 Backed out changeset ce20f4b16d56 (bug 261037) for reftest failures in 478811-1.html on a CLOSED TREE 2013-10-24 10:28:44 +01:00
Ed Morley
ec1af6575e Backed out changeset 75ee2a0bc5d3 (bug 929021) 2013-10-24 10:28:12 +01:00
Robert O'Callahan
a66f004ebb 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
Robert O'Callahan
8941abb074 Bug 261037. Support scrolled fieldsets. r=mats
The main change here is to have nsCSSFrameConstructor able to construct
a scrollframe for nsFieldSetFrame's inner frame.
To make this work properly (as much like normal scrolled elements, and
to be consistent with Chrome), we need another major change, which is to move
the padding from the nsFieldSetFrame to its inner frame. We do this by copying
the padding to the inner frame and ignoring the padding on the outer frame.
To get this right for percentage padding and intrinsic widths is a little
tricky. For that, we need nsLayoutUtils::IntrinsicForContainer to be able to
ignore the padding on a frame so we don't add it twice.
Overriding nsFieldSetFrame::GetScrollTargetFrame makes setting scrollTop/
scrollLeft on a <fieldset> work as expected.
* * *
Bug 261037 - A fieldset overflow:auto reftest.

--HG--
extra : rebase_source : d737eebdc25b3b748a84de676d5e8e066505e00b
2013-10-23 00:46:40 +02:00
Mike Hommey
61124c1afc Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
e2ae65f67a Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Ed Morley
388b302e9e Backed out changeset a61d898ea4fa (bug 929021) on suspicion of reftest failures on a CLOSED TREE 2013-10-23 16:22:47 +01:00
Ed Morley
415d4a667f Backed out changeset ffd9c7bbd2fe (bug 261037) for compilation failures in nsCSSFrameConstructor on a CLOSED TREE 2013-10-23 15:44:19 +01:00
Robert O'Callahan
6954853252 Bug 261037. Support scrolled fieldsets. r=mats
The main change here is to have nsCSSFrameConstructor able to construct
a scrollframe for nsFieldSetFrame's inner frame.
To make this work properly (as much like normal scrolled elements, and
to be consistent with Chrome), we need another major change, which is to move
the padding from the nsFieldSetFrame to its inner frame. We do this by copying
the padding to the inner frame and ignoring the padding on the outer frame.
To get this right for percentage padding and intrinsic widths is a little
tricky. For that, we need nsLayoutUtils::IntrinsicForContainer to be able to
ignore the padding on a frame so we don't add it twice.
Overriding nsFieldSetFrame::GetScrollTargetFrame makes setting scrollTop/
scrollLeft on a <fieldset> work as expected.
* * *
Bug 261037 - A fieldset overflow:auto reftest.

--HG--
extra : rebase_source : 6ca585f685965d3a538bde64ad4057c5fd7b538f
2013-10-23 00:46:40 +02:00
Robert O'Callahan
cd5bbc7f9b 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
Nicholas Nethercote
1bd2044812 Bug 918207 - Support per-tab memory profiling. r=billm,mccr8,till,smaug,nfroyd.
--HG--
extra : rebase_source : 7603eaedbd761c6b231b1b911f719388864755e6
2013-10-22 14:53:26 -07:00
Masayuki Nakano
b6b0cb52bb Bug 602787 part.4 Don't implement nsAutoHandlingUserInputStatePusher class in nsEventStateManager.h r=smaug 2013-10-22 22:27:35 +09:00
Masayuki Nakano
cdcacb3fbb Bug 602787 part.1 Don't implement PresShell::Delayed*Event class in nsPresShell.h r=smaug 2013-10-22 22:27:34 +09:00