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

40074 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano 03e2114412 Bug 982602 Rename ns(LoadBlocking)AsyncDOMEvent to mozilla::(LoadBlocking)AsyncEventDispatcher r=smaug
--HG--
rename : dom/events/nsAsyncDOMEvent.cpp => dom/events/AsyncEventDispatcher.cpp
rename : dom/events/nsAsyncDOMEvent.h => dom/events/AsyncEventDispatcher.h
2014-03-17 15:56:54 +09:00
Masayuki Nakano fbf7cdeb19 Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
L. David Baron e00fc8d753 Bug 981637: Make overflow events fire correctly in UpdateOverflow codepath. r=mats
I confirmed that the mochitest fails without the patch and passes with
it, both standalone and in the directory harness.
2014-03-16 07:21:42 +08:00
Tooru Fujisawa c6c8b3fdce Bug 983570 - Update aState.mPrevChild only when line->IsDirty is true in nsBlockFrame::ReflowDirtyLines. r=mats 2014-03-15 17:29:24 -04:00
Max Vujovic c6f43612b0 Bug 948265 - Fix user space to filter space transformation and example in nsSVGFilterInstance. r=mstange 2014-03-15 17:08:04 -04:00
Jeff Muizelaar 9a84668ef2 Bug 979489. Add an additional pixel of fuzz to border-image-element test
Without this per-tile drawing fails presumably because of slightly different
floating point someplace.

--HG--
extra : rebase_source : 8c19191a8f7cd1a31d46eccbb3b807537fb3296e
2014-03-15 16:25:18 -04:00
Kyle Huey 817b5ccbd9 Bug 345123: Remove nsGetterAddRefs<T>'s operator nsISupports**. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey d7764d686d Bug 981150: Use nsTArrayForwardDeclare.h more. r=ehsan 2014-03-15 12:00:17 -07:00
Kyle Huey b564544cf7 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey 1f3d658bb3 Bug 967364: Use every already_AddRefed. r=bsmedberg 2014-03-15 12:00:16 -07:00
Kyle Huey fe6c4e28d6 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Wes Kocher f7a4d641fc Merge inbound to m-c 2014-03-14 22:20:25 -07:00
L. David Baron 5497920b1a Bug 697451 - Stop overriding line-height (max-ing with 1.0) on inputs other than single-line text inputs. r=bzbarsky
This allows *native-themed* button-type inputs to shrink more than
Chromium allows them to, but it might still be Web-compatible.
2014-03-14 17:00:12 -07:00
Daniel Holbert 8b117bc62d Bug 983671: Add back (more restricted) 'fuzzy' annotation for reftest svg/smil/transform/skew-1.svg. (no review, test-manifest only) 2014-03-14 12:17:46 -07:00
Jeff Muizelaar d7aba8cab2 Bug 977861. Avoid putting the scroll thumb at subpixel positions. r=mstange
The solution for fixing this properly is not clear and could be a lot of work.
Matt Woodrow agreed that this is probably the right thing to do for now.

This is b2g only because it was causing reftest failures on OS X that I do not
understand and is pretty important for performance.

