Commit Graph

9437 Commits

Author SHA1 Message Date
Avi Halachmi
9eb1965ef0 Bug 1228147: part 2: Add telemetry probe for synchronous scroll. r=kats 2015-12-16 17:18:45 +02:00
Bogdan Postelnicu
accf150729 Bug 1232271 - initialize local scalar mSolidColor with default value - NS_RGBA(0, 0, 0, 0). r=matt.woodrow 2015-12-14 04:06:00 +01:00
Carsten "Tomcat" Book
c26edfdb0a Backed out changeset 68b33692bed3 (bug 1147673) 2015-12-16 11:52:37 +01:00
Markus Stange
213a02e184 Bug 1147673 - Make display items know about their scroll clips. r=tn, r=roc 2015-12-12 10:58:37 -05:00
Mats Palmgren
aa30ea0fb5 Bug 1230672 part 3 - Add support for multicol layout on <fieldset> elements. r=bz 2015-12-15 02:51:03 +01:00
Mats Palmgren
76a800cdea Bug 1230207 - Add support for display:grid/flex layout on <fieldset> elements. r=bz,dholbert 2015-12-15 02:51:02 +01:00
Carsten "Tomcat" Book
237c1bea42 merge mozilla-inbound to mozilla-central a=merge 2015-12-11 11:38:17 +01:00
Mark Capella
ff3c9d518e Bug 1230613 - Long-press to trigger text selection should vibrate, r=snorp 2015-12-10 18:57:02 -05:00
Botond Ballo
d1ec51370f Bug 1228597 - Disable a test that uses context menus on b2g. r=tn
Getting the test to pass would involve changing code that deals with
context menus to be aware of pres shell resolutions.
2015-12-08 16:49:46 -05:00
Kartikaya Gupta
a2ba6213c3 Bug 1228597 - Clean up code paths that (un)apply a pres shell resolution. r=tn,botond
A clear separation is introduced between paths that deal with a root
document resolution (at the process boundary in e10s setups) and paths
that deal with a non-root document resolution (elsewhere in Layout code).

