Граф коммитов

13787 Коммитов

Автор SHA1 Сообщение Дата
Botond Ballo 353b27bbd9 Bug 1039818 - Extract the implementation of nsIDOMWindowUtils::GetResolution into nsLayoutUtils. r=ehsan 2015-04-10 19:33:56 -04:00
David Anderson e8a7d33638 Scrollbar thumbs can overlap scrollbar arrows during APZ scrolling. (bug 1152469, r=botond,mstange) 2015-04-12 23:03:02 -04:00
Olli Pettay eb314fb48f Bug 930793 - Remove favor performance mode, r=avih,roc
--HG--
extra : rebase_source : a112b660baa240afd5f0022cd869c96b59418789
2015-04-12 23:08:55 +03:00
Ryan VanderMeulen a59888777c Backed out changeset 3366d180e8ee (bug 1145439) for test_scroll_event_ordering.html failures. 2015-04-09 22:59:10 -04:00
Seth Fowler c432df0af0 Bug 1145439 - Throttle requestAnimationFrame for non-visible iframes. r=mstange,mchang 2015-04-09 17:52:23 -07:00
Wes Kocher 7c4595242e Backed out changeset 84ebfdd3c94c (bug 1151829) for windows build bustage CLOSED TREE 2015-04-09 13:40:50 -07:00
Jan Beich eb62c291f5 Bug 1151829 - Unbreak build on non-SPS platforms after bug 1093934. r=rbarker 2015-04-07 17:26:00 -04:00
Kearwood (Kip) Gilbert f7ef919657 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 895c5552ec 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 ea22de2fd8 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 d1dffb1a14 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 92bd69914a Backed out changeset b1ba9eec8e44 (bug 1148889) 2015-04-07 17:42:40 -07:00
Xidorn Quan 25da0b552a Bug 1141931 patch 10 - Revert to pass container size instead of only isize for bidi reordering. r=smontagu
--HG--
extra : source : 85a623e012b8deb2a41dc2e633a41223727bfe50
2015-04-08 11:22:34 +12:00
Xidorn Quan 98f15072a3 Bug 1141931 part 8 - Reorder ruby frames regarding their direction. r=jfkthame
--HG--
extra : source : 2ab8fdf15b09df128e03998c2daf26c48187851d
2015-04-08 11:22:34 +12:00
Xidorn Quan 7ed44c4442 Bug 1141931 part 4 - Make bidi reordering always in frame order. r=jfkthame,smontagu
--HG--
extra : source : dc2ce78ff7bc9e2b5ccb7308609a83feca6a1c22
2015-04-08 11:22:34 +12:00
Xidorn Quan e581fcaf13 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.

--HG--
extra : source : 41336b712d88a843b15015321cae9f878aa08427
2015-04-08 11:22:34 +12:00
Wes Kocher 74f58c915e 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 0f4cd2b27f Bug 1148889 - Treat subclasses of scrollframes as animated geometry roots. r=mstange 2015-04-07 16:53:41 -04:00
Xidorn Quan ff332f3d74 Bug 1141931 patch 10 - Revert to pass container size instead of only isize for bidi reordering. r=smontagu
--HG--
extra : source : 999cbb6740648762984e57d5ce764499381ccd5b
2015-04-08 08:40:31 +12:00
Xidorn Quan 8a236c4404 Bug 1141931 part 8 - Reorder ruby frames regarding their direction. r=jfkthame
--HG--
extra : source : 1cd39beced7297440bf4e8df906c5264302ac16d
2015-04-08 08:40:31 +12:00
Xidorn Quan 3e7300ba91 Bug 1141931 part 4 - Make bidi reordering always in frame order. r=jfkthame,smontagu
--HG--
extra : source : dc2ce78ff7bc9e2b5ccb7308609a83feca6a1c22
2015-04-08 08:40:31 +12:00
Xidorn Quan 8a3d0926c5 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.