--HG--
extra : rebase_source : 52517bae11ac4db46471143ff5a30a97c1860e33
2014-03-14 14:48:07 -04:00
Yuan Xulei 4681ab0aeb Bug 910412 - WebIDL and DOM binding for filesystem API. r=baku, r=smaug, f=dhylands, f=jonas 2014-03-05 11:26:39 +08:00
Bill McCloskey fd05f3eb04 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher 3b83e5bb22 Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey e784b5aef6 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Ehsan Akhgari 52fc6d14cc Bug 983084 - Correctly handle z-order only changes by removing opacity through a dynamic change; r=dbaron 2014-03-13 19:14:35 -04:00
Bill McCloskey 006786a6b4 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey ed100f425c Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Phil Ringnalda 87bd2aabe7 Bug 863658 - Replace mozilla-banner.gif with a plain blue image in 359903-2.html since we aren't trying to test individual pixel differences in resized image painting there, r=bz
--HG--
extra : rebase_source : 7195cabfd486dc4902319506349e2fc1d74b6f00
2014-03-12 23:00:58 -07:00
Tom Hindle 907802ee17 Bug 970363 - Fix selection moving over readonly elements in contenteditble blocks. r=roc 2014-03-12 07:45:01 -06:00
Tom Hindle f68ff3f78a Bug 970363 - Make PeekOffset* methods return continue reason. r=roc 2014-03-13 08:14:37 -06:00
Kartikaya Gupta 9e6ab418b7 Bug 980679 - Filter redundant scroll offset updates by scroll generation value. r=botond 2014-03-13 15:48:38 -04:00
Andrew McCreight 301f982c21 Bug 982373 - Don't leak val when we return early from nsComputedDOMStyle::DoGetTextDecoration(). r=dholbert 2014-03-13 09:18:32 -04:00
Simon Montagu e10e094099 Use logical text layout API for GetSkipSides, bug 789096, r=jfkthame 2014-03-13 00:39:33 -07:00
Botond Ballo 6ddcfa998d Bug 980493 - Transition FrameMetrics::mZoom to use a getter/setter. r=kats 2014-03-12 12:46:57 -04:00
Botond Ballo fb8f0cf40a Bug 980493 - Transition FrameMetrics::mScrollOffset to use a getter/setter. r=kats 2014-03-13 02:34:34 -04:00
Wes Kocher 750ae8d03a Merge m-c to m-i 2014-03-12 21:21:07 -07:00
L. David Baron 09120544b0 Bug 349259 patch 4 - Add reftests for line-height on input type=text, input type=button, and button. 2014-03-12 20:33:22 -07:00
Boris Zbarsky 1dcea2a02e Bug 349259 patch 3 - Allow pages to override line-height on form controls, except for <select>. r=dbaron
This re-lands the part of the patch not backed out in
https://hg.mozilla.org/mozilla-central/rev/b97aef275b5e
2014-03-12 20:33:21 -07:00
L. David Baron 0af67c538b Bug 349259 patch 2: Prevent html:input elements from having a line-height smaller than 1. r=bz 2014-03-12 20:33:21 -07:00
L. David Baron 3ad78c87f5 Bug 349259 patch 1: Add an nsIContent* parameter to nsHTMLReflowState::CalcLineHeight. r=bz 2014-03-12 20:33:21 -07:00
Wes Kocher 7312341e00 Merge fx-team to m-c 2014-03-12 20:01:45 -07:00
Wes Kocher f22ed4e226 Merge inbound to m-c 2014-03-12 19:36:50 -07:00
Wes Kocher 71ac548664 Merge m-c to inbound 2014-03-12 18:59:54 -07:00
Ryan VanderMeulen 2f3020a591 No bug - Remove the failing annotation for layout/reftests/font-face/ivs-1.html on Android.
CLOSED TREE
2014-03-12 15:39:28 -04:00
Ryan VanderMeulen bd824f9c65 Backed out changeset 1f4344d87e75 (bug 518592) for reftest failures. 2014-03-12 10:11:00 -04:00
Vincent Chen 186171453a Bug 922680 - triage reftests which fail oop, r=ahal 2014-03-12 09:25:23 -04:00
Max Vujovic 779cf45ba9 Bug 948265 - Introduce an "intermediate" coordinate space to share across chained filters. r=roc 2014-03-12 08:42:19 -04:00
Benoit Jacob 0bacffad36 Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz 2014-03-07 12:14:26 -05:00
Benoit Jacob f9d8543c89 Bug 977757 - 2/3 - add nsCSSProps::eEnabledInChromeOrCertifiedApp bit, and use it for will-change - r=dbaron,bz 2014-03-07 12:14:25 -05:00
Benoit Jacob 56cf1149be Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-07 12:14:23 -05:00
James Kitchener e4fad6f616 Bug 518592 - Fix single char <mi> frame type and add a test for dotless i. r=fredw 2014-03-12 08:40:30 -04:00
Carsten "Tomcat" Book 966dce256d Merge mozilla-central to mozilla-inbound 2014-03-12 12:27:31 +01:00
Carsten "Tomcat" Book 80ad770423 merge mozilla-inbound to mozilla-central 2014-03-12 12:15:34 +01:00
Vaibhav Agarwal d126a07311 Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-03-12 06:16:12 -04:00
Peter Chang a96dd5a386 backout of rev 45253e02bde3, fd02f1217e4c, 75217485ce5a b=981804 2014-03-12 15:16:20 +08:00
Simon Montagu 2110ef8dc6 Use logical text layout API in nsLineLayout. Bug 789096, r=jfkthame 2014-03-11 13:23:50 -07:00
Ryan VanderMeulen 95184620a9 Backed out changeset 1bcd1fea2e73 (bug 922680) for B2G reftest crashes.
CLOSED TREE
2014-03-11 14:29:34 -04:00
Daniel Holbert 3d7caa17ae Bug 981919: Add some documentation/clarification in test_flexbox_flex_shorthand.html. r=SimonSapin 2014-03-11 10:06:54 -07:00
Kartikaya Gupta f53f829010 Bug 981029 - Change the GeckoContentController interface to take CSSPoint instead of CSSIntPoint. r=botond 2014-03-12 15:27:45 -04:00
Ted Mielczarek 34da80ea4f Bug 980015 - Remove MOCHITEST_FILES et. al. r=gps 2014-03-05 15:51:39 -05:00
Vaibhav Agarwal 910cf28c11 Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-12 11:41:08 -04:00
CJKu fba11143f2 Bug 982533 - Enable DEBUG_SELECTION cause compile fail. r=ehsan 2014-03-14 10:30:41 -04:00
Nathan Froyd 4125ef34c6 Bug 682215 - add a memory reporter for memory from libvpx; r=ted,njn 2014-02-25 16:35:13 -05:00
Masayuki Nakano 0ae5a1bafc Bug 977959 part.3 Hide nsINativeKeyBindings with nsIWidget::ExecuteNativeKeyBinding() r=roc+karlt+smichaud 2014-03-14 22:13:31 +09:00
Ryan VanderMeulen a154cec3e0 Backed out 5 changesets (bug 910412) for intermittent crash whack-a-mole.
Backed out changeset e3eb9463b3e1 (bug 910412)
Backed out changeset d5863d302bde (bug 910412)
Backed out changeset 422b66d4b1ca (bug 910412)
Backed out changeset 3431d59d752e (bug 910412)
Backed out changeset b1c0310cdac1 (bug 910412)
2014-03-11 12:17:03 -04:00
Vincent Chen 427d4f169a Bug 922680 - triage reftests which fail oop, r=ahal 2014-03-11 12:12:10 -04:00
Ryan VanderMeulen 462dd28f4a Bug 981651 - Remove unused presShell variable to fix Werror bustage. r=kats
CLOSED TREE
2014-03-11 11:35:32 -04:00
Kartikaya Gupta 88038d24ec Bug 981651 - Don't scale the touch radius up by the resolution amount since it is usually canceled by layer transforms. r=roc 2014-03-11 11:14:51 -04:00
Simon Montagu 8343f17838 Use logical coordinates in nsBlockFrame::ReflowBullet. Bug 789096, r=jfkthame 2014-03-11 02:08:36 -07:00
Carsten "Tomcat" Book e62b10b99c Backed out changeset 9f92527ff03b (bug 789096) for Valgrind Test-Bustage on a CLOSED TREE 2014-03-11 09:23:32 +01:00
Carsten "Tomcat" Book b99f5df532 Backed out changeset aeff4052ef00 (bug 789096) 2014-03-11 09:22:52 +01:00
Carsten "Tomcat" Book ea10325852 Backed out changeset 534a0efe7d3d (bug 789096) 2014-03-11 09:22:48 +01:00
Simon Montagu e7b593f84c Use logical text layout API for GetSkipSides. Bug 789096, r=jfkthame 2014-03-10 22:19:03 -07:00
Simon Montagu 5e0cf76c45 Use logical text layout API in nsLineLayout. Bug 789096, r=jfkthame 2014-03-10 22:19:03 -07:00
Simon Montagu 68692775c7 Use logical coordinates in nsBlockFrame::ReflowBullet. Bug 789096, r=jfkthame 2014-03-10 22:19:03 -07:00
Ehsan Akhgari 5c08bd3d28 Bug 981292 - Move the CXXFLAGS variable in layout/build/Makefile.in to moz.build; r=mshal
--HG--
extra : rebase_source : 7c9e8dc076aeffe833d84c824be5e6771935373a
2014-03-10 20:13:57 -04:00
Daniel Holbert 45ade68daf (no bug) fix trailing whitespace in test_flexbox_flex_shorthand.html. whitespace-only, DONTBUILD
Pusing on a CLOSED TREE with KWierso|sheriffduty's permission
2014-03-10 16:57:44 -07:00
Simon Sapin 948f9516ef Bug 976787 part 5: Add grid-{column,row}-{start,end} and grid-auto-position to the style system. r=dholbert 2014-03-10 15:54:17 -07:00
Simon Sapin 96600c54b0 Bug 976787 part 4: Add the grid-auto-flow property to the style system. r=dholbert 2014-03-10 15:54:16 -07:00
Simon Sapin 9483298edf Bug 976787 part 3: Add the grid-auto-{columns,rows} properties to the style system. r=dholbert 2014-03-10 15:54:15 -07:00
Simon Sapin 27ad62a36d Bug 976787 part 2: Add the grid-template-areas property to the style system. r=dholbert 2014-03-10 15:54:14 -07:00
Simon Sapin 12935dcb17 Bug 976787 part 1: Add the grid-template-{columns,rows} properties to the style system. r=dholbert 2014-03-10 15:54:13 -07:00
Daniel Holbert c1e70cc26c Bug 981640: Mark reftest svg/smil/transform/paced-1.svg as fuzzy on Mac. rs=RyanVM 2014-03-10 15:46:31 -07:00
Seth Fowler 86452a2c51 Bug 63895 (Part 3) - Add tests for positioned internal table objects serving as absolute containing blocks. r=dbaron 2014-03-10 15:41:21 -07:00
Seth Fowler 874e445c7b Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron 2014-03-10 15:41:17 -07:00
Seth Fowler b222d248ef Bug 63895 (Part 1) - Add helper methods for retrieving overflow areas in the frame's local coordinate space. r=dbaron 2014-03-10 15:41:14 -07:00
Matt Woodrow 0304720ba9 Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas 2014-02-13 13:20:41 +13:00
Matt Woodrow 81eff840bb Bug 981252 - Initialize all values in MaskLayerUserData so that equality comparisons make sense. r=dbaron 2014-03-11 11:12:48 +13:00
Kartikaya Gupta 7580a2719b Bug 981800 - Kill the three-parameter version of ReceiveInputEvent since it is redundant. r=botond 2014-03-10 17:59:46 -04:00
Botond Ballo ecc98dfd21 Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn
--HG--
extra : amend_source : 06c6bb658dfead6907250831bbe73fae6c20b45c
2014-03-10 17:56:59 -04:00
Gregory Szorc f8f429ae92 Bug 980174 - Remove some empty Makefile.in; r=mshal
--HG--
extra : rebase_source : eada340aed8daebbfc3bf7d4218bca980d654cef
2014-03-05 19:56:56 -08:00
Ryan VanderMeulen 70fda5091d Backed out changeset 88780b5a201e (bug 980015) for test_property_database.html failures.
CLOSED TREE
2014-03-10 15:31:23 -04:00
Ted Mielczarek 16414a3269 Bug 980015 - Remove MOCHITEST_FILES et. al. r=gps
--HG--
extra : rebase_source : 3825abc63eb0901bc1422aa00aed3680dbe3e44c
2014-03-05 15:51:39 -05:00
Nathan Froyd e9a673f8db Bug 677653 - part 1 - indirect libogg memory allocations through variables; r=glandium,rillian 2014-03-05 10:58:29 -05:00
Max Vujovic 92f3fc518b Bug 948265 - Remove deprecated filterRes attribute from SVG filters. r=roc, r=hsivonen 2014-03-10 08:55:25 -04:00
Robert O'Callahan 426b8737e5 Bug 975931. Part 11: Make nsDOMWindowUtils::SetDisplayPortForElement take a priority parameter, and set that parameter to 1 in reftests to override automatic displayport selection. r=kats
--HG--
extra : rebase_source : 07dcbfb67cb2db0bbb26a959517bbbdebd84f10b
2014-03-08 22:25:15 +13:00
Robert O'Callahan 695e745fd1 Bug 975931. Part 2: Add more async scrolling tests. r=kats
--HG--
extra : rebase_source : eb86d75c6c6d2fffda4b32f1407f158c7a48383a
2014-02-26 17:17:23 +13:00
Robert O'Callahan bf04ff0c81 Bug 975931. Part 9: Add basic reftests for async scrolling. r=tnikkel
--HG--
extra : rebase_source : 007307088ab09dd3811a74cb4782fdee320252f4
2014-02-24 21:57:29 +13:00
Robert O'Callahan f3b7b2a6fa Bug 975931. Part 7: Enable APZC in reftests. r=dbaron
--HG--
extra : rebase_source : 74c33e5b5f4e8aa59199e488cb7606527d7beaec
2014-02-24 20:17:58 +13:00
Robert O'Callahan 52f68466db Bug 975931. Part 4: Support reftest-async-scroll attributes. r=dbaron
--HG--
extra : rebase_source : 2f87486f71f6e670df0999e75ac96cc43123921e
2014-02-24 18:09:47 +13:00
Robert O'Callahan 280f1f2ea9 Bug 975931. Part 3: When the reftest-async-scroll attribute is present, allow reftest-displayport to be set on any element. r=tnikkel
--HG--
extra : rebase_source : 1cd4607ec6e789f55eb19e156cf7d6657424ca31
2014-02-24 18:08:47 +13:00
Robert O'Callahan 26658b46d1 Bug 975931. Part 2: Update README with complete documentation of all attributes, and put the attribute name in the section heading. r=dbaron
--HG--
extra : rebase_source : e5a4790fd9ea2a0c5318901c55314d2751b8a5e7
2014-02-24 18:08:34 +13:00
Robert O'Callahan f291db0474 Bug 975931. Part 1: Add nsDOMWindowUtils API to add an extra scroll offset in the AsyncPanZoomController when compositing. r=kats
--HG--
extra : rebase_source : fcadb5137cc906c97b230d1f2cf134fd24db10d6
2014-02-14 21:59:23 +13:00
Chris Peterson 2f79c36386 Bug 980810 - Part 2: Fix clang -Wstring-conversion warning in layout. r=dbaron 2014-03-07 00:53:03 -08:00
Daniel Holbert 2e6a644695 Bug 981110 part 2: Remove a bunch of 'skip-if' annotations for B2G, in SMIL reftests. r=jwatt 2014-03-09 17:45:56 -07:00
Daniel Holbert 336da341a7 Bug 981110 part 1: Remove some random, skip, and fuzzy annotations in SVG / SMIL reftests. r=jwatt 2014-03-09 17:45:55 -07:00
Bas Schouten 3d94f8147d Bug 963073 - Followup: Mark tests as no longer failing on B2G due to tiling being enabled (see bug 916112). r=orange 2014-03-08 03:48:21 +01:00
Masayuki Nakano b51ee921de Bug 978023 part.3 Rename nsIMEStateManager to mozilla::IMEStateManager r=smaug
--HG--
rename : dom/events/nsIMEStateManager.cpp => dom/events/IMEStateManager.cpp
rename : dom/events/nsIMEStateManager.h => dom/events/IMEStateManager.h
2014-03-08 10:20:07 +09:00
Daniel Holbert cded82fd98 Bug 981116: Convert nsFlexContainerFrame boolean member-var into frame state bit. r=heycam 2014-03-07 15:58:38 -08:00
Daniel Holbert a72e872bab Bug 981127: Mark nsIFrame methods HasAllStateBits() & HasAnyStateBits() as 'const'. r=heycam 2014-03-07 15:58:37 -08:00
Wes Kocher ce7b82463f Backed out changeset 7a2a0130dcdd (bug 980186) for breaking b2g reftests on a CLOSED TREE 2014-03-07 13:57:06 -08:00
Mike Conley e5ef2f1eee Backing out bug 940455 (36e45a68452b) for numerous regressions. r=bustage-fix. 2014-03-07 16:50:30 -05:00
Ryan VanderMeulen 99e4a449b6 Merge m-c to inbound. 2014-03-07 15:45:57 -05:00
Jeff Muizelaar 52f714008a Bug 980186. Tell automation.environment about the debugger. r=jgriffin
This lets it set the crash reporting envs properly.

