Julian Seward
ebea2b59c1
Bug 1232696 - Remove NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW as it causes segfaulting for GCC 6 builds (3 of 5, fixes for layout/). r=dholbert.
2017-01-24 17:11:13 +01:00
Markus Stange
b797477463
Bug 1331402 - Update plugins' clipRects when hiding a tab. r=jimm,mattwoodrow
...
In non-e10s, all tabs of a window would share one nsRootPresContext. When
switching tabs, the tab switch paint would trigger a call to
nsRootPresContext::ComputePluginGeometryUpdates, which would call
SetEmptyWidgetConfiguration on all registered nsPluginFrames, notably also
those inside the tab that was hidden.
With e10s, every tab has its own nsRootPresContext, and paints in one tab do
not trigger calls to nsRootPresContext::ComputePluginGeometryUpdates on the
root pres contexts of other tabs. So when painting the new tab, the registered
plugin frames in the old tab were not notified that they were now hidden.
This patch now does that in TabChild::MakeHidden.
MozReview-Commit-ID: LlW9dKKFqZE
--HG--
extra : rebase_source : 0e7f24d7ef90d8582d7f60729e712bca78ed8e17
2017-01-17 18:07:05 +01:00
Emilio Cobos Álvarez
d449269afd
Bug 1329200: Remove unused FrameManager global generation counter. r=xidorn
...
MozReview-Commit-ID: AXkaZYxpK2y
--HG--
extra : rebase_source : a02753e044fb89d4ea6a476e4b8f3e9fc0e4eb0c
2017-01-06 16:03:41 +01:00
William Chen
8e941520c1
Bug 1307675 - Part 1: Record time from first paint to time of first input. r=baku,jwatt
2016-11-08 17:39:28 -08:00
Boris Zbarsky
6104ba14f9
Bug 1298588 part 3, gecko piece. Add a default ComputedValues member to PerDocumentStyleData. r=bholley
2017-01-04 14:52:26 -05:00
Boris Zbarsky
d6ee8eb8a9
Bug 1298588 part 1. Make StyleStructContext work with a const nsPresContext. r=bholley
2017-01-04 14:52:26 -05:00
Boris Zbarsky
93e075d001
Bug 1321803 part 1. Add an API on nsPresContext to test whether the given element would have its scrollbar styles propagated to the viewport in non-paginated mode. r=dbaron
2016-12-22 16:52:12 -08:00
Vincent Lequertier
15d1386c74
Bug 1312155 - Move border-width constants out of nsPresContext; r=heycam
2016-11-16 10:11:00 +01:00
Markus Stange
22f951e2b3
Bug 1307242 - Add infrastructure for measuring time to non-blank paint. r=bkelly
...
MozReview-Commit-ID: LZBQOvKZYes
--HG--
extra : rebase_source : 4bf315aab5b663fbc82b11d1961b7a6e98800d6d
extra : histedit_source : 02c003a780c0ba217d17f1c009252217010dd84e
2016-11-10 16:00:45 -05:00
Keshav Prasad
8d534ac19c
Bug 1314158 - Remove declaration of IsChromeSlow in nsPresContext.h. r=mstange
...
MozReview-Commit-ID: MXq75nKDQM
--HG--
extra : rebase_source : 2d22dc5aaf9d66f528067882eca5c5eb8b0e64f0
2016-11-04 16:46:30 -04:00
Olli Pettay
97b9917978
Bug 1308459 - Rename RefreshDriver::PresContext() to hint about its behavior, r=tnikkel
...
--HG--
extra : rebase_source : 50cf1fd7f1ee052e182ae3fa84ce8648e46143cd
2016-10-12 14:27:38 +03:00
Joel Maher
58f71c11c8
Backout 472858f465b0 (Bug 1290158) for perf regression.
...
MozReview-Commit-ID: 92eO5YtKLoj
2016-09-23 06:20:33 -04:00
Neil Rashbrook
bf6bdf8c7c
Bug 1290158 Don't generate synthetic paint events for invisible documents r=mattwoodrow
2016-09-14 15:55:45 +01:00
Matteo Ferretti
c0ce371e10
Bug 1241867 - override the DPR without affecting the rendering; r=dbaron
...
- added overrideDPPX to nsIContentViewer
- made CSSStyleSheet and GlobalWindow using the overrideDPPX value
- added unit test with frame check
MozReview-Commit-ID: AOWpGs4vb9H
--HG--
extra : rebase_source : 45d9ae2c9b7aad835b5602e805ec7260c69c05b8
2016-08-25 13:15:19 +02:00
Emilio Cobos Álvarez
ab791a332e
Bug 1292281: Devirtualize nsPresContext::HasAuthorSpecifiedRules. r=bholley
...
MozReview-Commit-ID: 4UF4vNaOCHz
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-26 04:20:01 -07:00
Kartikaya Gupta
c372a788a5
Bug 1292781 - Add a test. r=tnikkel
...
MozReview-Commit-ID: f0UvsKMwAL
2016-08-24 09:15:42 -04:00
Cameron McCormack
bddd447666
Bug 1290013 - Add a pref to disable stylo. r=bholley
...
MozReview-Commit-ID: DG9Q61OYlvl
2016-08-05 17:45:58 +08:00
Bobby Holley
5abb382d3d
Bug 1289620 - Initialize the correct restyle manager when we attach the PresShell. r=heycam
2016-07-27 09:44:30 -07:00
Bobby Holley
1764385b32
Bug 1289620 - Separate presshell attachment and detachment in nsPresContext. r=heycam
2016-07-27 09:44:29 -07:00
Tooru Fujisawa
6ed032640e
Bug 382721 - Part 9: Warn about too large dotted/dashed corner. r=jrmuizel
2016-06-10 13:10:03 +09:00
Carsten "Tomcat" Book
d612b10610
Backed out changeset c3f66208fe85 (bug 382721)
...
--HG--
extra : rebase_source : 45a93822af369dc9b1c4c2d733fa6a7e81064499
2016-06-10 15:38:30 +02:00
Tooru Fujisawa
5fd0e1df86
Bug 382721 - Part 9: Warn about too large dotted/dashed corner. r=jrmuizel
2016-06-10 13:10:03 +09:00
Kan-Ru Chen
d5e601ce6f
Bug 1261612 - Remove TabChild::IsRootContentDocument and related methods. r=smaug
...
MozReview-Commit-ID: 2ms1lBfimfv
2016-05-16 10:56:07 +08:00
L. David Baron
91233fe6f4
Bug 1271015 patch 1 - Add mechanism for testing the number of elements restyled. r=heycam
...
This is useful for writing tests that test particular optimizations,
such as that a particular operation doesn't cause restyles. It sits
next to similar counters for frames constructed and frames reflowed.
I also snuck in a preference for the less-expensive mPresContext over
the more expensive mFrame->PresContext() (which dereferences multiple
pointers).
(Originally written for work I planned to be part of bug 1189598.)
MozReview-Commit-ID: 8PN7nwLJG9r
2016-05-09 11:26:35 -07:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Jeremy Chen
f7a19af3e7
Bug 1248708 - Part2.2: render -webkit-text-stroke property. r=jfkthame
2016-04-23 01:40:39 +08:00
Mike Conley
1cff2809c8
Bug 1264409 - Make last transaction ID available via nsIDOMWindowUtils, and pass transaction ID through MozAfterPaint. r=mattwoodrow,mrbkap
...
MozReview-Commit-ID: 7wCYif8F6ws
--HG--
extra : rebase_source : 5a87a558dbb7955c04842b6f8b71adb15ecd3370
2016-04-13 16:59:15 -04:00
Jonathan Kew
0d6a32ee9b
Bug 1249279 - Let subdocuments' presContexts inherit the DPI setting of their parent, instead of retrieving it from their widget, to avoid using stale values from a currently-hidden widget on a screen with a different DPI. r=bz
2016-04-07 10:01:30 +01:00
Bobby Holley
479711a580
Bug 1261552 - Introduce StaticPresData and hoist some shared functionality into it. r=heycam
...
The complexity around the font pref cache stuff is really annoying. If we
think it's unnecessary, we could remove it in a followup.
2016-04-04 23:14:27 -07:00
Edgar Chen
25174c3544
Bug 1257742 - Part 3: Support using floating point in sizes descriptor; r=jdm
...
MozReview-Commit-ID: ESTk2x2VqnD
2016-03-23 18:46:36 +08:00
Benoit Girard
4e40cd1d1a
Bug 1259235 - Add IsScrollFrameWithSnapping to speed up event regions. r=mstange
...
MozReview-Commit-ID: KdWCkXHjHzZ
--HG--
extra : rebase_source : ca15390be1d003c50e41ef89f40f5e7f543e8676
2016-03-23 17:16:38 -04:00
Bobby Holley
4d0a8d44bd
Bug 1253078 - Switch MOZ_STYLO environmental variable to MOZ_DISABLE_STYLO. r=dholbert
2016-03-02 15:14:55 -08:00
Jamie Nicol
4443e3c227
Bug 1247098 - Mark nsIPresShell::GetResolution and nsPresContext::IsRootContentDocument as const. r=tnikkel
...
MozReview-Commit-ID: 5IXm4EUy7IN
--HG--
extra : rebase_source : 7028a908adcb36828a58bb3ad7403559cfad9eb2
2016-02-24 14:57:43 +00:00
Brendan Dahl
1e077c8a5f
Bug 1104916 - Implement CSS media query display-mode. r=cam
2016-02-23 17:10:00 +01:00
Cameron McCormack
9de96733e9
Bug 1250377 - Part 1: Use MOZ_STYLO environment variable to switch on Servo-backed style system. r=bholley
2016-02-24 18:01:12 +11:00
Cameron McCormack
89cac5abd1
Bug 1248864 - Part 3: Use RestyleManagerHandle instead of concrete restyle manager class. r=dholbert
2016-02-24 18:01:12 +11:00
Cameron McCormack
7c95c39734
Bug 1244068 - Part 4: Use StyleSetHandle instead of concrete style set class in most places. r=dholbert
2016-02-24 18:01:11 +11:00
Jamie Nicol
900d65afe1
Bug 1247554 - Mark nsPresContext::GetVisibleArea as const; r=mattwoodrow
...
MozReview-Commit-ID: 57Ghhfcmxkr
--HG--
extra : transplant_source : O/%C0%7EO%89%CF%A3%7CE0%A6EA%96%F2%E7v%FF/
2016-02-18 15:13:35 +00:00
Wes Kocher
ddcc30c564
Backed out changeset 4fa1296bd773 (bug 1104916) for win debug m(oth) permafails CLOSED TREE
...
--HG--
extra : commitid : HW3icAqLZUB
2016-02-05 11:42:55 -08:00
Brendan Dahl
b25b48552b
Bug 1104916 - Implement CSS media query display-mode. r=cam
2016-02-04 13:34:00 +01:00
Timothy Nikkel
6cd0b6de0f
Bug 1241651. Remove nsPresContext::GetDisplayRootPresContext. r=mattwoodrow
...
It should no longer serve any purpose different from nsPresContext::GetRootPresContext.
2016-01-21 19:09:04 -06:00
Brian Birtles
7a8bb45336
Bug 1232577 part 15 - Drop LastStyleUpdateForAllAnimations flag from pres context; r=heycam
...
nsPresContext contains a mLastStyleUpdateForAllAnimations flag which is simply
used to prevent unnecessarily posting restyles when throttled animations are
already up to date. Since part 13 we now accurately record whether we have
posted a restyle for each throttled animation and only post a restyle if we
have not done so already. As a result, this flag is no longer needed since
calling PostRestyleForThrottledAnimations is effectively a noop when throttled
animations are up-to-date.
2016-01-13 07:54:55 +09:00
Brian Birtles
641025e212
Bug 1232577 part 1 - Add EffectCompositor as a member of nsPresContext; r=heycam
...
Since we want to track elements needing a restyle on EffectCompositor we need
to scope it to an nsPresContext rather than just making if a collection of
static methods.
2016-01-13 07:54:53 +09:00
Nicholas Nethercote
ec89bbf7f2
Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj.
2016-01-05 17:08:45 -08:00
L. David Baron
e729cb0a30
Bug 1228934 - Remove style, weight, and stretch parameters from nsFont constructor. r=jdaggett
...
--HG--
extra : commitid : AjhXsILlXJt
2015-11-30 16:23:09 -08:00
L. David Baron
bf50ef11b4
Bug 1228501 patch 1 - Remove decorations parameter to nsFont constructors. r=jdaggett
...
The removed parameter is always 0.
--HG--
extra : commitid : 2YNm9lizlzt
2015-11-30 14:02:25 -08:00
Carsten "Tomcat" Book
681c0ef404
Backed out changeset e1fd92eeb5ba (bug 1228501)
2015-11-30 12:10:40 +01:00
L. David Baron
c3ea47d074
Bug 1228501 patch 1 - Remove decorations parameter to nsFont constructors. r=jdaggett
...
The removed parameter is always 0.
--HG--
extra : commitid : 2nTtt0E9Syb
2015-11-29 23:15:01 -08:00
Xidorn Quan
ee559c1cab
Bug 1040668 part 13 - Move first part of nsStyleFont::GetLanguage to nsPresContext::GetContentLanguage. r=dbaron
...
--HG--
extra : source : 2878e5e63e111995b4a67cd72b0df5a5a2b6531f
2015-11-28 11:56:33 +11:00
Mats Palmgren
91c762fa9b
Bug 576927 - Use saturating multiply when calculating zoomed app units to avoid integer overflow. r=roc
2015-11-16 17:32:39 +01:00