Commit Graph

1013 Commits

Author SHA1 Message Date
L. David Baron
cba2e5138e Bug 1047928 patch 3 - Pass restyle hint to nsPresContext::RebuildAllStyleData. r=bzbarsky
This patch is not intended to contain any changes in behavior.

The behavior changes for these callers are in the following patch.
2014-10-08 14:26:57 -07:00
L. David Baron
823a7c2ec1 Bug 1047928 patch 2 - Pass restyle hint to RestyleManager::RebuildAllStyleData. r=bzbarsky
This patch is not intended to contain any changes in behavior.
2014-10-08 14:26:57 -07:00
Ryan VanderMeulen
0ad775023d Backed out changeset cb3fd4a4b7c5 (bug 771043) for Android mochitest-8 failures.
CLOSED TREE
2014-10-03 15:26:06 -04:00
Boris Zbarsky
7c2de11f77 Bug 771043. Move MediaQueryList tracking from the prescontext to the document, so they will correctly outlive prescontext changes. r=dbaron 2014-10-03 14:15:25 -04:00
Cameron McCormack
1d351c0154 Bug 1028497 - Part 24: Implement FontFaceSet.{ready,status} and dispatch events. r=jdaggett,bzbarsky 2014-10-02 12:32:09 +10:00
Cameron McCormack
20b0875023 Bug 1028497 - Part 16: Don't destroy the user font set if there are no @font-face rules. r=jfkthame
We can no longer call FontFaceSet::DestroyUserFontSet (what used to be
nsUserFontSet::Destroy) in nsPresContext::FlushUserFontSet, since we
need to keep tracking FontFace objects even if the list of @font-face
rules is empty.
2014-10-02 12:32:08 +10:00
Cameron McCormack
bb911d8862 Bug 1028497 - Part 4: Move the nsUserFontSet object into FontFaceSet. r=jdaggett
This (a) moves ownership of the gfxUserFontSet into FontFaceSet, (b) moves
nearly all of the functionality of nsUserFontSet into FontFaceSet, and (c)
adds a class that inherits from gfxUserFontSet so that we can override some
of its virtual functions and delegate them to the FontFaceSet.
2014-10-02 12:32:05 +10:00
Markus Stange
a15e939a69 Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc 2014-09-26 13:06:08 -04:00
Arnaud Sourioux
13efd81178 Bug 1038570 - Part 2: rename ObjectFrame class to PluginFrame. r=dbaron 2014-09-24 06:34:00 +02:00
Arnaud Sourioux
2032fe5c9a Bug 1038570 - Part 1: rename nsObjectFrame.* to nsPluginFrame.*, changes moz.build and includes. r=dbaron 2014-09-24 06:33:00 +02:00
Cameron McCormack
f198d61ca8 Bug 979133 - Add facility to log the restyle process. r=dbaron
Set the MOZ_DEBUG_RESTYLE environment variable and every restyle will have
detailed logging printed to stderr. By default, restyles for animations are
not logged; you can include them by also setting MOZ_DEBUG_RESTYLE_ANIMATIONS.

If you wish to limit restyle logging to a particular change, you can call
nsPresContext::StartRestyleLogging() and nsPresContext::StopRestyleLogging()
at appropriate points. (You might want to add a couple of helper methods
temporarily on nsIDocument and then expose them to your page with Web IDL
to make them easier to call.) You do not need to have set MOZ_DEBUG_RESTYLE
for this to work.
2014-09-25 15:45:36 +10:00
Phil Ringnalda
9f84067f15 Back out c0c410aed86f (bug 979133) for -wError bustage
CLOSED TREE
2014-09-24 21:06:22 -07:00
Cameron McCormack
8b4e0a7a7d Bug 979133 - Add facility to log the restyle process. r=dbaron
Set the MOZ_DEBUG_RESTYLE environment variable and every restyle will have
detailed logging printed to stderr.  By default, restyles for animations are
not logged; you can include them by also setting MOZ_DEBUG_RESTYLE_ANIMATIONS.