--HG--
extra : source : 41336b712d88a843b15015321cae9f878aa08427
2015-04-08 08:40:31 +12:00
Vladimir Vukicevic 72b8ab88fb Bug 1151905; remove unnecessary gfxVR.h includes; r=ehsan 2015-04-07 12:39:09 -04:00
L. David Baron d82c7d2130 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 81c2e4fd75 Backed out changeset 8882af540247 (bug 1029451) for intermittent timeouts in the newly-added test. 2015-04-06 11:22:00 -04:00
Tom Tromey fe559bb884 Bug 1029451 - Preserve mIsSynthesizedForTests on mouse events. r=ehsan 2015-04-03 08:17:00 -04:00
Markus Stange ab28a4f0c8 Bug 1151346 - Make ActiveLayerTracker::IsOffsetOrMarginStyleAnimated respect CSS animations. r=roc
--HG--
extra : rebase_source : a3594dcb2d8733b6f545c6cf713178ea0d953889
2015-04-05 22:53:51 -04:00
Markus Stange f7f6e94e3e Bug 1151306 - Add a missing check during background color pulling. r=roc
--HG--
extra : rebase_source : cf647fb460c0f8e9f83e540e27055ef563af0d50
2015-04-05 14:05:44 -04:00
Wes Kocher b485a53afc Backed out changeset b0de9cef013b (bug 1145439) for Gu orange 2015-04-03 14:11:11 -07:00
Mats Palmgren 7349c8b964 Bug 1150042 - Make nsLayoutUtils::DrawSingleUnscaledImage use CSSIntSize instead of unitless nsIntSize. r=dholbert 2015-04-03 19:48:12 +00:00
Daniel Holbert 9713645c88 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 eb4243e0c6 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 035bf0bc77 Bug 1149215 - Remove nsLayoutUtils::GetWholeImageDestination that use unitless nsIntSize. r=dholbert 2015-04-03 19:48:12 +00:00
Seth Fowler c2f0fefa86 Bug 1145439 - Throttle requestAnimationFrame for non-visible iframes. r=mstange,mchang 2015-04-03 11:51:11 -07:00
Jan Beich d8a32020cb 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 abf7415cef 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 192ff01616 Bug 1148855 - Rework how display items are assigned to PaintedLayers and make it work the same way with and without APZ. r=roc
--HG--
extra : rebase_source : e6f246f2ee67e4b3478f5687774fb257f40dc5b4
2015-04-02 14:22:40 -04:00
Markus Stange e2ab5a8c41 Bug 1148855 - Intermediate state that unifies APZ and non-APZ layerization behavior somewhat.
--HG--
extra : rebase_source : a5ec7aab3b588c6c5967cfbf1cebc607f6e24953
2015-04-01 17:31:56 -04:00
Markus Stange cd1c8ccd7f Bug 1148855 - Mark some ContainerState methods as const. r=roc
--HG--
extra : rebase_source : a25baee09a55ab02032c37bdf2ddfc005313203a
2015-03-25 18:08:56 -04:00
David Parks 3fe715e93a 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 b077d9624d 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 6fcd367da0 Bug 1109390 part 21 - Reuse GetAnimationsForCompositor in nsLayoutUtils; r=jwatt 2015-04-01 12:23:24 +09:00
L. David Baron e90b72b9db 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 1fe6a61ae9 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 320d6fe7aa 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 2b22106122 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 c39e359c7d 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 7f4ac9ee96 Back out bug 1075670 2015-03-30 20:13:07 -07:00
Xidorn Quan 3b4c0d5354 Bug 1146112 - Mark ruby pseudo frames as line participant in frame constructor. r=roc
--HG--
extra : source : f84d9fe6a62590e795c5e307fca17ef527490e56
2015-03-31 09:20:01 +11:00
Mats Palmgren 25fa3a4765 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 0c9ef677ad 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 5c532881b3 Backed out changeset 513192eb7df4 (bug 1148971) for causing bc2 memory leaks 2015-03-30 15:04:09 +02:00
Carsten "Tomcat" Book 386163877c Backed out changeset e507145a198c (bug 1149037) 2015-03-30 15:03:25 +02:00
Mats Palmgren dc5a3bcd7b 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 2121f47090 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 ed9ed2d61a 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 52be9f47b5 Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas 2015-03-29 16:59:15 +02:00
Nicolas Silva e3eaf89e3f Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Brian Birtles 6fd700984b 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 3b1eafd81a Remove workaround for bug 748219, which seems to have been fixed in the meantime. 2015-03-23 02:17:37 -04:00
Mats Palmgren 85f77e706b 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 a88105de70 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 18a6da0131 Merge m-c to inbound a=merge
--HG--
extra : rebase_source : 31afc1b4de1d4c9d48057dbbe0d96e7c385bf2dc
2015-03-27 17:31:19 -07:00
Ryan VanderMeulen da1028199c Merge m-c to fx-team. a=merge 2015-03-27 12:21:41 -04:00
Brian Birtles f7d9eb1f72 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 5b6f65bcdb Merge m-c to inbound a=merge CLOSED TREE 2015-03-26 17:46:35 -07:00
Xidorn Quan f877035d9b Bug 1144607 part 1 - Remove CounterStyleManager::BuildCounterStyle for anonymous counter styles. r=dbaron
--HG--
extra : source : 39d3444d47783f6e3898210b67424d4c41510791
2015-03-27 09:48:10 +11:00
Cameron McCormack 04722fa8f9 Bug 1120300 - Export WritingModes.h as mozilla/WritingModes.h. r=jfkthame 2015-03-26 18:29:31 +11:00
Seth Fowler 6681449f00 Backed out changeset c035d63ade9d (bug 1068881) 2015-03-26 15:45:00 -07:00
Jeremy Chen 0d9dd77e66 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 dc78f0b03f 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 918392e548 Bug 1144820 - Use rvalue reference in AddProfileTimelineMarker. r=smaug 2015-03-27 08:41:00 -04:00
Seth Fowler 1efbe4ce32 Bug 1147707 - Intersect correctly in DisplayItemClip::ApplyNonRoundedIntersection. r=roc 2015-03-26 15:39:52 -07:00
Seth Fowler 0934f2e2f0 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 be84cac397 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 d6eff64aa4 Bug 1144951. Rename ConvertAppUnits to ScaleToOtherAppUnits. r=mats 2015-03-26 16:44:40 -05:00
Bill McCloskey f2d972e4f2 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 0311bd02c1 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 020a6fa9a6 Bug 969250 - Part 2: Tests for scroll snapping for scrollbars (v2 Patch), r=roc relanding on a CLOSED TREE
--HG--
extra : source : 3c1005c81e52b9b9d68bba8873c957180b94f1a3
extra : amend_source : 89c352098b0853f826883edf0ff472c9a60e5d42
2014-02-17 15:47:29 +13:00
Wes Kocher df05ff9297 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 9d8557f842 Bug 969250 - Part 2: Tests for scroll snapping for scrollbars (v2 Patch), r=roc 2014-02-17 15:47:29 +13:00
Kartikaya Gupta 52c482890f 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 1e87fb5a4b 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 4be73126b0 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 f97c17593c 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.

