Matt Woodrow
ad3a5e5b81
Bug 1031948 - Cull points that have w <= 0 when untransforming layer coordinates. r=bjacob
2014-07-08 16:55:42 +12:00
Kartikaya Gupta
ccf8c8beb4
Bug 1034258 - Change mCompositionBounds to be a ParentLayerRect instead of a ParentLayerIntRect. r=Cwiiis
2014-07-04 08:12:41 -04:00
Kartikaya Gupta
88dfd9001c
Bug 1034179 - Use the right resolution when generating a FrameMetrics object for GetOrMaybeCreateDisplayport. r=tn
2014-07-03 15:22:22 -04:00
Timothy Nikkel
ebd5b0ef6e
Bug 1029718. Skip transform calculation if region to transform is empty for layer event regions. r=mstange
...
This means that we keep empty regions empty instead of rounding out causing empty regions to become non-empty. It can be significant for perf. Bug 1016525 fixed this. Bug 977831 regressed this.
2014-07-03 13:40:13 -05:00
Ryan VanderMeulen
bab0334029
Backed out changesets 4cd69faa8bc0 and 54252e150439 (bug 976963) for B2G mochitest failures.
2014-07-03 13:31:31 -04:00
Maksim Lebedev
69226a8826
Bug 976963 - Add test. r=smaug
2014-07-02 04:23:00 -04:00
Maksim Lebedev
7e162c883a
Bug 976963 - After invoking the releasePointerCapture method on an element, subsequent events for the specified pointer must follow normal hit testing mechanisms for determining the event target. r=smaug
2014-06-20 09:20:00 -04:00
Benoit Girard
e29f894afe
Bug 1030245 - When dumping the display list dump, ensure up to 1024 characters of each line in the dump is output. r=kats
2014-07-03 09:12:09 -04:00
Seth Fowler
22dabfaad3
Bug 1027611 (Part 1) - Don't use a frame before initializing it in CreateContinuingTableFrame. r=bz
2014-07-02 17:58:53 -07:00
Morris Tseng
59218b978b
Bug 1029982 - Set mNeedLayoutFlush and mNeedStyleFlush back to true when flush failed. r=dbaron,roc
2014-06-26 20:16:00 +02:00
Carsten "Tomcat" Book
2711b03876
Backed out changeset 8179a07a4181 (bug 1009306) for m6 and m7 android test failures on a CLOSED TREE
2014-06-30 12:31:07 +02:00
Chris Lord
8cc7040966
Bug 1009306 - Allow invalidation when a layer's sub-pixel scroll changes. r=roc
...
We #ifdef'd this out before the implementation of flexible scroll ranges,
but now there's no need for this and it ends up causing visible rendering
glitches.
2014-06-25 17:48:53 +01:00
Pranav Maddi
b5955c1208
Bug 1031395 - Remove a double assignment to "limit" to fix a minor warning found by scan-build, the LLVM/Clang static analyzer. r=ehsan
2014-06-27 10:02:00 +02:00
Mats Palmgren
3ffa9baecc
Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc
2014-06-28 10:13:13 +00:00
Phil Ringnalda
811c3783d4
Back out 5 changesets (bug 1028460, bug 1031444) for somehow breaking asmjscache/test/test_cachingBasic.html on Android 2.2
...
Backed out changeset 0b5918ec6521 (bug 1031444)
Backed out changeset 663ff18cd4a1 (bug 1028460)
Backed out changeset ae01b3919c8c (bug 1028460)
Backed out changeset 316c8dfeca9b (bug 1028460)
Backed out changeset e237b2c61ea2 (bug 1028460)
2014-06-28 22:01:28 -07:00
Mats Palmgren
4e879335f7
Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc
2014-06-28 10:13:13 +00:00
Morris Tseng
3dd291a28e
Bug 864595 - Provide a option which indicate to that offsets outside the frame box are allowed. [r=roc]
2014-06-27 13:58:57 -07:00
Jonathan Watt
0a412a04d6
Bug 1031055 - Get rid of the Thebes backed gfxContexts in FrameLayerBuilder.cpp, and get rid of gfxASurface::DumpAsDataURL. r=mattwoodrow
2014-06-27 12:19:40 +01:00
Jonathan Watt
deb2077580
Bug 986526 - Create helper functions to encode DrawTargets/SourceSurfaces to PNG/JPEG/BMP/ICO/etc. and save them, dump them, or copy them to the clipboard, either as binary or as data: URIs. r=mattwoodrow
2014-06-27 12:19:40 +01:00
Jonathan Watt
90194127fd
Bug 1030843 - Fix crash in nsNativeThemeCocoa::GetMinimumWidgetSize. r=roc
2014-06-27 10:19:00 +01:00
Brian Birtles
19d210c918
Bug 1010067 part 7 - Rename instances of ElementAnimationCollection; r=dbaron
2014-06-27 08:57:13 +09:00
Brian Birtles
d8a8a8df73
Bug 1010067 part 6 - Rename mozilla::css::CommonElementAnimationData to mozilla::ElementAnimationCollection; r=dbaron
2014-06-27 08:57:12 +09:00
Carsten "Tomcat" Book
8e86bf906b
Merge mozilla-central to mozilla-inbound
2014-06-26 15:51:31 +02:00
Carsten "Tomcat" Book
12e04d45a1
merge mozilla-inbound to mozilla-central a=merge
...
--HG--
extra : amend_source : 8afac23e33906916e7e6297e2307417e09fa27ae
2014-06-26 14:11:00 +02:00
Wes Kocher
0482a2f425
Merge m-c to b2g-inbound a=merge
2014-06-25 18:41:59 -07:00
kylma
fa8357c97b
Bug 1001582 - HasScrollgrab transitioned from private to public member, getter/setter added. r=kats
2014-06-25 19:16:27 -04:00
Timothy Nikkel
017b37e3d0
Bug 1030370. We should be looking at the layer data for the frame we are looping over in the loop, not the starting frame each time in FrameLayerBuilder::GetThebesLayerScaleForFrame. r=mattwoodrow
2014-06-25 22:55:20 -05:00
Mats Palmgren
8f40519109
Bug 1026641 - Put outline-style:auto rendering behind a pref and disable it by default. r=roc
2014-06-26 12:48:05 +00:00
Markus Stange
32deb51be9
Bug 1026450 - Don't let clipped animated transforms trigger layerization of elements outside the clip. r=roc
...
--HG--
extra : rebase_source : 2e260272a4d6aa4271d4e3231d7da3dd224b838c
2014-06-25 10:36:13 +02:00
Gijs Kruitbosch
69b99988f1
Bug 1030115 - fix apz.printtree caching to use gfxPrefs. r=kats, bas
2014-06-25 16:12:32 +01:00
Mats Palmgren
3e13115cf3
Bug 1025669 - part 0, Add BaseMargin::ApplySkipSides, remove nsIFrame::Apply*SkipSides, and change call sites to use the former. r=roc
2014-06-24 17:52:19 +00:00
Mats Palmgren
f640b8d77d
Bug 1025212 - Initialize 'last' to silence a static analyzer warning. r=dholbert
2014-06-24 17:52:18 +00:00
Brian Birtles
65c7f861cb
Bug 1010067 part 1 - Rename nsStyleAnimation::Value to mozilla::StyleAnimationValue; r=dbaron
...
This patch also moves the static methods defined on nsStyleAnimation so that
they are part of StyleAnimationValue class.
Renaming nsStyleAnimation.h to StyleAnimationValue.h is performed in a separate
patch to simplify the diff (since some tools may not handle file renames
elegantly).
2014-06-24 15:29:54 +09:00
Ed Morley
2a6e6feea8
Backed out changeset 5f35e9f7ad4a (bug 1026450) for B2G reftest failures; CLOSED TREE
...
--HG--
extra : amend_source : f9a3650794b0844becd8ff0ab6b284d727e463b3
2014-06-25 17:13:20 +01:00
Jonathan Watt
74a5f2859e
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
Markus Stange
6cebd31352
Bug 1026450 - Don't let clipped animated transforms trigger layerization of elements outside the clip. r=roc
2014-06-25 10:36:13 +02:00
Matt Woodrow
0f74b2d77a
Bug 1028216
- Backout 660cc013d558 (bug 952721) for causing b2g animation regressions.
2014-06-24 12:12:52 +12:00
Benoit Jacob
e1b7dbca34
Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron
2014-06-23 18:40:01 -04:00
Jonathan Watt
77c21d8bd6
Bug 1003505 - Fix printing of SVG images so that they're no longer pixelated. r=seth
2014-06-26 08:40:12 +01:00
Brian Birtles
a774eb935e
Bug 1028511 - Don't let refresh driver time go backwards when changing timers; r=vlad
...
--HG--
extra : rebase_source : c01f7a7ba8c82282e5c00a81f7b2dc598bf2defa
2014-06-26 09:17:50 +09:00
Jonathan Watt
b73bc43c94
Bug 1016680, part 5 - Report the memory used by PresShell::mCaret. r=dbaron
2014-06-22 23:02:59 +01:00
Ms2ger
bad4ca4d29
Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
...
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Ms2ger
451c7edf83
Backout revision 308e51eae10c for build bustage.
...
--HG--
rename : layout/style/CSSStyleSheet.cpp => layout/style/nsCSSStyleSheet.cpp
rename : layout/style/CSSStyleSheet.h => layout/style/nsCSSStyleSheet.h
2014-06-20 13:00:08 +02:00
Ms2ger
9fb7f507f0
Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
...
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Jonathan Watt
ef224664db
Bug 1027645 - Eliminate all nsRenderingContext::AppUnitsPerDevPixel() callers and all non-propagating nsRenderingContext::DeviceContext() callers. r=roc
2014-06-20 07:42:30 +01:00
Timothy Nikkel
fd868e10b6
Bug 977831. Store layer event regions on thebes layer data in appunits relative to the reference frame until we finalize the thebes layer and then convert to layer coordinates. r=roc
...
Event regions weren't in a workable state prior to this. They were already stored relative to the reference frame, but in layer pixels.
Inside inactive layer managers the scale is always 1 regardless of the scale on the containing thebes layer (which is the scale it will actually be drawn at), and so the event regions did not take into account scale in this situation.
Storing the regions in appunits relative to the reference frame means we can just transform to the new reference frame (if it is different) when passing event regions up and out of inactive layer managers. The proper scale will be applied when we apply the event regions to the layer.
2014-06-19 22:56:36 -05:00
Brian Birtles
06035eb4a8
Bug 1025709 part 13 - Simplify ComputeSuitableScaleForAnimation; r=heycam
...
Now that animations and transitions are largely treated alike, we can remove
some redundant code in the processing of transform animations in
ComputeSuitableScaleForAnimation.
2014-06-20 12:39:26 +09:00
Brian Birtles
5c1ec8e2f7
Bug 1025709 part 12 - Remove ElementTransitions; r=heycam
...
This patch replaces all references to ElementTransitions (now that it is empty)
with references to the base class, CommonElementAnimationData. It also takes the
opportunity to tidy up some of the call sites in nsLayoutUtils since they no
longer need to differentiate between animations and transitions.
2014-06-20 12:39:26 +09:00
Brian Birtles
a722f517b1
Bug 1025709 part 9 - Move heavy lifting of GetAnimationsForCompositor from ElementAnimations/ElementTransitions to base class; r=heycam
...
This patch still leaves ElementAnimations|
ElementTransitions::GetAnimationsForCompositor as shortcuts
for the method now defined on CommonElementAnimationData.
2014-06-20 12:39:25 +09:00
Brian Birtles
f4c56d0897
Bug 1025709 part 7 - Move HasAnimationOfProperty from ElementAnimations/ElementTransitions to base class; r=heycam
...
This patch moves HasAnimationOfProperty to CommonElementAnimationData. It also
takes the chance to start removing some redundancy from nsLayoutUtils
/ ActiveLayerTracker. Some of this should never have been added in the first
place and some could have been removed earlier on but while we're fixing up
HasAnimationOfProperty it seems like an appropriate time to fix up its call
sites too.
Also, since HasAnimationOrTransition actually returns an object, not a bool, we
this patch renames it to GetAnimationsOrTransitions.
2014-06-20 12:39:25 +09:00