Commit Graph

8518 Commits

Author SHA1 Message Date
Ehsan Akhgari
c2658af1f9 Bug 1155485 - Mark nsFrameManagerBase::mPresShell as MOZ_NON_OWNING_REF; r=roc 2015-04-18 19:08:21 -04:00
Ehsan Akhgari
4c5e8b93b9 Bug 1155478 - Use smart pointers for three members of nsIPresShell; r=roc 2015-04-18 19:08:18 -04:00
Sylvestre Ledru
0527739a94 Bug 1155766 - Fix a bad assertion r=jfkthame 2015-04-20 11:42:49 -07:00
Markus Stange
24d332c681 Bug 1156129 - Take border radius into account when calculating the bounds of border display items. r=roc 2015-04-19 20:48:37 -04:00
Xidorn Quan
56bbdffe9e Bug 1149009 - Fix line break suppression on whitespace not contained but wrapped in ruby boxes. r=dbaron 2015-04-20 15:04:09 +12:00
Ehsan Akhgari
6eb2e25f34 Bug 1156008 - Convert CapturingContentInfo::mContent to StaticRefPtr; r=roc 2015-04-19 16:44:04 -04:00
Seth Fowler
653b5b1a85 Bug 1145439 (Part 2) - Make test_scroll_event_ordering.html wait for rAF to unthrottle. r=roc 2015-04-21 09:44:43 -07:00
Seth Fowler
19622d34b7 Bug 1145439 (Part 1) - Throttle requestAnimationFrame for non-visible iframes. r=mstange,mchang 2015-04-21 09:44:40 -07:00
Carsten "Tomcat" Book
38459dc8d1 Merge mozilla-central to fx-team 2015-04-21 12:45:22 +02:00
Maksim Lebedev
35612e767d Bug 1153130 - Add test for prevent FireFox crashes when pointer events are enabled. r=smaug 2015-04-17 03:06:00 +02:00
Maksim Lebedev
d3d98a0e5e Bug 1153130 - Prevent FireFox crashes when pointer events are enabled. r=smaug 2015-04-13 06:22:00 +02:00
Nicolas Silva
51e181888b Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Carsten "Tomcat" Book
7094be4068 Backed out changeset 60bbc4230cd7 (bug 1085783) 2015-04-22 13:14:35 +02:00
Andrea Marchesini
b75af49c46 Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan 2015-04-22 08:29:22 +02:00
Phil Ringnalda
c9d2df1e8c Merge m-c to a CLOSED TREE m-i 2015-04-21 20:17:57 -07:00
Seth Fowler
a86b9425e6 Bug 1085783 (Part 1) - Snap both the fill and dest rects using UserToDeviceSnapped() when pixel snapping images. r=roc 2015-04-21 19:23:10 -07:00
Neil Deakin
3b7fec7dde Bug 1058712, e10s, support for copy image command, r=ehsan,mconley 2015-04-21 20:09:14 -04:00
Morris Tseng
a432f4cf9b Bug 1021499 - Enlarge touch/selection carets touch area. r=roc 2015-04-15 19:15:00 -04:00
Wes Kocher
73d4bb85f2 Merge m-c to inbound a=merge 2015-04-21 15:35:07 -07:00
Cameron McCormack
c74201d7cc Bug 1156988 - Update RestyleManager::{Change,Restyle}HintToString for recent changes. r=dbaron 2015-04-22 08:03:31 +10:00
Markus Stange
2e428d5753 Bug 1151346 - Back out the important part again because of bug 1151889. 2015-04-21 16:41:58 -04:00
Carsten "Tomcat" Book
f712fa1cba Backed out changeset 5ef9825777a2 (bug 1021499) 2015-04-17 13:14:13 +02:00
Morris Tseng
ec0835d293 Bug 1021499 - Enlarge touch/selection carets touch area. r=roc 2015-04-15 19:15:00 +02:00
Cameron McCormack
08b506279f Bug 1154149 - Remove nsPresContext arguments from a bunch of nsStyleSet methods. r=dbaron 2015-04-17 11:09:59 +10:00
Jonathan Kew
3e6ffd00f4 Bug 1152254 - Handle vertical text frames when clipping display list for drag image. r=smontagu 2015-04-08 11:36:05 +01:00
Timothy Nikkel
571ee57a11 Bug 1155025. Make the root layer on fennec have null scroll id with containerless scrolling. r=mstange
On Android we want the root xul document to get a null scroll id so that the root content document gets the first non-null scroll id.
2015-04-16 12:34:17 -05:00
Morris Tseng
ca7d4821a3 Bug 1147279 - Get correct translation when layer optimize away. r=roc 2015-04-14 22:39:00 +02:00
Ryan VanderMeulen
0e7e73dc54 Merge inbound to m-c. a=merge 2015-04-15 21:22:31 -04:00
Botond Ballo
f59f676e56 Bug 1152479 - Extract the implementations of layout-related nsIDOMWindowUtils APIs used by APZ into nsLayoutUtils. r=ehsan 2015-04-14 13:19:10 -04:00
peter chang
0bff759735 Bug 1144990 - Dump display items with class id and name, r=roc 2015-04-15 10:07:45 +08:00
peter chang
65efba80a9 Bug 1127170 - Add TYPE_RENDERS_NO_IMAGES for display item with transform type to bypass invalidation during image decode. r=mattwoodrow 2015-03-22 23:32:00 -04:00
Brian Birtles
977582d70a Bug 1153734 part 4 - Rename other uses of 'source' and 'source content'; r=jwatt
This patch also tightens up a one or two references to 'target effect' replacing
them with just 'effect'. This is because 'target effect' is longer and easily
confused with 'target element'. 'effect' should be sufficient. 'target element'
is a term from the Web Animations specification and in that context, simply
referring to the 'effect' would sound a little odd.
2015-04-15 08:48:21 +09:00
Brian Birtles
717246367d Bug 1153734 part 3 - Rename AnimationPlayer.source to AnimationPlayer.effect; r=smaug
There are still some other references to "source" in AnimationPlayer such as
HasInPlayerSource and UpdateSourceContent. These are renamed in a subsequent
patch (that doesn't require DOM peer review).
2015-04-15 08:48:21 +09:00
Brian Birtles
ec581c1cbf Bug 1153734 part 2 - Rename Animation to KeyframeEffectReadonly; r=smaug
We define KeyframeEffectReadonly in KeyframeEffect.cpp since Web Animations also
defines KeyframeEffect and when we come to implement that I expect we'll define
it in the same class, maybe even using the same object.

This patch also adds a few missing includes in places where
KeyframeEffectReadonly is used so that we're not just cargo-culting it in.
2015-04-15 08:48:21 +09:00
Cameron McCormack
c57a9da3cc Bug 1146101 - Call ClearCachedInheritedStyleDataOnDescendants on more style contexts that had structs swapped out from them. r=dbaron a=abillings 2015-04-15 08:13:45 +10:00
Jan Beich
bbdd306621 Bug 1151829 - Unbreak build on non-SPS platforms after bug 1093934. r=rbarker r=dholbert r=mstange 2015-04-14 19:38:47 +02:00
Maksim Lebedev
afcc0e6a7c Bug 979497 - Once DispatchPointerFromMouseOrTouch is called, aFrame can be deleted. r=smaug 2015-04-14 11:46:39 -04:00
Ying-Ruei Liang (KK)
5b075b3ea2 Bug 1143522 - Convert Layer::mClipRect to ParentLayerIntRect. r=botond
Change interface of getter/setter for mClipRect,
also necessary modification for codes that use these resources.

* * *
Bundle mUseClipRect and mClipRect as Maybe<ParentLayerIntRect> mClipRect
2015-04-11 22:03:00 -04:00
Ehsan Akhgari
e364a0b821 Bug 956530 follow-up: Fix the test failure on Windows 8 caused by the text box having a glowing outline as a result of being clicked on
Landed on a CLOSED TREE
2015-04-14 10:54:00 -04:00
Carsten "Tomcat" Book
41e2b6bdc7 Merge mozilla-central to mozilla-inbound 2015-04-14 16:15:02 +02:00
Ryan VanderMeulen
2250cf37e6 Merge inbound to m-c. a=merge 2015-04-14 10:06:03 -04:00
Ms2ger
82c2faeae3 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Ehsan Akhgari
a7e81d9f03 Bug 956530 - Clear the delayed caret data when clicking on a selected part of a text control if the focus event handler selects the control; r=roc 2015-04-14 08:29:11 -04:00
Mark Capella
6aed62cf32 Bug 1153076 - Add NS_MOUSE_MOZLONGTAP support in Fennec, r=kats, tylin 2015-04-13 22:33:02 -04:00
Olli Pettay
4a4811d6c1 Backout Bug 930793 because of talos regressions,r=backout 2015-04-13 19:02:27 +03:00
Kartikaya Gupta
c37cfee38b Bug 1148889 - Treat subclasses of scrollframes as animated geometry roots. r=mstange 2015-04-13 16:11:08 -04:00
Markus Stange
8bfcb8d3fa Bug 1141089 - Check that we're unsetting sDestroyedFrame correctly. r=roc 2015-04-10 17:34:28 -04:00
Markus Stange
60cee5ca65 Bug 1141089 - Turn these two assertions into release assertions. r=roc 2015-04-10 17:34:04 -04:00
Markus Stange
c0e9b77b0c Bug 1141089 - Use const nsTArray* in all the places where we don't change the array's contents. r=roc 2015-04-10 17:42:42 -04:00
Markus Stange
449e6cdad9 Bug 1141089 - Add a few more MOZ_RELEASE_ASSERT(mLayer) checks, just for fun. r=roc 2015-04-10 17:30:09 -04:00
Markus Stange
e498e3f148 Bug 1141089 - Remove unused DisplayItemData copy constructor. r=roc 2015-04-10 17:23:22 -04:00
Markus Stange
9889976b63 Bug 1141089 - Initialize DisplayItemData with a non-null mLayer, so that mLayer is non-null throughout the object's whole lifetime. r=roc 2015-04-10 17:11:04 -04:00
Botond Ballo
a32c4cd6c9 Bug 1039818 - Extract the implementation of nsIDOMWindowUtils::GetResolution into nsLayoutUtils. r=ehsan 2015-04-10 19:33:56 -04:00
David Anderson
12fce2feee Scrollbar thumbs can overlap scrollbar arrows during APZ scrolling. (bug 1152469, r=botond,mstange) 2015-04-12 23:03:02 -04:00
Olli Pettay
0ff0615774 Bug 930793 - Remove favor performance mode, r=avih,roc 2015-04-12 23:08:55 +03:00
Ryan VanderMeulen
7739e3103c Backed out changeset 3366d180e8ee (bug 1145439) for test_scroll_event_ordering.html failures. 2015-04-09 22:59:10 -04:00
Seth Fowler
64b07ec589 Bug 1145439 - Throttle requestAnimationFrame for non-visible iframes. r=mstange,mchang 2015-04-09 17:52:23 -07:00
Wes Kocher
4b185fe33a Backed out changeset 84ebfdd3c94c (bug 1151829) for windows build bustage CLOSED TREE 2015-04-09 13:40:50 -07:00
Jan Beich
25225f9727 Bug 1151829 - Unbreak build on non-SPS platforms after bug 1093934. r=rbarker 2015-04-07 17:26:00 -04:00
Kearwood (Kip) Gilbert
1621ba32cf Bug 1148219 - Improve reliability of the test_scroll_snapping.html mochitest. r=roc
- The test_scroll_snapping.html mochitest now waits up to 30 frames for
  scrolling to start before giving up and reporting a failure.
2015-04-06 13:32:00 +02:00
Cameron McCormack
749667bc35 Bug 1152023 - Null check root frame when marking frames dirty in response to a user font load. r=jdaggett 2015-04-08 13:01:38 +10:00
Seth Fowler
0237616678 Bug 1150774 (Part 2) - Use the correct units in nsDisplayImageContainer::ConfigureLayer and related code. r=botond 2015-04-07 18:55:28 -07:00
Seth Fowler
c6767a6dc0 Bug 1150774 (Part 1) - Add helpers to simplify using typed units in ConfigureLayer. r=botond 2015-04-07 18:55:28 -07:00
Wes Kocher
b6a325dd56 Backed out changeset b1ba9eec8e44 (bug 1148889) 2015-04-07 17:42:40 -07:00
Xidorn Quan
24a9de01e5 Bug 1141931 patch 10 - Revert to pass container size instead of only isize for bidi reordering. r=smontagu 2015-04-08 11:22:34 +12:00
Xidorn Quan
90588e8cc1 Bug 1141931 part 8 - Reorder ruby frames regarding their direction. r=jfkthame 2015-04-08 11:22:34 +12:00
Xidorn Quan
567ceee1c2 Bug 1141931 part 4 - Make bidi reordering always in frame order. r=jfkthame,smontagu 2015-04-08 11:22:34 +12:00
Xidorn Quan
2c09521f7d Bug 1141931 part 3 - Adjust some parameters of functions in nsBidiPresUtils. r=jfkthame
Includes two changes:
* aContainerSize of ReorderFrames, RepositionInlineFrames, RepositionFrame are changed to aContainerISize;
* the type of aContainuationStates in the functions above is changed to const pointer.
2015-04-08 11:22:34 +12:00
Wes Kocher
51cbd0f3e5 Backed out 10 changesets (bug 1141931) for mochitest-5 failures CLOSED TREE
Backed out changeset c90940067de6 (bug 1141931)
Backed out changeset 96b48288abab (bug 1141931)
Backed out changeset 87281c7ded34 (bug 1141931)
Backed out changeset 6a914ba0b8ec (bug 1141931)
Backed out changeset 9cfea55b5e95 (bug 1141931)
Backed out changeset f432612b6475 (bug 1141931)
Backed out changeset 48cf9568a4b1 (bug 1141931)
Backed out changeset f1ab848b3fa6 (bug 1141931)
Backed out changeset 8a3c71a3b525 (bug 1141931)
Backed out changeset 119d3c0fd0f6 (bug 1141931)
2015-04-07 14:23:57 -07:00
Kartikaya Gupta
7c70f1c49a Bug 1148889 - Treat subclasses of scrollframes as animated geometry roots. r=mstange 2015-04-07 16:53:41 -04:00
Xidorn Quan
4418fdc9a3 Bug 1141931 patch 10 - Revert to pass container size instead of only isize for bidi reordering. r=smontagu 2015-04-08 08:40:31 +12:00
Xidorn Quan
bdcc3e7be2 Bug 1141931 part 8 - Reorder ruby frames regarding their direction. r=jfkthame 2015-04-08 08:40:31 +12:00
Xidorn Quan
16becd9eac Bug 1141931 part 4 - Make bidi reordering always in frame order. r=jfkthame,smontagu 2015-04-08 08:40:31 +12:00
Xidorn Quan
71881d9074 Bug 1141931 part 3 - Adjust some parameters of functions in nsBidiPresUtils. r=jfkthame
Includes two changes:
* aContainerSize of ReorderFrames, RepositionInlineFrames, RepositionFrame are changed to aContainerISize;
* the type of aContainuationStates in the functions above is changed to const pointer.
2015-04-08 08:40:31 +12:00
Vladimir Vukicevic
67d9e9155a Bug 1151905; remove unnecessary gfxVR.h includes; r=ehsan 2015-04-07 12:39:09 -04:00
L. David Baron
3be90f57e0 Bug 1149848 patch 2 - Remove no-longer-needed flags to GetAnimationsForCompositor. r=birtles
This reverts all of bug 1109390 part 20 (except for a whitespace change
and a comment removal that patch 1 made irrelevant) and some of part 21.
2015-04-06 18:13:48 -07:00
Ryan VanderMeulen
eccfcb8a87 Backed out changeset 8882af540247 (bug 1029451) for intermittent timeouts in the newly-added test. 2015-04-06 11:22:00 -04:00
Tom Tromey
ddd9e95730 Bug 1029451 - Preserve mIsSynthesizedForTests on mouse events. r=ehsan 2015-04-03 08:17:00 -04:00
Markus Stange
db695ce17b Bug 1151346 - Make ActiveLayerTracker::IsOffsetOrMarginStyleAnimated respect CSS animations. r=roc 2015-04-05 22:53:51 -04:00
Markus Stange
094e47861d Bug 1151306 - Add a missing check during background color pulling. r=roc 2015-04-05 14:05:44 -04:00
Wes Kocher
53cbe34051 Backed out changeset b0de9cef013b (bug 1145439) for Gu orange 2015-04-03 14:11:11 -07:00
Mats Palmgren
3c1a3a7157 Bug 1150042 - Make nsLayoutUtils::DrawSingleUnscaledImage use CSSIntSize instead of unitless nsIntSize. r=dholbert 2015-04-03 19:48:12 +00:00
Daniel Holbert
e4d13d4630 Bug 1149222 part 2 - Make nsSVGImageFrame::PaintSVG use LayoutDeviceSize & LayoutDevicePixel::ToAppUnits, when setting up its dest-rect. r=mats 2015-04-03 19:48:12 +00:00
Mats Palmgren
3879e0afa3 Bug 1149222 part 1 - Make nsLayoutUtils::DrawBackgroundImage and SVGImageContext use CSSIntSize instead of unitless nsIntSize. r=dholbert 2015-04-03 19:48:12 +00:00
Mats Palmgren
5bab4f44d4 Bug 1149215 - Remove nsLayoutUtils::GetWholeImageDestination that use unitless nsIntSize. r=dholbert 2015-04-03 19:48:12 +00:00
Seth Fowler
a8cbe4b241 Bug 1145439 - Throttle requestAnimationFrame for non-visible iframes. r=mstange,mchang 2015-04-03 11:51:11 -07:00
Jan Beich
77b8f927e2 Bug 1145988 - Unbreak build on non-SPS platforms after bug 1129249. r=dholbert f=chiajung 2015-04-02 21:43:48 +02:00
Kartikaya Gupta
22d131535e Bug 1149260 - Guard against trying to draw a drag image with zero length. r=enndeakin 2015-04-02 20:45:50 -04:00
Markus Stange
ec83de78c3 Bug 1148855 - Rework how display items are assigned to PaintedLayers and make it work the same way with and without APZ. r=roc 2015-04-02 14:22:40 -04:00
Markus Stange
c2a5f153a7 Bug 1148855 - Intermediate state that unifies APZ and non-APZ layerization behavior somewhat. 2015-04-01 17:31:56 -04:00
Markus Stange
62b818c22f Bug 1148855 - Mark some ContainerState methods as const. r=roc 2015-03-25 18:08:56 -04:00
David Parks
8de2397da1 Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz) 2015-04-01 12:36:41 -07:00
Mike Hommey
ccd2a9b975 Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Brian Birtles
1041da2b17 Bug 1109390 part 21 - Reuse GetAnimationsForCompositor in nsLayoutUtils; r=jwatt 2015-04-01 12:23:24 +09:00
L. David Baron
42236287fa Bug 847287 patch 13 - Apply animations/transitions on the layer in the order that reflects how they override, rather than the opposite. r=birtles
This independently would have fixed some of the problems fixed in this
bug.  It would not have fixed them fully, though, since it would not
have prevented us from sending animations being covered up by !important
rules to the compositor.
2015-03-31 15:05:55 -07:00
L. David Baron
58f800f801 Bug 847287 patch 12 - Check mWinsInCascade for all callers of GetAnimationOfProperty/HasAnimationOfProperty. r=birtles
This patch (after stepping through the call graph) affects the following
places:
 * CommonAnimationManager::GetAnimationsForCompositor, which is used
   only by nsDisplayListBuilder::AddAnimationsAndTransitionsToLayer,
   which already checks the individual animations (so really no change)
 * AnimationPlayerCollection::CanThrottleAnimation
 * ActiveLayerTracker::IsStyleAnimated
 * nsLayoutUtils::HasAnimationsForCompositor
 * nsLayoutUtils::HasAnimations (which is used only to check whether we
   can make the 0-opacity optimization)