If you wish to limit restyle logging to a particular change, you can call
nsPresContext::StartRestyleLogging() and nsPresContext::StopRestyleLogging()
at appropriate points.  (You might want to add a couple of helper methods
temporarily on nsIDocument and then expose them to your page with Web IDL
to make them easier to call.)  You do not need to have set MOZ_DEBUG_RESTYLE
for this to work.
2014-09-25 13:13:14 +10:00
Bob Owen
ff0e3d2919 Bug 1047509 - Part 11: Remove nsCxPusher in nsPresContext::MediaFeatureValuesChanged. r=bholley 2014-08-07 19:44:03 +01:00
Bill McCloskey
625fa5000b Bug 1042587 - Rework script blocker check for SVG (r=roc) 2014-08-05 21:44:59 -07:00
Olli Pettay
d65779731f Bug 1026164, improve focus handling in shadow dom, r=wchen 2014-08-06 02:23:02 +03:00
Benoit Jacob
456d72465a Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj 2014-07-30 15:52:05 -04:00
L. David Baron
c78b271b54 Bug 996796 patch 3 - Move the knowledge of when we last updated main-thread-suppressed animation styles into the restyle manager rather than have two separate but always equal timestamps for animations and transitions. r=birtles 2014-07-24 21:35:34 -07:00
Jonathan Watt
1fdab4d553 Bug 940625 - Discard the surfaces for SVG images that are in the ImageLib SurfaceCache when the app theme changes. r=seth 2014-06-25 13:04:36 +01:00
Ms2ger
7f901a51fa Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam 2014-06-20 12:32:49 +02:00
Ms2ger
78134e6fa1 Backout revision 308e51eae10c for build bustage. 2014-06-20 13:00:08 +02:00
Ms2ger
f747edc3e4 Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam 2014-06-20 12:32:49 +02:00
Xidorn Quan
b214cee292 Bug 966166 - Part 3: Link to other parts. r=dbaron 2014-06-11 21:12:00 -04:00
Xidorn Quan
c02eeaf494 Bug 966166 - Part 2: Computation of counter style. r=dbaron 2014-06-11 21:11:00 -04:00
John Daggett
4cbe97fa4c Bug 280443 p3 - use fontlist struct in gfx. r=roc,fredw 2014-06-06 15:09:23 +09:00
Trevor Saunders
c5d0801c5c bug 966059 - add nsIDocShell::GetWindow and GetDocument r=smaug 2014-01-09 21:03:47 -05:00
Tim Taubert
44b2f31243 Bug 990812 - Allow a deeper frame message manager hierarchy than only global > window > tab r=smaug 2014-05-23 14:52:36 +02:00
Mike Conley
dd04a72f78 Bug 978913 - Dragging e10s window between HiDPI and non-HiDPI displays causes text to be scaled incorrectly. r=smaug. 2014-05-23 10:36:50 -04:00
Ryan VanderMeulen
3b65ac55e3 Backed out changeset f1068bf18e64 (bug 978913) for bustage on most platforms.
CLOSED TREE
2014-05-22 16:39:46 -04:00
Mike Conley
51c1d49090 Bug 978913 - Dragging e10s window between HiDPI and non-HiDPI displays causes text to be scaled incorrectly. r=smaug. 2014-05-22 12:07:27 -04:00
Birunthan Mohanathas
9c531b5b34 Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Henri Sivonen
3feac9d066 Bug 943268 - Remove nsCharsetAlias and nsCharsetConverterManager. r=emk. 2014-05-08 12:32:00 +03:00
Ehsan Akhgari
c01e9369ee Bug 491863 - Remove IBMBIDI; r=roc 2014-04-23 21:15:29 -04:00
L. David Baron
5b6896dc01 Bug 992324 patch 1 - Add a pref to disable interruptible reflow. r=bzbarsky 2014-04-09 21:47:58 -07:00
Mats Palmgren
d584aa7604 Bug 967296 - Remove diagnostic code added in bug 946929. r=tn 2014-04-03 18:02:08 +00:00
Masayuki Nakano
c50afb64af Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug 2014-04-01 13:09:23 +09:00
Daniel Holbert
a9f12e19c3 (no bug) Remove whitespace at end of line in nsPresShell, nsIPresShell, and nsPresContext. (whitespace-only, DONTBUILD) 2014-03-20 14:49:25 +08:00
Masayuki Nakano
2eb2bd8616 Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug 2014-03-18 13:48:21 +09:00
Masayuki Nakano
e8acfb8a92 Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug 2014-03-17 15:56:53 +09:00
Gijs Kruitbosch
6f83037d87 Bug 970404 - don't let users affect document colors for chrome images, r=bz 2014-03-06 23:02:59 -05:00
Milan Sreckovic
16be82202b Bug 978274: Initialize gfxPrefs earlier, rename some methods, delete MigratePrefs from gfxPlatform. r=bgirard. 2014-03-04 12:26:33 -05:00
Kearwood (Kip) Gilbert
623c044b53 Bug 687297 - The per-presentation base minimum font size is now propagated without being max’ed with the language-specific global minimum font size preference, r=dbaron
A separate accessor has been added to nsPresContext to enable TransferZoomLevels and nsDocumentViewer::GetMinFontSize to access the minimum font size that has not been max’ed against the language specific minimum font size preset.

nsPresContext::mMinFontSize, its getter, and its setter have been renamed to more clearly distinguish them from minFontSize used elsewhere.
2014-02-25 11:07:47 -08:00
Carsten "Tomcat" Book
5b564a846e Backed out changeset 27f21343ffe5 (bug 687297) for mochitest-1 perma fail 2014-02-27 10:21:55 +01:00
Kearwood (Kip) Gilbert
cdbbf1bd08 Bug 687297 - The per-presentation base minimum font size is now propagated without being max’ed with the language-specific global minimum font size preference, r=dbaron
A separate accessor has been added to nsPresContext to enable TransferZoomLevels and nsDocumentViewer::GetMinFontSize to access the minimum font size that has not been max’ed against the language specific minimum font size preset.

nsPresContext::mMinFontSize, its getter, and its setter have been renamed to more clearly distinguish them from minFontSize used elsewhere.
2014-02-25 11:07:47 -08:00
John Daggett
c988ce4db8 Bug 976971 - test log level directly when creating textperf object. r=heycam 2014-02-27 08:41:28 +09:00
Arnaud Sourioux
fe6152ac7a Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert 2014-02-24 09:41:56 -05:00
Ryan VanderMeulen
7faefdeddb Backed out changeset 18183f6ef0d8 (bug 910860) for xpcshell and reftest failures. 2014-02-21 12:35:35 -05:00
Milan Sreckovic
0db30f2ed3 Bug 910860 - Use gfxPrefs to make sure preferences are evaluated on the main thread. This still leaves the preference re-evaluated. r=BenWa 2014-02-18 19:55:48 -05:00
Mats Palmgren
675e42549d Bug 974412 - Cancel any pending InvalidatePresShellIfHidden() request for the shell when detaching the pres context. r=roc 2014-02-21 08:40:45 +00:00
Mats Palmgren
db7ad396cc Bug 968174 - Don't schedule a paint if the pres context was detached during the delay. Re-enable the assertions from bug 967758. r=roc 2014-02-10 02:14:38 +00:00