Ms2ger
a4892d2e12
Bug 937224 - Part e: Move LOCAL_INCLUDES to moz.build in layout/; r=mshal
2013-11-28 15:23:10 +01:00
Carsten "Tomcat" Book
d282348926
merge b2g-inbound to mozilla-central
2013-11-28 11:52:00 +01:00
Cameron McCormack
7e881fe646
Bug 922669 - Part 9: Restyle pseudo-elements when their content state changes. r=bz
2013-11-28 17:46:40 +11:00
Cameron McCormack
c350837b66
Bug 922669 - Part 4: Pass in anonymous content nodes when restyling any pseudo-elements that can match user action pseudo-classes. r=bz
2013-11-28 17:46:38 +11: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
Botond Ballo
3e7f6be0e0
Bug 942995 - Squish the FrameMetrics::mScrollableRect for overflow:hidden elements. r=tn
2013-11-26 18:46:47 -05:00
Masayuki Nakano
d3eca1abef
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
c282ee3baf
Merge m-c to mozilla-inbound
2013-11-28 14:20:02 +01:00
Nicholas Nethercote
39004db706
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
b22badd223
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
a903aefdc0
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
bc475c75df
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
9afd262a59
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
30aeb02de9
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
7b89afee75
Test for bug 826163
2013-01-30 01:10:22 -08:00
John Daggett
56467ffc38
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
e3cb6e45db
Bug 943110. Don't use fputc in display list/layers dumps. r=BenWa
2013-11-26 15:07:41 +13:00
Matt Woodrow
6aa23543fa
Bug 940845 - Follow-up to add comments that got missed when rebasing.
2013-11-26 12:29:20 +13:00
Matt Woodrow
e464096b18
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
cf7881aa40
Bug 940845 - Part 4: Add BlurRectangle to gfxAlphaBoxBlur and use it. r=roc
2013-11-26 12:08:29 +13:00
Matt Woodrow
d0f9c81a1e
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
20050256f7
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
2dc38251fe
Bug 863728 - Implement the replacement encoding. r=emk.
2013-11-25 10:06:56 +02:00
John Daggett
5a92bd2828
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
11931c9dfc
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
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
Ehsan Akhgari
869d0af69a
Bug 942489 - Deunify more files that are caught by bug 941854; r=BenWa
2013-11-24 01:29:24 -05:00
Ryan VanderMeulen
6789e60ca8
Merge b-i to m-c.
2013-11-22 15:35:31 -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
Daniel Holbert
d1258eda0f
Bug 811024 part 1: Teach nsCSSFrameConstructor how to split a flex container. r=mats
2013-11-21 10:20:01 -08:00
Oleg Romashin
ea72fc5f00
Bug 822898 - Implement pointer events. Basic handling of Pointer Events. r=smaug
2013-11-20 21:44:31 -08:00
Oleg Romashin
117dfcdce3
Backed out 3 changesets (bug 822898) for mochitest bustage on B2G ICS emulator
2013-11-20 16:08:36 -08:00
Trevor Saunders
158a12ab72
bug 939049 - get rid of useless QIs r=smaug
2013-11-15 11:32:12 -05:00
Trevor Saunders
c5ae45823c
bug 939049 - staticly type nsIDocument::mDocumentContainer and nsDocumentViewerContainer::mContainer r=smaug
2013-11-15 02:12:43 -05:00
Oleg Romashin
a5f7d3c425
Bug 822898 - Implement pointer events. Basic handling of Pointer Events. r=smaug
2013-11-20 13:05:41 -08:00
Dongie Agnir
efc93e36c8
Bug 940825 - Initialize dialogsWereEnabled to false. r=roc
2013-11-20 09:40:32 -05:00
Botond Ballo
774451c530
Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn
2013-11-08 19:07:00 -05:00
Nathan Froyd
b438a08286
Bug 940170 - part 1 - constify PLDHashTableOps in layout/; r=bz
2013-11-18 21:51:48 -05:00
Mike Hommey
2812d11fce
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
e06d795c71
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
e80e877ab7
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912
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
0f82ea91e0
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
2b54f7ec74
Bug 822898 - Implement pointer events. Basic handling of Pointer Events. r=smaug
2013-11-18 13:10:48 -08:00
Simon Montagu
342f8fc7a7
Add support for unicode-bidi: -moz-plaintext in XUL. Bug 869833, r=roc
2013-11-18 17:24:16 +02:00
Trevor Saunders
19d185018b
revert bug 931399 to see if it helps with bug 883059 at all
2013-11-18 12:31:56 -05:00
Ryan VanderMeulen
f370741daa
Merge m-c to inbound on a CLOSED TREE.
2013-11-18 10:59:48 -05:00
Jonathan Watt
3e9c738eb3
Bug 889736, part 4 - Remove nsSVGTextContainerFrame. r=heycam
2013-11-18 14:29:53 +00:00
Jonathan Watt
76311b51eb
Bug 889736, part 3 - Remove nsSVGTSpanFrame. r=heycam
2013-11-18 14:29:52 +00:00
Jonathan Watt
99e5777279
Bug 889736, part 2 - Remove nsSVGTextPathFrame. r=heycam
2013-11-18 14:29:52 +00:00
Jonathan Watt
a2e2acfb91
Bug 889736, part 1 - Remove nsSVGTextFrame and nsSVGGlyphFrame. r=heycam
2013-11-18 14:29:51 +00: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
Cameron McCormack
2a2711ccb3
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
8480b24f62
Bug 934860 - Followup to fix build on a CLOSED TREE
2013-11-17 17:24:53 +13:00
Gijs Kruitbosch
cc2610edfd
Merge mozilla-central and ux
2013-11-15 18:32:01 +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
Matt Woodrow
d5bdc88e88
Bug 939607 - Part 1: Make PaintBoxShadowOuter take an opacity value. r=roc
2013-11-18 22:32:09 +13:00
Matt Woodrow
e5d0e79c1e
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
b18a643af7
Merge mozilla-central and ux
2013-11-13 00:28:03 +01:00
Abhishek Arya
a0ee11b2ce
Bug 806056 - Crashtests.
2013-11-12 14:37:22 +00:00
Gijs Kruitbosch
0c81a0b0ac
Merge mozilla-central and ux
2013-11-11 22:41:49 +01:00
Gijs Kruitbosch
7fd8c018c3
Merge mozilla-central and ux
2013-11-11 09:29:29 +01:00
Ms2ger
35a65686e8
Bug 923251 - Part e: Make nsPresContext::EnsureSafeToHandOutCSSRules return void; r=heycam
2013-11-11 09:00:33 +01:00
Ms2ger
c4c309380f
Bug 923251 - Part d: Remove nsCSSStyleSheet::eUniqueInner_CloneFailed; r=heycam
2013-11-11 09:00:18 +01:00
Matthew Noorenberghe
aba2581f1a
Merge mozilla-central to UX
2013-11-09 17:46:29 -08:00
Ed Morley
410c0c8b31
Merge mozilla-central and inbound
2013-11-11 13:20:20 +00:00
Jared Wein
8a50677a0d
Automated merge with https://hg.mozilla.org/mozilla-central
2013-11-08 13:22:23 -05:00
Matt Woodrow
4984e7db61
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
63cb02d1d1
Merge mozilla-central and ux
2013-11-07 08:53:59 +01:00
Gijs Kruitbosch
7f6c0c05d0
merge m-c to ux
2013-11-06 22:25:39 +01:00
Gijs Kruitbosch
7211b5e0ad
Merge mozilla-central and ux
2013-11-06 09:01:08 +01:00
Gijs Kruitbosch
4cb965f7aa
Merge mozilla-central and ux
2013-11-05 20:14:58 +01:00
Matthew Noorenberghe
be474fa47a
Merge mozilla-central to UX
2013-11-05 01:04:20 -08:00
Gijs Kruitbosch
ca509a094b
Merge mozilla-central and ux
2013-11-04 14:15:00 +01:00
Robert O'Callahan
676f5de36e
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
634c0d1e79
Backout changeset 47c7022e4e11 for bug 913444
...
--HG--
extra : rebase_source : 6d3b0bd5c4ea52561fba9b358dae8b7843f10205
2013-11-03 23:12:58 -08:00
Andreas Gal
6c746ad4c8
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
fed880adef
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
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
John Daggett
790129f3b0
Bug 934719 - log load begin and end in presshell. r=heycam
2013-11-05 10:03:22 +09:00
Neil Deakin
b74bf730f0
Bug 545156, Expose nsPoupSetFrame's ::popupList, r=mats
2013-11-04 11:22:20 -05:00
Gijs Kruitbosch
adc9c274bb
Merge mozilla-central and ux
2013-11-03 23:36:57 +01:00
Gijs Kruitbosch
ad9e61fa26
Merge mozilla-central and ux
2013-11-01 23:24:47 +01:00
Gijs Kruitbosch
f298c06fde
Merge mozilla-central and ux
2013-11-01 09:20:15 +01:00
Robert O'Callahan
232c266ced
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
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
Ryan VanderMeulen
a4511eaf5f
Merge b2g-inbound to m-c on a CLOSED TREE.
2013-10-30 22:36:56 -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
Wes Kocher
af78dbf4a5
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
b7effd61f4
Merge fx-team to m-c
2013-11-07 17:33:06 -08:00
Trevor Saunders
239027e36b
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
0bfdc15f97
bug 931399 - shutdown DocAccessible's when the related docshell is destroyed r=bz
2013-10-29 17:22:41 -04:00
Ed Morley
c57c578dc0
Merge mozilla-central and inbound
2013-10-29 16:35:50 +00:00
Andreas Gal
831d5edc75
Bug 931305 - Avoid bailing out half way through a gradient fill. r=jmuizelaar
2013-10-30 15:29:22 -04: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
Paul Rouget
b83275098a
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
fb73812f4a
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
cfd4e7de61
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
e84165be73
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
780e2a2c5f
Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
...
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
b3c48c54a3
Bug 929513 Part 1: Use gfx::IntSize for image layer sizes r=nical
2013-10-27 17:53:26 -04:00
Mats Palmgren
4d866337f3
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
8ebaab4740
Bug 936100 part 5: Remove usage of flexbox pref from C++ code. r=mats
2013-11-09 07:53:14 -08:00
Seth Fowler
b60db666b6
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
dfc2297bd8
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
2cdfe9a734
Bug 930535. Enable image visibility on b2g inside browser elements. r=mats
2013-10-26 19:17:52 -05:00
Ms2ger
7cd50d2f15
Backout changeset 2e466ccc7bd0 for devtools test failures.
2013-10-26 17:02:20 +02:00
Peter Van der Beken
e01445a2df
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
16085ef473
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
4b89c5262b
No bug. Fix an ifdef in FrameLayerBuilder. r=mattwoodrow
2013-11-18 09:33:21 +13:00
Ehsan Akhgari
9a21ba302a
Bug 938865 - Build layout/tables in unified mode; r=roc
2013-11-14 21:49:29 -05:00
Ehsan Akhgari
c70da60ccf
Bug 938114 - Build layout/base in unified mode; r=roc
2013-11-14 21:43:56 -05:00
Nathan Froyd
05e020c835
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
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
145e514bf9
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
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
4b277c1f8b
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
62bb8eb602
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
83346922bc
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
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
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
Robert O'Callahan
662b96cf0e
Bug 261037. Support scrolled fieldsets. r=mats
...
--HG--
extra : rebase_source : 248521189921b2a46f0805582a3789b27c26ecbd
2013-10-23 00:46:40 +02:00
Mike Hommey
b000a846c2
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Matt Woodrow
697f8f1092
Bug 813041 - Layerize the scrollbar thumb on mobile. r=roc
2013-11-08 07:12:22 +13:00
Robert O'Callahan
8f81714137
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
68cb18ba63
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
e16db34522
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
8cf17406d8
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
3d75218e58
Optimize bidi resolution on blocks without mixed-direction text. Bug 646359, r=roc
2013-11-04 07:14:02 +02:00
Simon Montagu
07e1ec2854
Bug 936935: Mark lines dirty more accurately in Bidi resolution, r=roc
2013-11-07 16:39:49 +02:00
Robert O'Callahan
9e62a53158
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
b360983fd3
Bug 841601 - Add background-blend-mode implementation. r=roc
2013-11-08 10:08:03 -05:00
Ryan VanderMeulen
98ea4dada0
Merge m-c to inbound on a CLOSED TREE.
2013-11-14 20:58:52 -05:00
Corey Ford
1da3373a87
Bug 925259: Avoid sticky positioning inner table elements. r=dholbert
2013-11-12 12:46:47 -08:00
Kartikaya Gupta
5a524e26f6
Bug 937843 - Make an argument to nsLayoutUtils::FindIDFor const. r=tn
2013-11-13 13:22:24 -05:00
Robert O'Callahan
1349b808d2
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
5a693dce99
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
a0b6414124
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
0e38e49729
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
c9000607c4
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
4498074aeb
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
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
Matt Woodrow
1077db1b3c
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
c0af504d85
Bug 934860 - Draw each rect of the invalid region separately on Direct2D. r=roc
2013-11-07 08:10:50 +13:00
Matt Woodrow
43199694b8
Bug 934860 - Move paint region clipping into DrawThebesLayer. r=roc
2013-11-07 08:10:50 +13:00
Matt Woodrow
485862da70
Bug 934860 - Move some parts of FrameLayerBuilder::DrawThebesLayer into helper functions. r=roc
2013-11-07 08:10:49 +13:00
Matt Woodrow
d89f0d8a75
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
3ddf7986cc
Bug 930381 - Follow the COM rules when calling ProcessSynthMouseMoveEvent. r=mats, smaug, tnikkel
2013-11-12 07:54:10 -05: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
Matt Woodrow
150ebd9bb0
Bug 930419 - Make position:sticky frames an active scrolled root. r=roc
2013-10-24 16:35:30 +02: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
Brian O'Keefe
9c9d71fddb
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Rik Cabanier
b0c424efea
Bug 929591 - Blending fails if parent stacking context has text
2013-10-22 13:31:00 +01:00
Ed Morley
7e0379a38e
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
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
Robert O'Callahan
71c26b9e54
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
59a17d0f20
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Mike Hommey
3fa7456cd6
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +09: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
Ed Morley
45a4b4555f
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
c911ce58ef
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
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
Nicholas Nethercote
dac7e13e71
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
9c5cb0a5c0
Bug 602787 part.4 Don't implement nsAutoHandlingUserInputStatePusher class in nsEventStateManager.h r=smaug
2013-10-22 22:27:35 +09:00
Masayuki Nakano
c3b46ba6e2
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
9ab68d6b69
Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug
2013-10-23 07:32:04 +08:00
Wes Kocher
3d55f8e6de
Merge m-c to inbound
2013-10-22 18:43:11 -04:00
Wes Kocher
16d6e76b4e
Merge inbound to m-c
2013-10-22 18:11:06 -04:00
Masayuki Nakano
682176c987
Bug 920425 part.30 Use mozilla::WidgetEvent::AsWheelEvent() r=smaug
2013-10-22 17:55:21 +09:00
Masayuki Nakano
e3facfba13
Bug 920425 part.29 Use mozilla::WidgetEvent::AsGUIEvent() r=smaug
2013-10-22 17:55:20 +09:00
Masayuki Nakano
c2d6606a1c
Bug 920425 part.28 Use mozilla::WidgetEvent::AsMouseEvent() r=smaug
2013-10-22 17:55:20 +09:00
Robert O'Callahan
64040f3483
Bug 903340. Make nsDisplayScrollInfoLayer::ShouldFlattenAway side-effect-free. r=tn
2013-10-21 15:47:26 -07:00
Carsten "Tomcat" Book
f1d2ae53bc
Merge mozilla-central to mozilla-inbound
2013-10-18 14:13:10 +02:00
Carsten "Tomcat" Book
18e7416841
merge b2g-inbound to mozilla-central
2013-10-18 11:39:28 +02:00
Masayuki Nakano
fbe6c7ac3e
Bug 920425 part.18 Use mozilla::WidgetEvent::AsKeyboardEvent() r=smaug
2013-10-18 15:10:24 +09:00
Masayuki Nakano
d152366c31
Bug 920425 part.15 Use mozilla::WidgetEvent::AsTouchEvent() r=smaug
2013-10-18 15:10:23 +09:00
Masayuki Nakano
513b2976fe
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
28bacce9d2
Bug 926389 - Add touch event handling during fluffing. r=roc
2013-10-17 14:42:48 -04:00
Henri Sivonen
eb050aeb55
Bug 871161 - Stop inheriting charset where other browsers do not inherit it. r=bzbarsky.
2013-10-16 04:46:10 +03:00
Gabor Krizsanits
7b41a35e1e
Bug 565388 - No paint for invisible docshell. r=tnikkel
2013-10-16 15:18:42 +02:00
Masayuki Nakano
52e19b318b
Bug 920377 part.33 Get rid of mozilla::WheelEvent r=roc
2013-10-16 18:37:36 +09:00
Wes Kocher
b3eca32cc4
Merge inbound to m-c
2013-10-15 20:15:17 -07:00
Kartikaya Gupta
d930fb0e6c
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
429661b34c
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
ce222963ef
Backed out changeset 87ee0a1865e4 (bug 914847)
2013-10-22 16:55:14 -04:00