This allows both code paths to run on all platforms.
2015-11-30 19:13:20 -05:00
Botond Ballo
9a94f1ce0c Bug 1228597 - Remove the MOZ_SINGLE_PROCESS_APZ define. r=tn
Code previously guarded by this (added in bug 1224015) will now run
unconditionally.
2015-11-27 21:39:07 -05:00
Brian Birtles
ab475ec0ac Bug 1230056 part 2 - Remove nsLayoutUtils::HasAnimationsForCompositor and call EffectCompositor::HasAnimationsForCompositor directly; r=dholbert 2015-12-09 16:28:10 -05:00
Brian Birtles
4a5d70c96e Bug 1230056 part 1 - Add EffectCompositor::HasAnimationsForCompositor; r=dholbert 2015-12-09 16:28:10 -05:00
Jonathan Kew
65db98a965 Bug 1231175 - Missed change from Unicode 6.3 bidi algorithm update (ported from ICU's ubidi): include new ENL and ENR bidi pseudo-types in MASK_LTR. r=smontagu 2015-12-09 11:58:17 -05:00
Boris Zbarsky
99973d5d04 Bug 930218 part 2. Account for the parent's box-sizing whe figuring out the percentage height of a kid with an intrinsic ratio for purposes of determining the parent's shrink-wrap width. r=dbaron 2015-12-08 14:56:20 -05:00
Boris Zbarsky
c7d149aa3d Bug 930218 part 1. Factor out the computation of block-size taken up by box-sizing into a separate function so we can reuse it. r=dbaron 2015-12-08 14:56:04 -05:00
Boris Zbarsky
76d78ff09a Bug 1230466. Make sure to update our scrollbar styles when a <body> is removed from the DOM, since we might now need to propagate from some other element. r=roc 2015-12-08 14:55:50 -05:00
Xidorn Quan
dd0123c70b Bug 1225018 part 2 - Move GetFontMetricsOfEmphasisMarks to nsLayoutUtils. r=jfkthame 2015-12-08 12:55:01 -05:00
Nicholas Nethercote
96615f0ef2 Bug 1230863 - Remove unused nsPresContext args from many functions. r=roc. 2015-12-06 17:15:53 -08:00
Simon Montagu
5a2bbb6d4a Bug 1162813: filter paragraph separators before passing text to SetPara, r=jfkthame 2015-12-07 21:18:35 +02:00
Simon Montagu
f583e81d08 Test for bug 1162813, r=jfkthame 2015-12-07 21:18:29 +02:00
Nicholas Nethercote
544654913f Bug 1230413 (part 5) - Pass a DrawTarget to Draw{Dashed,SolidBorder}Segment(). r=mattwoodrow.
Instead of an nsRenderingContext.
2015-12-06 14:13:58 -08:00
Nicholas Nethercote
38d75def24 Bug 1230413 (part 4) - Remove unused nsRenderingContext argument from ForceBreak() and OptionallyBreak(). r=mattwoodrow. 2015-12-06 14:13:57 -08:00
Nicholas Nethercote
d7617e208c Bug 1230413 (part 1) - Pass a DrawTarget to several PaintFocus functions(). r=mattwoodrow.
Instead of an nsRenderingContext.
2015-12-03 19:16:59 -08:00
Thinker K.F. Li
3891b6c744 Bug 1230075 - Allow perspective items in hittest() for preserve-3d cases. r=mattwoodrow 2015-12-03 00:59:00 +01:00
Brian Birtles
28f919c1db Bug 1226118 part 12a - Make RestyleManager::GetMaxAnimationGenerationForFrame used frame-based GetAnimationCollection; r=dholbert 2015-12-04 08:34:17 +09:00
Brian Birtles
0f4369941d Bug 1226118 part 10 - Use EffectCompositor::GetAnimationsForCompositor in nsLayoutUtils; r=dholbert 2015-12-04 08:34:17 +09:00
Brian Birtles
5a49c44773 Bug 1226118 part 9 - Use EffectCompositor::GetAnimationsForCompositor in nsDisplayList; r=dholbert
The existing code contains a comment about needing to add transitions before
animations. However, this is unnecessary since the interaction between
transitions and animations is handled by the mWinsInCascade member that is
checked in AddAnimationsForProperty.
2015-12-04 08:34:17 +09:00
Brian Birtles
9529226dc0 Bug 1226118 part 5 - Move LogAsyncAnimationFailure to AnimationUtils; r=dholbert
This patch also moves AnimationUtils out of the dom namespace since it seems
unnecessary. We typically only put actual DOM interfaces in the dom namespace.
2015-12-04 08:32:53 +09:00
Brian Birtles
553a38bc84 Bug 1226118 part 4 - Use EffectSet in ActiveLayerManager's animated-scale checks; r=dholbert 2015-12-04 08:32:53 +09:00
Brian Birtles
d1b3fba7c3 Bug 1226118 part 2 - Use EffectSet in nsLayoutUtils animation functions; r=dholbert 2015-12-04 08:32:52 +09:00
Nicholas Nethercote
ca0f34e019 Bug 1229665 - Convert widget clip regions to LayoutDevicePixels. r=botond. 2015-12-02 14:32:55 -08:00
Robert O'Callahan
b405229968 Bug 927228 - Allow ImageLayerization for images using 'contain' and 'cover'. r=mstange 2015-12-03 17:36:40 +01:00
Botond Ballo
6f51378a02 Bug 1069417 - Remove the explicit template argument of TransformTo() and related functions. r=kats
In this process, TransformTo() and UntransformTo() are renamed TransformedBy()
and UntransformBy() so calls to them continue to read sensibly.
2015-11-30 20:06:45 -05:00
Botond Ballo
ca9ef01c41 Bug 1069417 - Modify TransformTo() and related functions to use typed matrices. r=kats
Call sites (all in APZ and related code) were modified accordingly. Some of
these modifications involved changing some matrices stored in APZ to be typed.
2015-11-30 20:14:31 -05:00
Botond Ballo
6a58abf965 Bug 1069471 - Add a ViewAs() overload for matrices. r=kats 2015-11-30 19:50:26 -05:00
Botond Ballo
de8628b63e Bug 1069417 - Add typedefs for commonly used typed matrices. r=kats 2015-11-30 19:52:33 -05:00
Botond Ballo
34ea66cb43 Bug 1069417 - Generalize Matrix4x4 into Matrix4x4Typed<SourceUnits, TargetUnits>. r=Bas
Matrix4x4 remains a typedef for Matrix4x4Typed<UnknownUnits, UnknownUnits>.

No client code needed changing, except for forward-declarations of Matrix4x4
as a class (since it's now a typedef).
2015-12-02 18:52:00 -05:00
Nicholas Nethercote
2d25720ee9 Bug 1229237 (part 5) - Make Update{Opaque,WindowDragging}Region() take a LayoutDeviceIntRegion. r=botond. 2015-11-25 21:42:59 -08:00
Nicholas Nethercote
7bb1055535 Bug 1229237 (part 4) - Make ThemeGeometry::mRect a LayoutDeviceIntRect. r=botond. 2015-11-22 20:32:29 -08:00
Nicholas Nethercote
a256727d0f Bug 1229202 (part 4) - Remove an unused gfxContextAutoSaveRestore. r=mattwoodrow. 2015-12-02 15:32:16 -08:00
Kartikaya Gupta
426035df36 Bug 1229853 - Don't apply the displayport multiplier if we don't have a frame for the element the displayport is set on. r=tn 2015-12-02 16:44:21 -05:00
Mark Capella
43630396ae Bug 1215959 - (GeckoCaret2) Upgrade Core and AccessibleCaret, r=smaug 2015-12-01 15:25:06 -05:00
Mark Capella
2ef78c023e Bug 1215959 - (GeckoCaret2) Remove experimental bits added to Touch/Selection carets, r=tylin 2015-12-01 15:25:06 -05:00
Carsten "Tomcat" Book
1e99a8aebb typo bustage fix for bug 1219236 a=me 2015-12-01 10:30:25 +01:00
Hiroyuki Ikezoe
fcac0e8934 Bug 1219236 - Part 1: Flush throttle styles for all descendant sub documents and *root* document itself. r=roc 2015-11-17 03:05:00 +01:00
L. David Baron
896dd64140 Bug 1228921 patch 2 - Fix nsRestyleHint constants to match the same style. r=xidorn 2015-11-30 21:37:08 -08:00
L. David Baron
6e68a0357e Bug 1228921 - Write nsChangeHint constants using left shifts. r=xidorn
This means I don't have to carefully count (or copy and paste) 0s when
adding new constants.
2015-11-30 21:37:08 -08:00
L. David Baron
6dd9506ec7 Bug 1224251 patch 4 - Convert UpdateOpacityLayer to RepaintFrame when changing opacity between 1 and non-1 on table parts. r=mattwoodrow 2015-11-30 21:25:55 -08:00
L. David Baron
d4b6a98407 Bug 1224251 patch 2 - Add nsChangeHint_UpdateUsesOpacity to say when opacity changes between 1 and non-1. r=xidorn 2015-11-30 21:25:54 -08:00