I believe it makes sense to change all of these locations (although in
the long term we want to throttle (or similar) more animations).

Without this patch, I believe we're forcing the creation of an opacity
layer because we think we have animations to send to it.
2015-03-31 15:05:55 -07:00
L. David Baron
222514f971 Bug 847287 patch 3 - Add assertions about consistency of the flags for animating on the compositor. r=birtles
These flags were added in patch 2.
2015-03-31 15:05:54 -07:00
Jonathan Watt
2e0360609c Bug 1145246, part 3 - Update layout code for the rename of Animatable.getAnimationPlayers() to Animatable.getAnimations(). r=birtles 2015-03-20 18:20:49 +00:00
Mike Hommey
4da5ed0b71 Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Bill McCloskey
061f09ba1e Back out bug 1075670 2015-03-30 20:13:07 -07:00
Xidorn Quan
bb141ab140 Bug 1146112 - Mark ruby pseudo frames as line participant in frame constructor. r=roc 2015-03-31 09:20:01 +11:00
Mats Palmgren
8852b5e235 Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc 2015-03-30 11:36:14 -04:00
Mats Palmgren
3eea69f457 Bug 1149037 - Make nsLayoutUtils::ComputeSizeForDrawing* take a CSSIntSize param instead of a unit-less nsIntSize. r=roc 2015-03-30 11:35:47 -04:00
Carsten "Tomcat" Book
abd1345059 Backed out changeset 513192eb7df4 (bug 1148971) for causing bc2 memory leaks 2015-03-30 15:04:09 +02:00
Carsten "Tomcat" Book
f23066ddcd Backed out changeset e507145a198c (bug 1149037) 2015-03-30 15:03:25 +02:00
Mats Palmgren
dc580c6829 Bug 1149037 - Make nsLayoutUtils::ComputeSizeForDrawing* take a CSSIntSize param instead of a unit-less nsIntSize. r=roc 2015-03-30 10:37:34 +00:00
Mats Palmgren
2268b8c0ad Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc 2015-03-30 10:37:33 +00:00
Mats Palmgren
5bd17a127b Bug 1148833 part 3 - Remove nsIFrame::WillReflow and add a non-virtual MarkInReflow method instead that sets NS_FRAME_IN_REFLOW. Call it at the start of Reflow(). r=roc 2015-03-29 22:38:40 +00:00
Nicolas Silva
e140a853f2 Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas 2015-03-29 16:59:15 +02:00
Nicolas Silva
eae4d10b4d Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Brian Birtles
6315d9d2bc Bug 1109390 part 18 - Rename AnimationPlayer::IsRunning to IsPlaying and reuse IsInPlay definition; r=jwatt
This patch renames the confusing IsRunning method since IsRunning() is *not*
the same as (PlayState() == AnimationPlayState::Running). It also removes
the old definition to make better re-use of PlayState() and IsInPlay().
2015-03-27 18:01:00 +09:00
Markus Stange
93fe05e2e2 Remove workaround for bug 748219, which seems to have been fixed in the meantime. 2015-03-23 02:17:37 -04:00
Mats Palmgren
e57b30ccac Bug 1144905 - Clean up SortByZOrder code and comments since it now assumes the list is already in content document order. r=roc 2015-03-28 20:50:35 +00:00
Seth Fowler
4b808baa62 Bug 1068881 - Inflate the dest rect to at least one device pixel when computing the optimal image size for drawing. r=roc 2015-03-27 20:07:31 -07:00
Wes Kocher
7549c12aa0 Merge m-c to inbound a=merge 2015-03-27 17:31:19 -07:00
Ryan VanderMeulen
ca58b815ec Merge m-c to fx-team. a=merge 2015-03-27 12:21:41 -04:00
Brian Birtles
f49ade3807 Bug 1109390 part 7 - Rename PendingPlayerTracker's Start* methods to Trigger*; r=jwatt
These methods will soon be used to start animations that are waiting to start
and also to finish pausing animations that are waiting to pause. As a result
we rename them to TriggerXXX since that's a bit more generic.