--HG--
extra : rebase_source : 9b1088a77e88259e2c32379ade23fbc2236596fb
2015-03-13 16:42:00 -04:00
Kushan Joshi 98880a696a Bug 1101627 - Add touch action regions. r=kats 2015-03-24 09:13:24 -04:00
David Anderson c7317dc748 Fix max texture size handling in displayport clamping. (bug 1135907 follow-up, r=kats)
--HG--
extra : rebase_source : 3225e248e7d870d41f74897ede54acb5c531a0c4
2015-03-23 12:34:21 -07:00
David Anderson 302fa4036d 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 9dd681b4ab 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.


--HG--
rename : layout/base/tests/bug570378-arabic-1-ref.html => layout/reftests/bidi/numeral/arabic-1-ref.html
rename : layout/base/tests/bug570378-arabic-1.html => layout/reftests/bidi/numeral/arabic-1.html
rename : layout/base/tests/bug570378-arabic-2-ref.html => layout/reftests/bidi/numeral/arabic-2-ref.html
rename : layout/base/tests/bug570378-arabic-2.html => layout/reftests/bidi/numeral/arabic-2.html
rename : layout/base/tests/bug570378-arabic-3-ref.html => layout/reftests/bidi/numeral/arabic-3-ref.html
rename : layout/base/tests/bug570378-arabic-3.html => layout/reftests/bidi/numeral/arabic-3.html
rename : layout/base/tests/bug570378-arabic-4-ref.html => layout/reftests/bidi/numeral/arabic-4-ref.html
rename : layout/base/tests/bug570378-persian-4.html => layout/reftests/bidi/numeral/arabic-4.html
rename : layout/base/tests/bug570378-arabic-5-ref.html => layout/reftests/bidi/numeral/arabic-5-ref.html
rename : layout/base/tests/bug570378-arabic-5.html => layout/reftests/bidi/numeral/arabic-5.html
rename : layout/base/tests/bug441782-1-ref.html => layout/reftests/bidi/numeral/bug441782-1-ref.html
rename : layout/base/tests/bug441782-1.html => layout/reftests/bidi/numeral/bug441782-1.html
rename : layout/base/tests/bug441782-2-ref.html => layout/reftests/bidi/numeral/bug441782-2-ref.html
rename : layout/base/tests/bug441782-2.html => layout/reftests/bidi/numeral/bug441782-2.html
rename : layout/base/tests/bug441782-3-ref.html => layout/reftests/bidi/numeral/bug441782-3-ref.html
rename : layout/base/tests/bug441782-3.html => layout/reftests/bidi/numeral/bug441782-3.html
rename : layout/base/tests/bug441782-4-ref.html => layout/reftests/bidi/numeral/bug441782-4-ref.html
rename : layout/base/tests/bug441782-4.html => layout/reftests/bidi/numeral/bug441782-4.html
rename : layout/base/tests/bug441782-5-ref.html => layout/reftests/bidi/numeral/bug441782-5-ref.html
rename : layout/base/tests/bug441782-5.html => layout/reftests/bidi/numeral/bug441782-5.html
rename : layout/base/tests/bug467672-1-ref.html => layout/reftests/bidi/numeral/bug467672-1-ref.html
rename : layout/base/tests/bug467672-1.html => layout/reftests/bidi/numeral/bug467672-1.html
rename : layout/base/tests/bug467672-2-ref.html => layout/reftests/bidi/numeral/bug467672-2-ref.html
rename : layout/base/tests/bug467672-2.html => layout/reftests/bidi/numeral/bug467672-2.html
rename : layout/base/tests/bug467672-3-ref.html => layout/reftests/bidi/numeral/bug467672-3-ref.html
rename : layout/base/tests/bug467672-3.html => layout/reftests/bidi/numeral/bug467672-3.html
rename : layout/base/tests/bug467672-4-ref.html => layout/reftests/bidi/numeral/bug467672-4-ref.html
rename : layout/base/tests/bug467672-4.html => layout/reftests/bidi/numeral/bug467672-4.html
rename : layout/base/tests/bug467672-5-ref.html => layout/reftests/bidi/numeral/bug467672-5-ref.html
rename : layout/base/tests/bug467672-5.html => layout/reftests/bidi/numeral/bug467672-5.html
rename : layout/base/tests/bug570378-persian-1-ref.html => layout/reftests/bidi/numeral/persian-1-ref.html
rename : layout/base/tests/bug570378-persian-1.html => layout/reftests/bidi/numeral/persian-1.html
rename : layout/base/tests/bug570378-persian-2-ref.html => layout/reftests/bidi/numeral/persian-2-ref.html
rename : layout/base/tests/bug570378-persian-2.html => layout/reftests/bidi/numeral/persian-2.html
rename : layout/base/tests/bug570378-persian-3-ref.html => layout/reftests/bidi/numeral/persian-3-ref.html
rename : layout/base/tests/bug570378-persian-3.html => layout/reftests/bidi/numeral/persian-3.html
rename : layout/base/tests/bug570378-persian-4-ref.html => layout/reftests/bidi/numeral/persian-4-ref.html
rename : layout/base/tests/bug570378-arabic-4.html => layout/reftests/bidi/numeral/persian-4.html
rename : layout/base/tests/bug570378-persian-5-ref.html => layout/reftests/bidi/numeral/persian-5-ref.html
rename : layout/base/tests/bug570378-persian-5.html => layout/reftests/bidi/numeral/persian-5.html
2015-03-21 12:37:01 -04:00
Ehsan Akhgari 883849ee32 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 14f75f943c Merge m-c to inbound a=merge CLOSED TREE 2015-03-20 18:01:17 -07:00
Jeremy Chen 8610c13659 Bug 1140994 - Notify gaia to hide selection bubble when scrolling without APZ. r=roc 2015-03-16 22:09:00 -04:00
Xidorn Quan 6c553b0e05 Bug 1143535 - Fix condition of ruby leading/trailing whitespace trimming. r=bz a=kwierso
--HG--
extra : source : e3099e6a148be5c0e78e99686d313cf3b5eaa910
extra : amend_source : fce4db18aa4724df434f2f129d568b34896026db
2015-03-20 09:45:41 +11:00
Carsten "Tomcat" Book c3568f0392 Backed out changeset cb73c395a78d (bug 1135907) for crashtest failures due to assertions
--HG--
extra : rebase_source : 8244bb95c9a09d7da5587a43d598d602ea36b115
2015-03-19 10:40:42 +01:00
David Anderson 8ebd1684f7 Fix max texture size handling in displayport clamping. (bug 1135907 follow-up, r=kats)
--HG--
extra : rebase_source : f6b399fe5f877fa88613236778e971c1c41d5ea3
2015-03-17 14:04:36 -07:00
Morris Tseng 80129ca85d Bug 1143139 - Cancel all timer when SelectionCarets are terminated. r=roc 2015-03-17 21:31:00 +01:00
d39aa7d3f1 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 d70b1ea0e6 Bug 1043013 - Introduce IntRegionTyped. r=jrmuizel
--HG--
extra : rebase_source : 109fe53588254256b5575e082f709a0cb71fe877
extra : source : d7db1f0cb75b689316da6671bed37d496d17e90c
2015-03-16 13:42:15 -04:00
Carsten "Tomcat" Book 47fe95d629 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 61a15823c0 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.