--HG--
rename : python/mozbuild/mozbuild/test/frontend/data/test-manifest-install-subdir/subdir.ini => python/mozbuild/mozbuild/test/frontend/data/test-manifest-empty/empty.ini
rename : python/mozbuild/mozbuild/test/frontend/data/test-manifest-install-subdir/moz.build => python/mozbuild/mozbuild/test/frontend/data/test-manifest-empty/moz.build
extra : rebase_source : 1e4cbc0dedab57629e120c4d35bd8270c4f44892
2014-03-07 15:38:48 -05:00
Ryan VanderMeulen e3a295895e Merge inbound to m-c. 2014-03-07 15:38:19 -05:00
Benoit Jacob c4922650de Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz 2014-03-07 12:14:26 -05:00
Benoit Jacob 8d7a70a2bf Bug 977757 - 2/3 - add nsCSSProps::eEnabledInChromeOrCertifiedApp bit, and use it for will-change - r=dbaron,bz 2014-03-07 12:14:25 -05:00
Benoit Jacob 8c5d632a24 Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-07 12:14:23 -05:00
Daniel Holbert 52b2cfba1d Bug 980783: Make reftest scale-1.svg use MozReftestInvalidate for dynamic tweak, and make its reftest.list annotations more strict. r=jwatt 2014-03-07 09:48:56 -08:00
Ed Morley f60c92c019 Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures 2014-03-07 15:45:59 +00:00
L. David Baron 38a6cfb99b Bug 978712 - Prevent non-running transitions and animations (animations or transitions during their delay period, and animations after they finish) from repeatedly poking layer activity because we think we can run them on the compositor. r=heycam
This changes the behavior of the CanPerformOnCompositorThread methods of
both ElementAnimations and ElementTransitions to check that the
respective animations or transitions are actually running.  This is ok
because:
 - The main caller is nsLayoutUtils::HasAnimationsForCompositor, and all
   of its callers pretty clearly want the more restricted behavior (they're
   concerned with layer activity)
 - The only other callers of these functions are
   nsAnimationManager::FlushAnimations and
   nsTransitionManager::FlushTransitions (determining when to do
   throttling), nsAnimationManager::GetAnimationsForCompositor (whose
   only caller,
   nsDisplayListBuilder::AddAnimationsAndTransitionsToLayer, also checks
   IsRunningAt).  I think these also all want or are fine with having
   the IsRunningAt check.