There are still references to StartXXX within PendingPlayerTracker. These will
be updated in a subsequent patch once we have the appropriate methods available
on AnimationPlayer to call.
2015-03-27 15:56:45 +09:00
Wes Kocher
dd8a8fcae7 Merge m-c to inbound a=merge CLOSED TREE 2015-03-26 17:46:35 -07:00
Xidorn Quan
5ff9ef3b1e Bug 1144607 part 1 - Remove CounterStyleManager::BuildCounterStyle for anonymous counter styles. r=dbaron 2015-03-27 09:48:10 +11:00
Cameron McCormack
5c3e7f784f Bug 1120300 - Export WritingModes.h as mozilla/WritingModes.h. r=jfkthame 2015-03-26 18:29:31 +11:00
Seth Fowler
45dfda8bce Backed out changeset c035d63ade9d (bug 1068881) 2015-03-26 15:45:00 -07:00
Jeremy Chen
a9bfb0107b Bug 1140625 - Part 5: Move Flush_Layout to the right place in SelectionCarets::UpdateSelectionCarets. r=roc 2015-03-24 03:34:00 -04:00
Jeremy Chen
981eff6474 Bug 1140625 - Part 4: Fix scroll_selection_into_view test to make its function remain. r=roc 2015-03-24 01:21:00 -04:00
Tom Tromey
018eebcd63 Bug 1144820 - Use rvalue reference in AddProfileTimelineMarker. r=smaug 2015-03-27 08:41:00 -04:00
Seth Fowler
5b34898f2c Bug 1147707 - Intersect correctly in DisplayItemClip::ApplyNonRoundedIntersection. r=roc 2015-03-26 15:39:52 -07:00
Seth Fowler
93db772833 Bug 1068881 - Inflate the dest rect to at least one device pixel when computing the optimal image size for drawing. r=roc 2015-03-26 15:39:37 -07:00
Seth Fowler
e1c6b2f450 Bug 1128467 - Take scale factors into account when computing image size even if we aren't snapping. r=roc 2015-03-25 18:12:58 -07:00
Timothy Nikkel
93dfb4b89f Bug 1144951. Rename ConvertAppUnits to ScaleToOtherAppUnits. r=mats 2015-03-26 16:44:40 -05:00
Bill McCloskey
fcd90b7e73 Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz) 2015-03-26 14:17:29 -07:00
Mats Palmgren
2b9429936f Bug 1107786 - part 2, [css-grid] Implement a DisplayList sorting function that sorts by CSS 'order'. r=dholbert 2015-03-26 18:57:39 +00:00
Kearwood Gilbert
8ba74ba11e Bug 969250 - Part 2: Tests for scroll snapping for scrollbars (v2 Patch), r=roc relanding on a CLOSED TREE 2014-02-17 15:47:29 +13:00
Wes Kocher
bca2de3663 Backed out 2 changesets (bug 969250) on the other theory that it broke lots of tests, forcing a prolonged CLOSED TREE
Backed out changeset 3c1005c81e52 (bug 969250)
Backed out changeset 3ed9d5170d13 (bug 969250)
2015-03-25 14:46:47 -07:00
Kearwood Gilbert
caf6f41d61 Bug 969250 - Part 2: Tests for scroll snapping for scrollbars (v2 Patch), r=roc 2014-02-17 15:47:29 +13:00
Kartikaya Gupta
11f7426044 Bug 1143665 - Remove the ambiguous scroll position being passed around in scroll started/stop notifications. r=roc,ehsan 2015-03-25 07:52:37 -04:00
David Anderson
37a72c0133 Clamp APZ wheel event deltas to the size of a page scroll. (bug 1146676, r=kats) 2015-03-24 14:59:41 -07:00
Mason Chang
2429563580 Bug 1145327 Part 1: Skip refresh driver ticks if the timestamp is in the past. r=birtles,vlad 2015-03-24 14:28:34 -07:00
Kearwood (Kip) Gilbert
dbbdba9a93 Bug 1035611 - Part 1: Updated Matrix4x4::ProjectRectBounds to properly handle infinite values when untransformed rects cross the w=0 plane. r=mattwoodrow
- Added specialized rect clipping functionality to Matrix4x4::ProjectRectBounds
  so we don't have to return infinite values when rects cross the w=0 plane
  in homogenous coordinate space.