--HG--
extra : rebase_source : 5577ef1ee92591a58d1812130f2ad29e8ec18d32
2015-03-17 00:57:00 -04:00
Ting-Yu Lin b79c10f9e3 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.

--HG--
extra : rebase_source : 1622818b9cbbc82e02188ec7ea8ac7951ba6f634
2015-03-18 03:26:00 -04:00
Ting-Yu Lin 1afed065de 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.

--HG--
extra : rebase_source : d2cb9d4e2234f2b1f92cb7ff4a1730f1f408d275
2015-03-10 20:40:00 -04:00
L. David Baron 634de3488b 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 00a88de17f 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 971e1cf05d bug 1142079: disable refresh driver telemetry on Android. r=froydnj 2015-03-18 08:59:01 +02:00
Markus Stange 0605c44412 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 726d770b60 Bug 1125055 - Sync decode layerized images if necessary. r=roc,tn 2015-03-17 19:40:16 -07:00
Seth Fowler 12e9117824 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 25df7941eb Bug 1143558 part 1 - Fix line break suppression when newline is significant. r=roc
--HG--
extra : source : c700ba786622769700d740c6761ca5a66879b761
2015-03-17 19:10:15 +11:00
dvander@alliedmods.net 9215e781e3 Don't expand displayports beyond the maximum texture size. (bug 1135907, r=kats)
--HG--
extra : rebase_source : 95178166bfb1aac79836808e4e5ebaa123145d9f
2015-03-16 22:59:29 -07:00
Markus Stange 4fe0677dda Bug 1141595 - Make scroll info display item hoisting work after bug 913443. r=tn
--HG--
extra : rebase_source : 7e13f848ec50f5c6a91876dc1e618d0fe31ffab2
2015-03-16 18:37:04 -04:00
Markus Stange 235900b2b8 Bug 1141089 - Add some release assertions to gather more data. r=roc
--HG--
extra : rebase_source : 1575191a4bf2ebebb3e15fc82ac3c2addffa67d6
2015-03-16 16:04:00 -04:00
Botond Ballo 2eb9751320 Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow
--HG--
extra : rebase_source : 18444e5f9304bbf9c2c14903be6aa4ebf8a08af3
extra : source : 60fe56e752d984a8d074af1bec1dfcd40a41e5f6
2015-03-06 18:07:59 -05:00
Jeff Muizelaar 735ab827c5 Bug 1143789. Remove unnecessary cast to BasicLayerManager. r=mstange
--HG--
extra : rebase_source : ca8d18b5aae563a74f913f5b112c6e7c2bcea8f6
2015-03-16 14:19:32 -04:00
Kartikaya Gupta f64fcefe30 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 cf9dd93a66 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.

