Commit Graph

20308 Commits

Author SHA1 Message Date
Daniel Holbert
9cf3efea1d 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
43d224d84e 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
cfcf79d707 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
8bbf9836fa 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
774ef76723 Bug 981116: Convert nsFlexContainerFrame boolean member-var into frame state bit. r=heycam 2014-03-07 15:58:38 -08:00
Daniel Holbert
284d261cbc Bug 981127: Mark nsIFrame methods HasAllStateBits() & HasAnyStateBits() as 'const'. r=heycam 2014-03-07 15:58:37 -08:00
Wes Kocher
853f6e211d Backed out changeset 7a2a0130dcdd (bug 980186) for breaking b2g reftests on a CLOSED TREE 2014-03-07 13:57:06 -08:00
Mike Conley
23fcc345bc Backing out bug 940455 (36e45a68452b) for numerous regressions. r=bustage-fix. 2014-03-07 16:50:30 -05:00
Ryan VanderMeulen
be8c199c93 Merge m-c to inbound. 2014-03-07 15:45:57 -05:00
Jeff Muizelaar
800239b052 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
238e2ab515 Merge inbound to m-c. 2014-03-07 15:38:19 -05:00
Benoit Jacob
e01f9a3958 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
c3679a9840 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
5690c8f7e0 Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-07 12:14:23 -05:00
Daniel Holbert
f48ac1cd5c 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
6915f3f78a Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures 2014-03-07 15:45:59 +00:00
L. David Baron
a2f97c232b 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
f59fdc97c7 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
78f8a5efe0 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
887c38c308 Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Seth Fowler
d3a5ae8a34 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
b35c5ec9f4 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
1d4cc3b29e 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
1d95f5076a 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
a21868703a Merge backout; CLOSED TREE 2014-03-07 15:53:02 +00:00
Gijs Kruitbosch
4bc134f524 Bug 970404 - don't let users affect document colors for chrome images, r=bz 2014-03-06 23:02:59 -05:00
Alex Henrie
9aa7a86686 Bug 963970 - Place combobox button where a scrollbar would be. r=roc 2014-03-06 16:24:01 -07:00
Kartikaya Gupta
37d4a38192 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
8a3460cabd bug 970891 - reftest for font fallback on the <space> character. r=roc 2014-02-11 22:17:25 +00:00
Vaibhav Agarwal
f0bd81877d 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
b192b2603d Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-06 13:42:43 -05:00
Ryan VanderMeulen
eccc1b69c8 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
bb9ddf27a6 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
5af2dfb560 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
39560c498f Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-06 11:38:17 -05:00
Ryan VanderMeulen
0636b6fe12 Backed out changesets e7c4304d45d7 and 75d3146ac0d3 (bug 970891) for Android reftest failures.
CLOSED TREE
2014-03-06 11:00:26 -05:00
Jonathan Kew
8de6199eae bug 970891 - reftest for font fallback on the <space> character. r=roc 2014-02-11 22:17:25 +00:00
Jonathan Kew
d65fad3678 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
079b02433f 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
64f553ecba 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
ddb6cf9173 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
fb6fc414de Backed out changeset 3b3d4ad70da0 (bug 660224) for turning textarea-focus.html permaorange on Windows 2014-03-05 18:01:32 -08:00
Simon Sapin
ee55ba56ec (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
913f725c73 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
f082c2fae8 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
4de3678a20 Merge m-c to inbound on a CLOSED TREE. 2014-03-05 16:08:02 -05:00
Ehsan Akhgari
4788926251 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
9657ff32f3 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
a69d6fb3f4 Add more logical-coordinate API to nsIFrame. Bug 735577, r=jfkthame 2014-03-04 23:31:47 -08:00
L. David Baron
46d1ed70f7 Bug 828173 bustage fix for non-unified builds: add using declaration. 2014-03-04 21:05:18 -08:00