Masayuki Nakano
c53476b64e
Bug 300710 part.2 PresShell should allow to open context menu even on XUL menu on Mac r=smaug+enn
2013-11-27 10:12:43 +09:00
Carsten "Tomcat" Book
847cabb793
Merge m-c to mozilla-inbound
2013-11-28 14:20:02 +01:00
Nicholas Nethercote
77419f6a47
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Cameron McCormack
4c052f5cfe
Bug 943746 - Choose a better default element when calling ElementForStyleContext for a pseudo-element. r=bz
2013-11-28 12:22:20 +11:00
Ehsan Akhgari
c3970a73fb
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
78e4d6490d
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Chris Lord
62fe777b60
Bug 931823 - Fix calculation of tiled update data and convert to typed units. r=kats,botond
...
Various changes to FrameMetrics and such have causes the tile coherency checks
to end up with nonsense values, meaning updates are always happening a tile at
a time.
This fixes the calculation of those values, adds some documentation and
converts a large part of it to using typed units, to make it easier to
understand what's happening.
2013-11-27 17:33:27 +00:00
Markus Stange
724b3c2649
Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow
2013-11-27 08:32:19 +01:00
Simon Montagu
c8ccc2266f
Test for bug 826163
2013-01-30 01:10:22 -08:00
John Daggett
29d440e732
Bug 942054 - bump range and number of buckets for content reflow timings and add interruptible boolean. r=bz
2013-11-26 13:34:31 +09:00
Nicholas Cameron
792ecf9509
Bug 943110. Don't use fputc in display list/layers dumps. r=BenWa
2013-11-26 15:07:41 +13:00
Matt Woodrow
b602f68120
Bug 940845 - Follow-up to add comments that got missed when rebasing.
2013-11-26 12:29:20 +13:00
Matt Woodrow
80fd92fefb
Bug 940845 - Part 5: Propogate the blur standard deviation up instead of the blur radius. r=roc
2013-11-26 12:09:04 +13:00
Matt Woodrow
c49de95f30
Bug 940845 - Part 4: Add BlurRectangle to gfxAlphaBoxBlur and use it. r=roc
2013-11-26 12:08:29 +13:00
Matt Woodrow
77af560aa6
Bug 940845 - Part 3: Inline code into nsContextBoxBlur::BlurRectangle so that we don't have to create one on the stack. r=roc
2013-11-26 12:07:03 +13:00
Matt Woodrow
a5b384af45
Bug 940845 - Part 2: Add a static BlurRectangle method to nsContextBoxBlur and use it when we're blurring a rectangle. r=roc
2013-11-26 12:06:17 +13:00
Henri Sivonen
9a664db15c
Bug 863728 - Implement the replacement encoding. r=emk.
2013-11-25 10:06:56 +02:00
John Daggett
0dd716e3c2
Bug 934710 - log text perf metrics at reflow end, load complete and presshell teardown. r=heycam
2013-11-25 14:00:00 +09:00
John Daggett
d1eb2f6076
Bug 934710 - add various text performance metrics and a log to handle these. r=jfkthame
2013-11-25 13:59:56 +09:00
Matt Woodrow
0cc69e6803
Bug 941559 - Invalidate nsDislaySolidColor display items when their color changes. r=roc
2013-11-25 14:59:00 +13:00
Benoit Girard
f8fd653be7
Bug 942483 - Port paint-dumping to android/b2g. r=gal
2013-11-23 17:44:18 -05:00
Ehsan Akhgari
5a56056193
Bug 942489 - Deunify more files that are caught by bug 941854; r=BenWa
2013-11-24 01:29:24 -05:00
Ryan VanderMeulen
d7e49cc136
Merge b-i to m-c.
2013-11-22 15:35:31 -05:00
Botond Ballo
16e9267e41
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
a04c592e61
Bug 912666 - Propagate the 'scrollgrab' attribute to FrameMetrics. r=kats,Cwiiis
2013-09-23 14:09:48 -05:00
Daniel Holbert
24048b2e65
Bug 811024 part 1: Teach nsCSSFrameConstructor how to split a flex container. r=mats
2013-11-21 10:20:01 -08:00
Oleg Romashin
b69f2731cd
Bug 822898 - Implement pointer events. Basic handling of Pointer Events. r=smaug
2013-11-20 21:44:31 -08:00
Oleg Romashin
0e795599f8
Backed out 3 changesets (bug 822898) for mochitest bustage on B2G ICS emulator
2013-11-20 16:08:36 -08:00
Trevor Saunders
bb5ea2186e
bug 939049 - get rid of useless QIs r=smaug
2013-11-15 11:32:12 -05:00
Trevor Saunders
f2f73dd7c1
bug 939049 - staticly type nsIDocument::mDocumentContainer and nsDocumentViewerContainer::mContainer r=smaug
2013-11-15 02:12:43 -05:00
Oleg Romashin
e4ee1caecb
Bug 822898 - Implement pointer events. Basic handling of Pointer Events. r=smaug
2013-11-20 13:05:41 -08:00
Dongie Agnir
8dc2cde983
Bug 940825 - Initialize dialogsWereEnabled to false. r=roc
2013-11-20 09:40:32 -05:00
Botond Ballo
b75d9dd1de
Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn
2013-11-08 19:07:00 -05:00
Nathan Froyd
4c7f87dd5b
Bug 940170 - part 1 - constify PLDHashTableOps in layout/; r=bz
2013-11-18 21:51:48 -05:00
Mike Hommey
a65383e1e9
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
8ceb917350
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
bb6779efe3
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
d7b6f95761
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Wes Kocher
cc812cf104
Backed out 3 changesets (bug 822898) for mochitest bustage on Windows on a CLOSED TREE
...
Backed out changeset 63c1f6716755 (bug 822898)
Backed out changeset 145150ef00a5 (bug 822898)
Backed out changeset a5e360e6d713 (bug 822898)
2013-11-18 15:27:53 -08:00
Oleg Romashin
ed652a977e
Bug 822898 - Implement pointer events. Basic handling of Pointer Events. r=smaug
2013-11-18 13:10:48 -08:00
Simon Montagu
fc6eff9c20
Add support for unicode-bidi: -moz-plaintext in XUL. Bug 869833, r=roc
2013-11-18 17:24:16 +02:00
Trevor Saunders
9b406fcff9
revert bug 931399 to see if it helps with bug 883059 at all
2013-11-18 12:31:56 -05:00
Ryan VanderMeulen
e23074782e
Merge m-c to inbound on a CLOSED TREE.
2013-11-18 10:59:48 -05:00
Jonathan Watt
9ab25aeece
Bug 889736, part 4 - Remove nsSVGTextContainerFrame. r=heycam
2013-11-18 14:29:53 +00:00
Jonathan Watt
769a3a3091
Bug 889736, part 3 - Remove nsSVGTSpanFrame. r=heycam
2013-11-18 14:29:52 +00:00
Jonathan Watt
5dc11fc229
Bug 889736, part 2 - Remove nsSVGTextPathFrame. r=heycam
2013-11-18 14:29:52 +00:00
Jonathan Watt
159a62b18f
Bug 889736, part 1 - Remove nsSVGTextFrame and nsSVGGlyphFrame. r=heycam
2013-11-18 14:29:51 +00:00
Gijs Kruitbosch
d283ec620c
Merge m-c to ux
2013-11-18 13:44:32 +01:00
Gijs Kruitbosch
1e3930ad3d
Merge m-c to ux
2013-11-17 23:37:53 +01:00
Cameron McCormack
6e5ef8f8c6
Bug 933044 - Push style scopes even if we would skip pushing ancestors when there is no ancestor filter. r=bz
2013-11-17 17:51:04 +11:00
Matt Woodrow
4fd3487757
Bug 934860 - Followup to fix build on a CLOSED TREE
2013-11-17 17:24:53 +13:00
Gijs Kruitbosch
4f5a01fecc
Merge mozilla-central and ux
2013-11-15 18:32:01 +01:00
Matt Woodrow
4122bef511
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
7bb2bbae86
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
Matt Woodrow
5f43abe83a
Bug 939607 - Part 1: Make PaintBoxShadowOuter take an opacity value. r=roc
2013-11-18 22:32:09 +13:00
Matt Woodrow
a2ab151d04
Bug 934860 - Part 6: Add a pref to disable single rect painting and disable it for now for causing TART regressions. r=jrmuziel
2013-11-14 13:46:19 +13:00
Gijs Kruitbosch
35947d2cb9
Merge mozilla-central and ux
2013-11-13 00:28:03 +01:00
Abhishek Arya
2e74fdac40
Bug 806056 - Crashtests.
2013-11-12 14:37:22 +00:00
Gijs Kruitbosch
6ac0c963fa
Merge mozilla-central and ux
2013-11-11 22:41:49 +01:00
Gijs Kruitbosch
081b5f4b6b
Merge mozilla-central and ux
2013-11-11 09:29:29 +01:00
Ms2ger
feeaf7c61e
Bug 923251 - Part e: Make nsPresContext::EnsureSafeToHandOutCSSRules return void; r=heycam
2013-11-11 09:00:33 +01:00
Ms2ger
52dbe35c70
Bug 923251 - Part d: Remove nsCSSStyleSheet::eUniqueInner_CloneFailed; r=heycam
2013-11-11 09:00:18 +01:00
Matthew Noorenberghe
c32c2b79c8
Merge mozilla-central to UX
2013-11-09 17:46:29 -08:00
Ed Morley
faca188d59
Merge mozilla-central and inbound
2013-11-11 13:20:20 +00:00
Jared Wein
012d1115e2
Automated merge with https://hg.mozilla.org/mozilla-central
2013-11-08 13:22:23 -05:00
Matt Woodrow
95ac7eda30
Bug 880031 - Make animated transforms force all above content to be in a separate ThebesLayer. r=roc
2013-11-08 19:04:12 +13:00
Gijs Kruitbosch
33559a812a
Merge mozilla-central and ux
2013-11-07 08:53:59 +01:00
Gijs Kruitbosch
5ac2fc613a
merge m-c to ux
2013-11-06 22:25:39 +01:00
Gijs Kruitbosch
c38e551bb3
Merge mozilla-central and ux
2013-11-06 09:01:08 +01:00
Gijs Kruitbosch
45cff6c424
Merge mozilla-central and ux
2013-11-05 20:14:58 +01:00
Matthew Noorenberghe
e8d8f80693
Merge mozilla-central to UX
2013-11-05 01:04:20 -08:00
Gijs Kruitbosch
7dd501af50
Merge mozilla-central and ux
2013-11-04 14:15:00 +01:00
Robert O'Callahan
e093640250
Backout changeset 3fb9ea77d858 for bug 876321 due to test failures (CLOSED TREE)
...
--HG--
extra : rebase_source : 6b21bf36f9a8bd73bdd72ddfb5fe8c25e7854071
2013-11-03 23:14:26 -08:00
Robert O'Callahan
a9648f4b0e
Backout changeset 47c7022e4e11 for bug 913444
...
--HG--
extra : rebase_source : 6d3b0bd5c4ea52561fba9b358dae8b7843f10205
2013-11-03 23:12:58 -08:00
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
Kyle Huey
ed10f7b8b4
Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug
2013-10-23 07:32:04 +08:00
Wes Kocher
ad52f3e2b0
Merge m-c to inbound
2013-10-22 18:43:11 -04:00
Wes Kocher
abc9a053f3
Merge inbound to m-c
2013-10-22 18:11:06 -04:00
Masayuki Nakano
b8ca4649d4
Bug 920425 part.30 Use mozilla::WidgetEvent::AsWheelEvent() r=smaug
2013-10-22 17:55:21 +09:00
Masayuki Nakano
c0d498bd0f
Bug 920425 part.29 Use mozilla::WidgetEvent::AsGUIEvent() r=smaug
2013-10-22 17:55:20 +09:00
Masayuki Nakano
40483897f3
Bug 920425 part.28 Use mozilla::WidgetEvent::AsMouseEvent() r=smaug
2013-10-22 17:55:20 +09:00
Robert O'Callahan
3e2355be8b
Bug 903340. Make nsDisplayScrollInfoLayer::ShouldFlattenAway side-effect-free. r=tn
2013-10-21 15:47:26 -07:00
Carsten "Tomcat" Book
ba4b28bb05
Merge mozilla-central to mozilla-inbound
2013-10-18 14:13:10 +02:00
Carsten "Tomcat" Book
fd6b3a3bb9
merge b2g-inbound to mozilla-central
2013-10-18 11:39:28 +02:00
Masayuki Nakano
ef196343d5
Bug 920425 part.18 Use mozilla::WidgetEvent::AsKeyboardEvent() r=smaug
2013-10-18 15:10:24 +09:00
Masayuki Nakano
28fa6f3708
Bug 920425 part.15 Use mozilla::WidgetEvent::AsTouchEvent() r=smaug
2013-10-18 15:10:23 +09:00
Masayuki Nakano
723cb86cca
Bug 920425 part.3 We don't need to use static_cast at releasing event class instance since WidgetEvent has virtual destructor now r=smaug
2013-10-18 15:10:21 +09:00
Alexandre Lissy
74dbad9564
Bug 926389 - Add touch event handling during fluffing. r=roc
2013-10-17 14:42:48 -04:00
Henri Sivonen
48fc98ecfc
Bug 871161 - Stop inheriting charset where other browsers do not inherit it. r=bzbarsky.
2013-10-16 04:46:10 +03:00
Gabor Krizsanits
142ec1922d
Bug 565388 - No paint for invisible docshell. r=tnikkel
2013-10-16 15:18:42 +02:00
Masayuki Nakano
eef5eccfeb
Bug 920377 part.33 Get rid of mozilla::WheelEvent r=roc
2013-10-16 18:37:36 +09:00
Wes Kocher
4b31073516
Merge inbound to m-c
2013-10-15 20:15:17 -07:00
Kartikaya Gupta
01541c719a
Bug 925902 - Ensure that the old ROOT_SCROLL_ID property is cleared when a new one is being set. r=tn, botond
2013-10-15 17:08:04 -04:00
Wes Kocher
687b062b25
Backed out changeset 82b31924a8bb (bug 914847) under suspicion of breaking mochitest-metro on a CLOSED TREE
2013-10-22 16:56:04 -04:00
Wes Kocher
e6b33b27c3
Backed out changeset 87ee0a1865e4 (bug 914847)
2013-10-22 16:55:14 -04:00
Wes Kocher
6559234e89
Backed out 9 changesets (bug 602787) on suspicion of breaking mochitest-metro on a CLOSED TREE
...
Backed out changeset 1730bcae2c45 (bug 602787)
Backed out changeset 70606b9b1e42 (bug 602787)
Backed out changeset 57ca2861ea30 (bug 602787)
Backed out changeset 3b9f1062d915 (bug 602787)
Backed out changeset 3ee56eacc84b (bug 602787)
Backed out changeset 1c35693be3d3 (bug 602787)
Backed out changeset ef095c3aef98 (bug 602787)
Backed out changeset 4827bdae97fd (bug 602787)
Backed out changeset fa0f355e7871 (bug 602787)
2013-10-22 13:11:53 -04:00
Daniel Holbert
4c1ad784d2
Bug 875275 part 3: Make nsColorControlFrame inherit from nsHTMLButtonControlFrame instead of nsBlockFrame. r=jwatt f=arnaud.bienner
2013-10-22 17:29:20 +02:00
Robert O'Callahan
82d7a2bd79
Bug 923193. Make transform-origin on SVG elements use the SVG bbox as the reference rectangle. r=heycam
...
--HG--
extra : rebase_source : f4f620acc51e14625f45b8022385d8a1112fd086
2013-10-03 08:34:24 -04:00
Arnaud Bienner
28e6e2c644
Bug 875275 part 1: Implement layout support for <input type="color">. r=dbaron,dholbert
2013-07-10 00:25:27 +02:00
Masayuki Nakano
9be3769528
Bug 602787 part.4 Don't implement nsAutoHandlingUserInputStatePusher class in nsEventStateManager.h r=smaug
2013-10-22 22:27:35 +09:00
Masayuki Nakano
5352c6976e
Bug 602787 part.1 Don't implement PresShell::Delayed*Event class in nsPresShell.h r=smaug
2013-10-22 22:27:34 +09:00