As to the actual changes:
 - In the animation manager, I think it's a mistake that
   ElementAnimation::IsRunningAt didn't already check
   mIterationDuration, since we throw out animations with a bad
   iteration-duration in ElementAnimations::EnsureStyleRuleFor.  So this
   makes that change as well.
 - In the transition manager, IsRunningAt already checks
   !IsRemovedSentinel().

I've confirmed in gdb on a device that this fixes the repeated
nsIFrame::SchedulePaint calls that were the symptom of this bug.

I believe this patch also makes it so that a short animation of a
property that can't be animated on the compositor doesn't prevent the
entire duration of the animation of a property that can from being
throttled (having the main thread style updates suppressed).
2014-03-06 22:08:57 -08:00
L. David Baron 0461432ae1 Bug 979748 - Simplify code based on already having checked the NS_FRAME_OUT_OF_FLOW bit. r=heycam
Since we've already returned if the NS_FRAME_OUT_OF_FLOW bit is not set,
and since FirstInFlow() is the same as this when GetPrevInFlow() is
null, this is a straightforward simplification of the code and should
not change behavior.
2014-03-06 22:08:57 -08:00
L. David Baron a2fd5524d5 Bug 979760 - Pull out a BeginTransaction call common to the start of all three branches of if/else logic. r=mattwoodrow
I don't see any particular reason for them to logically be in each
branch, and it seems the code was originally written with the
BeginTransaction in one place, but later had to be refactored into its
current form.