--HG--
extra : transplant_source : %86%C0%96N%0E%C9%DB%3A%A8%A1%7DJ%85%04A%10%3A%96%8EY
2015-03-13 22:24:10 -07:00
Botond Ballo 70559e5194 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
--HG--
extra : source : 2ab85f9edf4d74962ca6bede6669cfc28b6b8e15
2015-03-11 17:10:15 -04:00
Botond Ballo cda50e28d3 Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats
--HG--
extra : rebase_source : bbdd433260c2e5244602275aa8516723f87d5740
extra : source : a2dbf7ec87c50f35a089470e39d6b4b448992e3d
2015-03-06 13:54:10 -05:00
Botond Ballo 4f5da1dd25 Bug 1036967 - Introduce ScaleFactors2D. r=kats,Bas
--HG--
extra : rebase_source : e137820f9992c23f65aab1e40fb7390c9125b04a
extra : source : 1f79257b3df7fb146a1d4f7248905e0ac88f89d0
2015-03-06 13:53:47 -05:00
Jim Mathies d6d7d5c6d6 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 843379803a Bug 69787. Implement MouseEvent.offsetX/Y. r=mats,smaug
--HG--
extra : rebase_source : 0120fa29fb94c1c2f992b4e3bae63c5120b90f4b
2015-03-14 00:50:10 +13:00
Jonathan Griffin d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Markus Stange dee805a312 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 59f454bb84 Bug 1141281 - Don't put empty Info: lines into the layers dump. r=BenWa 2015-03-09 00:41:11 -04:00
Markus Stange 0a619bf51b 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 77972f304e Bug 1125767. Clarify aContextFrame parameter to nsStylePosition::IsFixedPosContainingBlock and nsStylePosition::HasTransform and make nsCSSFrameConstructor actually honor it. r=mats
--HG--
extra : rebase_source : e71b72254a56d54fe95410c5ccb7855b7d42d675
extra : histedit_source : ffddeedc9f2ec5a4ccdfcc41444c28a1a9da01f3
2015-03-11 00:18:49 +13:00
Robert O'Callahan c7d1538273 Bug 1125767. Centralize code into nsStylePosition::IsFixedPosContainingBlock. r=mats
Also renames IsPositioned to IsAbsPosContainingBlock.