- Updated callsites of ProjectRectBounds to pass a clipping rect that is
  appropriate for the units that are returned.
2015-03-13 16:42:00 -04:00
Kushan Joshi
a3c4b7a023 Bug 1101627 - Add touch action regions. r=kats 2015-03-24 09:13:24 -04:00
David Anderson
06281c80fb Fix max texture size handling in displayport clamping. (bug 1135907 follow-up, r=kats) 2015-03-23 12:34:21 -07:00
David Anderson
e82a9bed2b End APZ wheel transactions when the mouse moves out of frame. (bug 1142866 part 2, r=kats,botond) 2015-03-22 00:42:25 -07:00
Ehsan Akhgari
428832061e Bug 1142360 - Move the mochitests for bugs 441782, 467672 and 570378 to the reftest framework; r=dbaron
This will help fix an intermittent test failure as explained in bug
1142360 comment 301.  It also has the additional benefit of making
things faster overall, since the reflows of the huge mochitest test
runner page every time the bidi.numeral pref changes are very expensive,
and such overhead doesn't exist in the reftest framework.
2015-03-21 12:37:01 -04:00
Ehsan Akhgari
33bb32f549 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Wes Kocher
a694cc39ce Merge m-c to inbound a=merge CLOSED TREE 2015-03-20 18:01:17 -07:00
Jeremy Chen
2269597704 Bug 1140994 - Notify gaia to hide selection bubble when scrolling without APZ. r=roc 2015-03-16 22:09:00 -04:00
Xidorn Quan
cbd48e237a Bug 1143535 - Fix condition of ruby leading/trailing whitespace trimming. r=bz a=kwierso 2015-03-20 09:45:41 +11:00
Carsten "Tomcat" Book
69572ffb44 Backed out changeset cb73c395a78d (bug 1135907) for crashtest failures due to assertions 2015-03-19 10:40:42 +01:00
David Anderson
123c1ead08 Fix max texture size handling in displayport clamping. (bug 1135907 follow-up, r=kats) 2015-03-17 14:04:36 -07:00
Morris Tseng
e8f401d691 Bug 1143139 - Cancel all timer when SelectionCarets are terminated. r=roc 2015-03-17 21:31:00 +01:00
92472cd78a Bug 1120705 - Part 2: Tests (v2 Patch), r=roc
- Ensure that the scrollbar button scrolling is limited
  by the page size, to maintain context when scrolling
  small scroll frames.