Note that this separates the comment from one of the EndEmptyTransaction
calls below it, but the comment was actually associated primarily with
the further EndEmptyTransaction call, and with the if above it, based on
the history pointing to
https://hg.mozilla.org/mozilla-central/rev/b4e9a17e7fe2
2014-03-06 22:08:57 -08:00
Matt Woodrow abce112be1 Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Seth Fowler 026e40d451 Backed out 3 changesets (bug 63895)
Backed out changeset ceafe92c7716 (bug 63895)
Backed out changeset 0199299ac111 (bug 63895)
Backed out changeset d78110a5cffa (bug 63895)

--HG--
extra : rebase_source : 76d8a63672dfdb000ff6db5d362231ed6e90c1bc
2014-03-06 16:59:56 -08:00
Timothy Nikkel 548fe541ea Bug 980256. nsDisplayZoom items need some adjustments if they are going to generate a scrollable layer. r=roc
Specifically GetBounds should use nsDisplaySubDocument::GetBounds (and not nsDisplayWrapList::GetBounds) before converting it to the right app units.

Similarly for ComputeVisibility except with the added wrinkle that nsDisplaySubDocument::ComputeVisibility won't properly handle coordinates if we are not generating a scroll layer. Namely it calls nsDisplayWrapList::ComputeVisibility which uses mVisibleRect (which is the visible rect of the scroll frame), when it needs to be using the visible rect of the contained list, which is for the scrolled content inside.
2014-03-06 17:40:31 -06:00
Matt Woodrow 3f1217aeee Bug 978911 - Add the entire visible region to the layers invalid region when we invalidate the whole thing. r=roc 2014-03-07 12:31:47 +13:00
Matt Woodrow c1119e728b Bug 978911 - Add reftest for correct invalidation when changing the scale factors of an inactive transform. r=dholbert 2014-03-07 12:30:42 +13:00
Ed Morley 4aff758393 Merge backout; CLOSED TREE 2014-03-07 15:53:02 +00:00
Gijs Kruitbosch 7ee81b4cdf Bug 970404 - don't let users affect document colors for chrome images, r=bz 2014-03-06 23:02:59 -05:00
Alex Henrie d20c8222c4 Bug 963970 - Place combobox button where a scrollbar would be. r=roc 2014-03-06 16:24:01 -07:00
Kartikaya Gupta 9a8fe02e0e Bug 975962 - Allow panning/zooming around the initial viewport for overflow:hidden elements. r=botond,tn 2014-03-07 08:41:00 -05:00
Jonathan Kew 9c7af361c6 bug 970891 - reftest for font fallback on the <space> character. r=roc 2014-02-11 22:17:25 +00:00
Vaibhav Agarwal bb9b55bec2 Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-03-06 13:42:47 -05:00
Vaibhav Agarwal 64e20261db Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-06 13:42:43 -05:00
Ryan VanderMeulen a05a9b8736 Backed out changesets d65a803d2b9a, 9456495d6121, and 73c710ddf3d8 (bug 977757) for Gaia UI test failures.
CLOSED TREE
2014-03-06 13:10:20 -05:00
Benoit Jacob 7cf243add5 Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz 2014-03-06 11:38:21 -05:00
Benoit Jacob 9abee5303e Bug 977757 - 2/3 - add nsCSSProps::eEnabledInChromeOrCertifiedApp bit, and use it for will-change - r=dbaron,bz 2014-03-06 11:38:19 -05:00
Benoit Jacob 52d36cb055 Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-06 11:38:17 -05:00
Ryan VanderMeulen 2e28589dc1 Backed out changesets e7c4304d45d7 and 75d3146ac0d3 (bug 970891) for Android reftest failures.
CLOSED TREE
2014-03-06 11:00:26 -05:00
Jonathan Kew a9e1ef3db5 bug 970891 - reftest for font fallback on the <space> character. r=roc 2014-02-11 22:17:25 +00:00
Jonathan Kew c2c11aa0a5 bug 735577 - followup 1 (v2) - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc 2013-12-31 13:50:31 +00:00
Mats Palmgren ce4292d370 Bug 971955 - Make overflow-clip-box:content-box the default for all <input> @type values except type=file/button/reset/submit. r=roc 2014-03-06 10:03:38 +00:00
Matt Woodrow 205af94a59 Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas 2014-02-13 13:20:41 +13:00
Timothy Nikkel b1852c5b93 Bug 980062. Make nsDisplaySubDocument use the visible rect of the contained list because it contains the enlarged area. r=roc
mVisibleRect contains the bounds after the scrolled content has been clipped to the scrollport. The visible rect on the contained list (mList) contain the bounds for all pre-drawn content in the displayport.
2014-03-05 20:52:54 -06:00
Wes Kocher c4e9ca8e55 Backed out changeset 3b3d4ad70da0 (bug 660224) for turning textarea-focus.html permaorange on Windows 2014-03-05 18:01:32 -08:00
Simon Sapin 4d169705e6 (no bug) Add labels to the various is() checks in test_initial_storage.html, to aid in diagnosing test-failures. r=dholbert 2014-03-05 16:53:08 -08:00
Jonathan Watt f5ba183f67 Bug 660224 - Test whether using MozReftestInvalidate and MozAfterPaint fixes the orange for layout/reftests/css-ui-invalid/default-style/textarea-focus.html. r=dholbert
--HG--
extra : rebase_source : a4134334ad32e4c8334856167f440d769c9b5643
2014-03-06 00:35:23 +00:00
Robert Longson d40d374851 Bug 979407 - Fix ASSERTION: viewport height must be nonnegative, with negative markerHeight or markerWidth attribute. r=dholbert 2014-03-05 21:28:12 +00:00
Ryan VanderMeulen 9ded68150d Merge m-c to inbound on a CLOSED TREE. 2014-03-05 16:08:02 -05:00
Ehsan Akhgari 2b37c097ed Bug 979816 - Backout bug 977701 because of a Talos regression
Landed on a CLOSED TREE
2014-03-05 15:18:09 -05:00
Yuan Xulei b2ead675be Bug 910412 - WebIDL and DOM binding for filesystem API. r=baku, r=smaug, f=dhylands, f=jonas 2014-03-05 11:26:39 +08:00
Simon Montagu b3b07173a0 Add more logical-coordinate API to nsIFrame. Bug 735577, r=jfkthame 2014-03-04 23:31:47 -08:00
L. David Baron 3d27ca2dd2 Bug 828173 bustage fix for non-unified builds: add using declaration. 2014-03-04 21:05:18 -08:00
L. David Baron a3ba562447 Bug 979557: CanAnimatePropertyOnCompositor should return early when there's no OMT compositing, whether or not logging is enabled. r=dzbarsky
This shouldn't behave differently depending on whether or not logging is
enabled; that difference was introduced in bug 785648.
2014-03-04 20:13:22 -08:00