--HG--
extra : rebase_source : b412f6291d34e30e8d57e054645bd1e04f43593f
extra : histedit_source : 01a2bd57de4eec4ecf3f3712ee609d70ca14cda4
2015-03-12 16:21:01 +13:00
dvander@alliedmods.net 8274a27143 Don't use APZ for selection carets on Desktop. (bug 1141855, r=kats) 2015-03-11 12:29:06 -07:00
David Anderson c2a7ec14a4 Backed out changeset de19c60e56bd 2015-03-11 12:28:28 -07:00
David Anderson a370836303 Don't use APZ for selection carets on Desktop. (bug 1141855, r=kats) 2015-03-11 12:26:30 -07:00
Ethan Lin 4de81417ac Bug 1141926 - Check nsCaret visibility when NotifySelectionChanged. r=roc 2015-03-10 23:01:00 -04:00
Carsten "Tomcat" Book 1890dfae1e Backed out changeset 2550379cff3c (bug 969250) 2015-03-11 10:33:01 +01:00
chiajung hung c56f9b604b Bug 1129249 - Add a "restyle" feature to profiler and split the style label in Cleopatra based on the restyleSource, r=dholbert,mstange
--HG--
extra : rebase_source : 0da0203824cfbf2265b42229b298274156633ddd
2015-03-19 02:19:00 +01:00
Xidorn Quan c9ec579ba2 Backout a6dbd23da598 (bug 1139283) since it is currently not needed.
--HG--
extra : source : 3acc263e7d18fc2946bd043edcf7ae865e3874fe
2015-03-20 15:12:17 +11:00
L. David Baron 844ee17b53 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 92c8f10ebf 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 e8de79897a Bug 969250 - Part 2: Tests for scroll snapping for scrollbars. r=roc
--HG--
extra : rebase_source : 49c4fed77484bc7041266a2233d2e0e359138dcb
2014-02-17 15:47:29 +13:00
Xidorn Quan e89adacefb Bug 1140264 part 3 - Rename IsInlineDescendantOfRuby to ShouldSuppressLineBreak and exclude rbc/rtc from it. r=dbaron
--HG--
extra : rebase_source : b782506792fd47e41c694a49fca3967282c96113
extra : source : 9836c81fe7d401432856491dc65c38b150e5e157
2015-03-11 10:28:21 +11:00
Ehsan Akhgari a4099ba4c5 Bug 922977 - Request a longer timeout when running test_reftests_with_caret.html 2015-03-10 12:55:30 -04:00
Jonathan Kew eda6f033e5 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 f5b4780e94 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 c6da1df376 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 cf25343ea5 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 76dd5cd892 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 dc7bf5c8d6 Bug 1140946 - tweak fall-through for ex/ch restyle on font load. r=dbaron 2015-03-10 13:55:11 +09:00
Mats Palmgren 73069181c8 Bug 1140579 - Additional tests and code comment update. 2015-03-09 17:29:00 +00:00
Xidorn Quan d4289c7714 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

--HG--
extra : source : 42bbf0328b450d1094250159fe9f7f0d07622290
2015-03-08 18:43:22 +11:00
Robert Longson 751b0c932b Bug 1140080 - ensure we only create stop frames for gradients. r=dholbert 2015-03-08 06:49:33 +00:00
Mats Palmgren b1a684cc86 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 4c74b7ca6b Bug 1140579 - (backout rev 27ac269bb796 b/c wrong bug number in commit message) 2015-03-07 14:53:45 +00:00