2015-03-18 18:36:00 +01:00
Botond Ballo
824de31a1b Bug 1043013 - Introduce IntRegionTyped. r=jrmuizel 2015-03-16 13:42:15 -04:00
Carsten "Tomcat" Book
6e003c58ac Backed out 7 changesets (bug 1125455) for test failures in m1 test_animation-player-ready.html on a CLOSED TREE
Backed out changeset 8a316064caff (bug 1125455)
Backed out changeset ad326dbcbd03 (bug 1125455)
Backed out changeset 83dab9578e23 (bug 1125455)
Backed out changeset 5bd86c20cd02 (bug 1125455)
Backed out changeset 751177025dcb (bug 1125455)
Backed out changeset f60c5b4adf84 (bug 1125455)
Backed out changeset 326ef9a86c85 (bug 1125455)
2015-03-18 16:32:54 +01:00
Ting-Yu Lin
8216844226 Bug 1140238 - Part 3: Clear maintain selection when dragging caret. r=mats
After double-clicking to select a word on browser, we cannot drag caret
to change the selection within a word. We should clear the maintained
selection.
2015-03-17 00:57:00 -04:00
Ting-Yu Lin
eb69b226db Bug 1140238 - Part 2: Adjust ranges after changing selection direction. r=mats
When dragging the second caret (eDirNext) over non-selectable elements,
the last range is not generated. Therefore when dragging the first
caret, we will change the selection direction to eDirPrevious, the last
range will be excluded by AutoPrepareFocusRange.

We add a new function to adjust generated bit and anchor focus range
after changing selection direction.
2015-03-18 03:26:00 -04:00
Ting-Yu Lin
f097822389 Bug 1140238 - Part 1: Add a test to drag first caret over non-selectable. r=automatedtester
The original test had dragged the second SelectionCaret over
non-selectable elements. After that, we should further drag the first
SelectionCaret over non-selectable elements, and confirm that the
selection ranges are correct.
2015-03-10 20:40:00 -04:00
L. David Baron
3015b61e60 Bug 1125455 patch 7 - For compositor-thread application of transitions, don't apply transitions when animations are also running. r=birtles
I've verified locally that this patch (not others in this series) fixes
the test failures that match the test changes in this patch.
2015-03-18 07:35:30 -07:00
L. David Baron
7d9129d104 Bug 1125455 patch 6 - Only search the properties list of the animation once when adding animations to the compositor. r=birtles
This removes the duplication where AddAnimationsForProperty calls
HasAnimationOfProperty which goes over the list once, and then
AddAnimationForProperty searches the list again and skips all but the
item found before.

