Jeff Muizelaar
a6e2d3180f
Bug 1074615. Remove DRAW_SNAPPED. r=mwoodrow
...
This doesn't seem to be necessary and doesn't really make sense to me. This
will help us moving region clipping into Moz2D
--HG--
extra : rebase_source : 4a5987ce2a95eaba44a69233d1b7f461f5ec16ea
2014-10-01 01:25:25 -04:00
Cameron McCormack
c3dee3558d
Bug 1072724 - Support showing more information about style structs in restyle logs. r=dbaron
...
The MOZ_DEBUG_RESTYLE_STRUCTS environment variable can be set to a comma-
separated list of style struct names. When restyle logging is enabled,
this will cause the style context tree -- showing cached style struct
pointers for those structs specified -- to be logged before each
individual restyle is processed. It will also show the struct pointer
values involved when swapping structs between style contexts.
For example, set MOZ_DEBUG_RESTYLE_STRUCTS=Font,UserInterface to show
the cached nsStyleFont and nsStyleUserInterface pointers on the style
contexts involved in the restyle process.
2014-10-01 09:13:57 +10:00
Simon Montagu
5240838225
Bug 1069941 patch 3: Pass the frame physical width, not inline size, to the inner loop of RepositionFrame, plus cosmetic fixes, r=jfkthame
2014-09-30 10:59:14 -07:00
Simon Montagu
72a6973797
Bug 1069941 patch 2: reset the start coordinate of the inline frames before ReorderFrames so that the margin doesn't get added twice, r=jfkthame
2014-09-30 10:59:13 -07:00
Simon Montagu
859e13d16d
Bug 1069941 patch 1: be more accurate when identifying the first and last frames on the line and applying margin/border/padding, r=jfkthame
2014-09-30 10:59:13 -07:00
Jonathan Kew
4a06c41b0a
Bug 1065002 pt 2 - Add an orientation field to nsFontMetrics. r=jdaggett
2014-09-30 07:38:35 +01:00
Jonathan Watt
12265c2c41
Bug 1073972
- Get rid of gfxContext's FillRule enum in favor of Moz2D's. r=Bas
2014-09-29 14:15:19 +01:00
Jonathan Watt
a6a8b844ba
Bug 1073964 - Pass a const DrawTarget* through to nsSVGPaintServerFrame::GetPaintServerPattern so that it can create a pattern of the appropriate type. r=Bas
2014-09-29 14:15:19 +01:00
Dirk Schulze
a028173cff
Bug 1072894 - Implement polygon() parsing for clip-path. r=heycam
2014-09-28 01:56:00 +02:00
Xidorn Quan
f69d6b2935
Bug 966168 - Implement symbols() CSS function. r=dbaron
2014-09-25 02:19:00 +02:00
Cameron McCormack
82ae4752e3
Bug 1073828 - Fix variable generation in RestyleLogging.h. r=dbaron
2014-09-28 19:19:26 +10:00
Ryan VanderMeulen
26fa99e043
Merge m-c to inbound. a=merge
2014-09-26 17:01:30 -04:00
Ryan VanderMeulen
9d0527705e
Merge inbound to m-c. a=merge
2014-09-26 16:54:59 -04:00
Markus Stange
3efef60534
Bug 1073103 - SReplace 'Thebes' with 'Painted' in some more places. r=roc
2014-09-26 13:07:06 -04:00
Markus Stange
7d5a3be591
Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
...
--HG--
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/basic/BasicPaintedLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/basic/BasicPaintedLayer.h
rename : gfx/layers/client/ClientThebesLayer.cpp => gfx/layers/client/ClientPaintedLayer.cpp
rename : gfx/layers/client/ClientThebesLayer.h => gfx/layers/client/ClientPaintedLayer.h
rename : gfx/layers/client/ClientTiledThebesLayer.cpp => gfx/layers/client/ClientTiledPaintedLayer.cpp
rename : gfx/layers/client/ClientTiledThebesLayer.h => gfx/layers/client/ClientTiledPaintedLayer.h
rename : gfx/layers/composite/ThebesLayerComposite.cpp => gfx/layers/composite/PaintedLayerComposite.cpp
rename : gfx/layers/composite/ThebesLayerComposite.h => gfx/layers/composite/PaintedLayerComposite.h
rename : gfx/layers/d3d10/ThebesLayerD3D10.cpp => gfx/layers/d3d10/PaintedLayerD3D10.cpp
rename : gfx/layers/d3d10/ThebesLayerD3D10.h => gfx/layers/d3d10/PaintedLayerD3D10.h
rename : gfx/layers/d3d9/ThebesLayerD3D9.cpp => gfx/layers/d3d9/PaintedLayerD3D9.cpp
rename : gfx/layers/d3d9/ThebesLayerD3D9.h => gfx/layers/d3d9/PaintedLayerD3D9.h
2014-09-26 13:06:08 -04:00
Botond Ballo
fabb054089
Bug 1068961 - Reset clip rect for color layers. r=roc
2014-09-26 14:11:17 -04:00
Kartikaya Gupta
a18a198a4f
Bug 1073354 - Update documentation that refers to the now-removed RecordFrameMetrics. r=tn DONBUILD
2014-09-26 11:29:38 -04:00
Kartikaya Gupta
af45294759
Bug 1073024 - Make a pref to control building event regions. r=roc
2014-09-26 02:44:34 -04:00
Masayuki Nakano
0cecd2284c
Bug 1065835 part.4 Destroy TextComposition instance after handling synthesized compositionend event when synthesized events for a request to commit or cancel is caused by PresShell discarding native compositionend event r=smaug
2014-09-26 09:05:12 +09:00
Seth Fowler
00532c0bf3
Bug 1067191 (Part 1) - Use an unsnapped destination rect when computing transforms for image drawing. r=roc
2014-09-25 14:09:53 -07:00
Carsten "Tomcat" Book
996fc54b8d
merge mozilla-inbound to mozilla-central a=merge
2014-09-25 14:22:30 +02:00
Carsten "Tomcat" Book
84fa1ee595
Backed out changeset d53b25dcf2d7 (bug 966168) for causing bustage
2014-09-25 09:40:40 +02:00
Arnaud Sourioux
54b32a98a0
Bug 1038570 - Part 2: rename ObjectFrame class to PluginFrame. r=dbaron
2014-09-24 06:34:00 +02:00
Arnaud Sourioux
4f1c6d56a0
Bug 1038570 - Part 1: rename nsObjectFrame.* to nsPluginFrame.*, changes moz.build and includes. r=dbaron
...
--HG--
rename : layout/generic/nsObjectFrame.cpp => layout/generic/nsPluginFrame.cpp
rename : layout/generic/nsObjectFrame.h => layout/generic/nsPluginFrame.h
2014-09-24 06:33:00 +02:00
peter chang
ae05a3086a
Bug 1020801 - Notify the ScrollViewChange DOM event when APZ starts/stops to change the transform. r=ehsan
2014-09-23 06:37:00 -04:00
Xidorn Quan
e94396781f
Bug 966168 - Implement symbols() CSS function. r=dbaron
2014-09-24 15:32:00 +02:00
Cameron McCormack
8ffb3014ac
Bug 1072130 - Don't swap structs when we're reusing a style context from a previous same-style continuation. r=dbaron
2014-09-25 15:51:43 +10:00
Cameron McCormack
f5e6faa47e
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
Cameron McCormack
0770269478
Back out bug 1045895 for causing bug 1070759.
2014-09-25 15:30:18 +10:00
Phil Ringnalda
340fd10e38
Back out c0c410aed86f (bug 979133) for -wError bustage
...
CLOSED TREE
2014-09-24 21:06:22 -07:00
Cameron McCormack
2a28d6d5eb
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
Ting-Yu Lin
f8923cff09
Bug 1070851 - Make touch caret respect snapshotWindow(). r=roc
...
Avoid capture touch caret when the argument 'withCaret' is false in
snapshotWindow().
2014-09-24 01:26:00 -04:00
Milan Sreckovic
b689675056
Bug 1068784 - Since the tiling is now not a simple pref choices, but it depends on some platform specific criteria, stop using the pref directly, and always use gfxPlatform::UseTiling instead. r=mwoodrow
2014-09-17 13:55:23 -04:00
Ehsan Akhgari
65a6bddd89
Bug 1071573 - Fix more bad implicit constructors in layout; r=roc
...
--HG--
extra : rebase_source : a2632aead26e8481c307b54989ebba3642892f4c
2014-09-23 22:01:52 -04:00
Rik Cabanier
ce6c5dc0b7
bug 1058044 - Background-blend-mode no longer blends correctly for <html> elements. r=roc
2014-09-23 19:50:00 +02:00
Robert O'Callahan
ddbb723a3f
Bug 1062100. Part 3: When layers are flattened, let all the layers contribute opaqueness to the container layer, whatever their animated geometry roots are. r=tn
...
--HG--
extra : rebase_source : 255807b178162f62082da0fe2bed2315cf4c0581
2014-09-17 18:45:47 +12:00
Robert O'Callahan
9e69e9b7ce
Bug 1062100. Part 2: Assign clip rects to non-async-scrollable scrolled layers, and hide clipped layers if some non-moving layer covers their entire clip rect. r=mattwoodrow
...
--HG--
extra : rebase_source : bdc498a51f323d8536746e5a6faf6094a243a984
2014-09-06 16:16:33 +12:00
Kartikaya Gupta
c34ad0fe01
Bug 1071367 - Fix the composition bounds for the root content document on OS X. r=tn
...
According to roc the content viewer position doesn't mean much; only the size is
set to anything meaningful. Therefore using the position from the content viewer
bounds is not a good idea, and we should use the position from the frame bounds
instead. This patch also changes GetContentViewerBounds to GetContentViewerSize
so that it's harder to accidentally use the position in other places.
2014-09-23 12:17:36 -04:00
Alexander Surkov
d205486a00
Bug 1040735 - DOM node reinsertion under anonymous content may trigger a11y child adoption, r=bz, tbdaunde, davidb
2014-09-19 20:02:30 -04:00
Jonathan Kew
a7a0688076
Bug 1068027 - nsBidiPresUtils::RepositionFrame should not mix logical and physical directions. r=smontagu
2014-09-19 12:14:05 +01:00
Boris Zbarsky
14ff5707d7
Bug 1067504. Hook up print preview to our parent widget as needed, so it will actually paint. r=smaug
2014-09-15 14:15:15 -04:00
Cameron McCormack
377ef30058
Bug 1062732 - Avoid tracking descendants for restyling if we are force restyling the entire subtree. r=dbaron
2014-09-19 11:12:31 +10:00
Cameron McCormack
b973a953c7
Bug 1063384 - Make RestyleTracker::DoProcessRestyle's restylesToProcess not have an mDescendants array in each element. r=dbaron
2014-09-19 11:12:30 +10:00
Wes Kocher
45f4500903
Merge inbound to m-c a=merge
2014-09-18 15:26:44 -07:00
Fabrice Desré
70514dcc33
backout bug 1029943 for performance regressions (see bug 1066515)
2014-09-18 10:31:20 -07:00
Kartikaya Gupta
e2f9998656
Bug 1056423 - Adjust scrollbar clip rect also when accounting for async transform. r=botond
2014-09-18 13:19:20 -04:00
Markus Stange
9035319790
Bug 944836 - Build a draggable region for the window based on the -moz-window-dragging property. r=roc
2014-09-18 10:52:27 +02:00
Maksim Lebedev
3145ec0ae0
Bug 977003 - Test for check async got/lostpointercapture events. r=smaug
2014-09-16 23:16:00 -04:00
Maksim Lebedev
8c913cbf98
Bug 977003 - Make async got/lostpointercapture events. r=smaug
2014-09-12 02:32:00 -04:00
Benoit Girard
f901a7393c
Bug 1065122 - Browser crash when using Timeline & Profiler at the same time. r=pbrosset
2014-09-17 12:00:33 -04:00