It also makes it easier, in patch 7, to perform additional tests on the
item that we found.
2015-03-18 07:35:30 -07:00
Avi Halachmi
9d2d05c1d5 bug 1142079: disable refresh driver telemetry on Android. r=froydnj 2015-03-18 08:59:01 +02:00
Markus Stange
46e2d15dbf Bug 1144307 - Destroy scroll info layer items when we're done with them. r=tn 2015-03-17 22:04:33 -04:00
Seth Fowler
a6c30c7c5f Bug 1125055 - Sync decode layerized images if necessary. r=roc,tn 2015-03-17 19:40:16 -07:00
Seth Fowler
8a1d35bf88 Bug 1143506 - Give up on sync decoding if we get DrawResult::BAD_IMAGE. r=tn 2015-03-17 13:56:49 -07:00
Xidorn Quan
2de2f0c18e Bug 1143558 part 1 - Fix line break suppression when newline is significant. r=roc 2015-03-17 19:10:15 +11:00
dvander@alliedmods.net
d560040e6d Don't expand displayports beyond the maximum texture size. (bug 1135907, r=kats) 2015-03-16 22:59:29 -07:00
Markus Stange
86b6ea312f Bug 1141595 - Make scroll info display item hoisting work after bug 913443. r=tn 2015-03-16 18:37:04 -04:00
Markus Stange
620446961e Bug 1141089 - Add some release assertions to gather more data. r=roc 2015-03-16 16:04:00 -04:00
Botond Ballo
b7b1daa972 Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow 2015-03-06 18:07:59 -05:00
Jeff Muizelaar
d0961738de Bug 1143789. Remove unnecessary cast to BasicLayerManager. r=mstange 2015-03-16 14:19:32 -04:00
Kartikaya Gupta
acab963d10 Bug 962594 - Don't build CSS animations for elements that are in a display:none subtree. r=heycam 2015-03-15 20:28:49 -04:00
L. David Baron
f5b9d0a204 Bug 1142360 - Make bidi_numeral_test.js use assertSnapshots rather than using compareSnapshots directly so that it dumps images on failure. r=ehsan
Note that this adds a parameter to the callback function so that we can
keep track of which canvas is for the test and which is for the
reference; previously we didn't care.

It also puts testfile and reffile in local variables so that they can be
reused, and then appends the extra bidi numeral information to reffile
when calling assertSnapshots so that the messages contain the same (or
more) data as before.
2015-03-13 22:24:10 -07:00
Botond Ballo
30ef0a80a0 Bug 1139464 - In GetNearestScrollableFrame(), associate the root APZC with the root scroll frame of the root document (whether chrome or content), not the root content document. r=kats,tn 2015-03-11 17:10:15 -04:00
Botond Ballo
8d53c88caa Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats 2015-03-06 13:54:10 -05:00
Botond Ballo
46d1e4aa8c Bug 1036967 - Introduce ScaleFactors2D. r=kats,Bas 2015-03-06 13:53:47 -05:00
Jim Mathies
13528aa927 Bug 1082510 - When we detect a chrome popup at the current event coordinates and remote content has the mouse captured, release capture. r=Enn 2015-03-12 14:32:20 -05:00
Robert O'Callahan
c12182dad4 Bug 69787. Implement MouseEvent.offsetX/Y. r=mats,smaug 2015-03-14 00:50:10 +13:00
Jonathan Griffin
84011a87cc Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Markus Stange
02b07f6efa Bug 1142211 - Add layerization testing mechanisms to reftest. r=roc
This adds support for class="reftest-opaque-layer" and for
reftest-assigned-layer="some-layer-name" to the reftest harness.

From reftest/README.txt:

Opaque Layer Tests: class="reftest-opaque-layer"
================================================

If an element should be assigned to a PaintedLayer that's opaque, set the class
"reftest-opaque-layer" on it. This checks whether the layer is opaque during
the last paint of the test, and it works whether your test is an invalidation
test or not. In order to pass the test, the element has to have a primary
frame, and that frame's display items must all be assigned to a single painted
layer and no other layers, so it can't be used on elements that create stacking
contexts (active or inactive).

Layerization Tests: reftest-assigned-layer="layer-name"
=======================================================

If two elements should be assigned to the same PaintedLayer, choose any string
value as the layer name and set the attribute reftest-assigned-layer="yourname"
on both elements. Reftest will check whether all elements with the same
reftest-assigned-layer value share the same layer. It will also test whether
elements with different reftest-assigned-layer values are assigned to different
layers.
The same restrictions as with class="reftest-opaque-layer" apply: All elements
must have a primary frame, and that frame's display items must all be assigned
to the same PaintedLayer and no other layers. If these requirements are not
met, the test will fail.
2015-03-11 14:51:59 -04:00
Markus Stange
458ad738ab Bug 1141281 - Don't put empty Info: lines into the layers dump. r=BenWa 2015-03-09 00:41:11 -04:00
Markus Stange
26d3fa6b86 Bug 1141408 - Don't include the display item's memory address in the profile label. r=BenWa 2015-03-07 18:40:03 -05:00
Robert O'Callahan
ada6918a8a Bug 1125767. Clarify aContextFrame parameter to nsStylePosition::IsFixedPosContainingBlock and nsStylePosition::HasTransform and make nsCSSFrameConstructor actually honor it. r=mats 2015-03-11 00:18:49 +13:00
Robert O'Callahan
315ccebd6d Bug 1125767. Centralize code into nsStylePosition::IsFixedPosContainingBlock. r=mats
Also renames IsPositioned to IsAbsPosContainingBlock.
2015-03-12 16:21:01 +13:00
dvander@alliedmods.net
b106231552 Don't use APZ for selection carets on Desktop. (bug 1141855, r=kats) 2015-03-11 12:29:06 -07:00
David Anderson
20bb991890 Backed out changeset de19c60e56bd 2015-03-11 12:28:28 -07:00
David Anderson
27005afac7 Don't use APZ for selection carets on Desktop. (bug 1141855, r=kats) 2015-03-11 12:26:30 -07:00
Ethan Lin
1e698c72b1 Bug 1141926 - Check nsCaret visibility when NotifySelectionChanged. r=roc 2015-03-10 23:01:00 -04:00
Carsten "Tomcat" Book
441ec5e061 Backed out changeset 2550379cff3c (bug 969250) 2015-03-11 10:33:01 +01:00
chiajung hung
4632d38753 Bug 1129249 - Add a "restyle" feature to profiler and split the style label in Cleopatra based on the restyleSource, r=dholbert,mstange 2015-03-19 02:19:00 +01:00
Xidorn Quan
b95ba1ce10 Backout a6dbd23da598 (bug 1139283) since it is currently not needed. 2015-03-20 15:12:17 +11:00
L. David Baron
ee53c7fedc Bug 1125455 patch 7 - For compositor-thread application of transitions, don't apply transitions when animations are also running. r=birtles
I've verified locally that this patch (not others in this series) fixes
the test failures that match the test changes in this patch.
2015-03-19 21:10:00 -07:00
L. David Baron
884f617672 Bug 1125455 patch 6 - Only search the properties list of the animation once when adding animations to the compositor. r=birtles
This removes the duplication where AddAnimationsForProperty calls
HasAnimationOfProperty which goes over the list once, and then
AddAnimationForProperty searches the list again and skips all but the
item found before.

It also makes it easier, in patch 7, to perform additional tests on the
item that we found.
2015-03-19 21:10:00 -07:00
Kearwood Gilbert
dfb04afbed Bug 969250 - Part 2: Tests for scroll snapping for scrollbars. r=roc 2014-02-17 15:47:29 +13:00
Xidorn Quan
0e0bdaa1f6 Bug 1140264 part 3 - Rename IsInlineDescendantOfRuby to ShouldSuppressLineBreak and exclude rbc/rtc from it. r=dbaron 2015-03-11 10:28:21 +11:00
Ehsan Akhgari
3005fdd616 Bug 922977 - Request a longer timeout when running test_reftests_with_caret.html 2015-03-10 12:55:30 -04:00
Jonathan Kew
8be297ccb3 Bug 1138495 - pt 3 - Compute font inflation based on inline-axis dimensions rather than always using physical width. r=smontagu 2015-03-10 14:28:23 +00:00
Jonathan Kew
e4cb0d1374 Bug 1138495 - pt 1 - Rename NS_FRAME_IN_CONSTRAINED_HEIGHT flag to NS_FRAME_IN_CONSTRAINED_BSIZE, and set it appropriately according to writing mode. r=smontagu 2015-03-10 14:28:23 +00:00
Kartikaya Gupta
050bd07ad1 Bug 1137267 - Remove unneeded flags to track touch listeners and touch caret. r=smaug,dvander,botond 2015-03-10 09:29:25 -04:00
Kartikaya Gupta
dcb00c1088 Bug 1137267 - Enable event-regions automatically when APZ is enabled, and allow the APZ code to assume event-regions are enabled always. r=botond,tn 2015-03-10 09:29:19 -04:00
Milan Sreckovic
50350de860 Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange 2015-03-09 15:48:20 -04:00
John Daggett
64be187e33 Bug 1140946 - tweak fall-through for ex/ch restyle on font load. r=dbaron 2015-03-10 13:55:11 +09:00
Mats Palmgren
366eac5746 Bug 1140579 - Additional tests and code comment update. 2015-03-09 17:29:00 +00:00
Xidorn Quan
22877723df Bug 1139283 - Move some properties from nsStyleDisplay to nsStylePosition. r=dbaron
The moved properties are:
* clip
* transform-style
* transform-origin
* backface-visibility
* perspective
* perspective-origin
* will-change
2015-03-08 18:43:22 +11:00
Robert Longson
c9163ea891 Bug 1140080 - ensure we only create stop frames for gradients. r=dholbert 2015-03-08 06:49:33 +00:00
Mats Palmgren
bec0c236be Bug 1140579 - Make <legend>s have a legend frame when nearest ancestor frame is a fieldset frame. r=roc
IOW, drop the requirement that the parent *content* is a <fieldset>,
thus allowing a <legend> to become the fieldset legend also when it's
wrapped in one or more nodes that are styled with display:contents.
2015-03-07 14:53:46 +00:00
Mats Palmgren
dca32a4929 Bug 1140579 - (backout rev 27ac269bb796 b/c wrong bug number in commit message) 2015-03-07 14:53:45 +00:00
Mats Palmgren
d4d21afdfe Bug 1140198 - display:contents on the root element (but not else-where) should compute to 'block'. r=roc 2015-03-07 14:35:02 +00:00
Mats Palmgren
975d0ba564 Bug 1140198 - Make <legend>s have a legend frame when nearest ancestor frame is a fieldset frame. r=roc
IOW, drop the requirement that the parent *content* is a <fieldset>,
thus allowing a <legend> to become the fieldset legend also when it's
wrapped in one or more nodes that are styled with display:contents.
2015-03-07 14:35:01 +00:00
Mats Palmgren
ee8a81a007 Bug 1140160 - Handle insertions into a <fieldset> child with display:contents correctly. r=roc 2015-03-07 14:35:01 +00:00
Robert O'Callahan
e92d7a866c Bug 1082249. Invalidate background-attachment:fixed table-part backgrounds when scrolled. r=mattwoodrow 2015-03-05 00:02:14 +13:00
dvander@alliedmods.net
3564b8945d Don't async scroll overflowed single-line text boxes in APZ. (bug 1126090 part 6, r=botond) 2015-03-06 14:26:59 -08:00
Botond Ballo
4c2cf92a71 Bug 914666 - Exclude the frame borders from the composition bounds. r=tn 2015-02-25 17:08:40 -05:00
John Daggett
649cc83627 Bug 935862 p3 - implement selective reflow for downloadable fonts. r=heycam 2015-03-06 17:44:23 +09:00
John Daggett
facc85116e Bug 935862 p1 - add flag for ex/ch unit usage. r=heycam 2015-03-06 17:44:14 +09:00
Bill McCloskey
6b664501ab Bug 1129223 - Remove local mozAfterRemotePaint events (r=smaug) 2015-03-05 22:03:23 -08:00
Miranda Emery
02d84af655 Bug 945584: Part 9 - Tests for scroll snapping (v4 Patch) r=roc 2014-02-04 14:54:23 +13:00
Kearwood (Kip) Gilbert
957ced20f0 Bug 945584: Part 6 - Implementation of scroll snapping (v10 Patch), r=roc, r=kats
- Implemented CSS scroll snapping (http://dev.w3.org/csswg/css-snappoints/)
2015-02-19 15:53:30 -08:00
Kearwood (Kip) Gilbert
c716b3ce2c Bug 945584: Part 3 - Enable cancellation of OSX synthesized mousewheel scrolling events (v2 Patch),r=roc
- Mouse wheel events synthesized by OSX for momentum scrolling can now
  be interrupted by DOM triggered and CSS scroll snapping triggered scroll
  events for consistent behavior with the scrolling and fling gestures
  in the APZC.
2014-02-04 14:54:22 +13:00
Kearwood (Kip) Gilbert
e60a54601c Bug 945584: Part 2 - Add CSS scroll snapping attributes to ScrollbarStyles (v10 Patch),r=mstange
- ScrollbarStyles now carries additional variables to support new
  CSS scroll snapping attributes:
  - scroll-snap-type / scroll-snap-type-x / scroll-snap-type-y
  - scroll-snap-points-x / scroll-snap-points-y
  - scroll-snap-destination
  - (scroll-snap-coordinate does not apply to the scroll container)
- Simplified the constructor and operator== for ScrollbarStyles.
2014-02-04 14:54:22 +13:00
Ehsan Akhgari
266806168c Bug 1097242 - Make sure contenteditable -moz-user-select styles can be overridden by web pages; r=dbaron 2015-03-05 09:55:37 -05:00
Ehsan Akhgari
b06e1e1f4b Bug 1127140 - Run the tests for bug 989012 with the touch caret disabled 2015-03-05 09:53:22 -05:00
Jeremy Chen
dbfe14633a Bug 1138839 - Part2 - Fix naming issue in marionette test for selection carets. r=automatedtester 2015-03-03 02:03:00 +01:00
Jeremy Chen
cf31e9da1a Bug 1138839 - Part1 - Marionette test for selecting text inside an iframe. r=automatedtester 2015-03-03 01:58:00 +01:00
Markus Stange
60aa1656ae Bug 913443 - Remove duplicated argument variables. r=roc 2015-03-04 12:08:28 -05:00
Markus Stange
ab50ec247d Bug 913443 - Recycle PaintedLayers as soon as possible. r=roc
This means layers are assigned bottom-to-top.
2015-03-04 00:18:47 -05:00
Markus Stange
8b9c146165 Bug 913443 - When determining the layer to recycle, only consider layers that have display items in common with the layer we need. r=roc 2015-03-04 00:21:00 -05:00
Markus Stange
08cd6f5eac Bug 913443 - Delay PaintedLayer recycling until PopPaintedLayerData(). r=roc
Once we're smarter about recycling the right layer, we can't decide on a layer
as soon as we encounter its first display item. We might need to have to look
at all of the assigned display items. This change makes that requirement
explicit.
2015-03-03 21:32:08 -05:00
Markus Stange
de4601141f Bug 913443 - Add a display item buffer for PaintedLayerData so that we can assign items without needing to know the actual Layer. r=roc 2015-03-04 00:21:55 -05:00
Markus Stange
cd045a4b5e Bug 913443 - Change the order of these calls. r=roc
The calls above don't need access to the PaintedLayer, but the ones this change
is moving down do. This change just makes it more obvious that we're free to
move the calls to an even later point.
2015-03-03 17:21:42 -05:00
Markus Stange
a62ad81d88 Bug 913443 - Move IsWidgetLayerManager() check out of UpdateCommonClipCount. r=roc
UpdateCommonClipCount accesses the PaintedLayerData's mLayer field in order to
get the layer manager. We want to be able to call UpdateCommonClipCount when
mLayer is null.
2015-03-03 17:00:55 -05:00
Markus Stange
89e4ac2c1e Bug 913443 - Remove unused aItemVisibleRect argument. r=roc 2015-03-03 16:57:30 -05:00
Markus Stange
313c6c3469 Bug 913443 - Break CreateOrRecyclePaintedLayer up even more. r=roc 2015-03-02 19:25:13 -05:00
Markus Stange
6cfa76525a Bug 913443 - Extract layer hint calculation. r=roc 2015-03-02 19:24:18 -05:00
Markus Stange
3e610f145e Bug 913443 - Break up CreateOrRecyclePaintedLayer into more parts. r=roc 2015-03-02 18:43:58 -05:00
Markus Stange
12bd1db1fe Bug 913443 - Remove some #ifdefs. r=roc
This function will be split up into more functions, and carrying along the
#ifdefs throughout those would be a pain.
2015-03-02 18:29:12 -05:00
Markus Stange
c6051df741 Bug 913443 - Remove mention of the word ThebesLayer in a comment. r=roc 2015-03-02 18:19:12 -05:00
Cameron McCormack
dedf697b56 Bug 1136010 - Don't coalesce style contexts added to RestyleManager::mContextsToClear. r=dbaron 2015-03-04 18:06:29 +11:00
Chris Manchester
2633d459e9 Bug 1109183 - Fix imports of the marionette client and remove spurious entry from sys.path provided by mach. r=ahal 2015-03-03 17:37:19 -08:00
Carsten "Tomcat" Book
26c708e1c8 Backed out changeset bc9e6089b8e1 (bug 1136010) for Android 4.0 Assertions 2015-03-04 13:28:31 +01:00
Cameron McCormack
0a792d4a9c Bug 1136010 - Don't coalesce style contexts added to RestyleManager::mContextsToClear. r=dbaron 2015-03-04 21:57:46 +11:00
Carsten "Tomcat" Book
1012bbdc9a Backed out changeset 4916ccff311d (bug 1135907) for crashtest failures 2015-03-04 08:41:06 +01:00
Cameron McCormack
b4811e3469 Bug 1137031 - Do not stop restyling when TryStartingTransitiosn gives us a new style context. r=dbaron
It is not correct to stop restyling by leaving the old style context on
the frame and returning eRestyleResult_Stop when TryStartingTransition
provides a new, without-animations style context.  This is at least
because the new new style context could have different styles from the
old new style context.
2015-03-04 16:08:00 +11:00
David Anderson
abd5d9cb35 Clamp displayports to the maximum texture size. (bug 1135907, r=kats,tn) 2015-03-03 11:14:18 -08:00
L. David Baron
f2fc1a4f3c Bug 1139180 - Add BUG_COMPONENT metadata to moz.build for files in layout/. r=roc 2015-03-03 17:03:19 -08:00
Mason Chang
b35b505222 Bug 1128690 - Ensure Talos Performance Tests still work with silk enabled. r=mstange 2015-03-03 08:14:22 -08:00
Anish
6fbd7796a6 Bug 1135091 - convert remaining SpecialPowers.setBoolPref to pushPrefEnv, p=anishchandran94@gmail.com, r=jmaher, mwargers 2015-03-03 08:46:35 -05:00
Boris Zbarsky
0f4dc5017f Bug 1135764. Make sure XSLT transform results have a document timeline so things like transitions will work. r=smaug 2015-03-03 07:12:00 -05:00
Andrea Marchesini
491e547893 Bug 1134280 - Get rid of Tag() - patch 2.6 - layout/base and layout/form - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:09:00 +00:00
Andrea Marchesini
454d9140a2 Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
pchang
b9cb47edd5 Bug 1137109 move the displaylist tracing inside nsViewManager::ProcessPendingUpdates, r=benwa, mattwoodrow 2015-03-03 18:01:16 +08:00
Jeremy Chen
c2f2fbd948 Bug 1136567 - Marionette test for selection carets' positions after changing orientation of device. r=Automatedtester 2015-03-01 22:45:00 +01:00
Xidorn Quan
aad16695da Bug 1138527 part 1 - Make ruby annotations have the same font inflation as its containing ruby frame. r=roc 2015-03-03 16:06:36 +11:00
Jim Mathies
392fa679ea bug 1127794 - With remote content calculate and store plugin geometry updates prior to the end of the shadow layer transaction. r=roc 2015-03-02 05:01:58 -06:00
Botond Ballo
626aab33fa Bug 1136914 - Don't lose scale from parent document when descending into subdocument. r=tn 2015-02-27 15:36:31 -05:00