Commit Graph

406900 Commits

Author SHA1 Message Date
Jean-Yves Avenard
cd2aae8295 Bug 1132825: Don't evict partial segments. r=cajbir
Evicting a partial segment can leave the entire sourcebuffer in unplayable
state.
2015-02-17 16:24:19 +13:00
Jean-Yves Avenard
6dffa7b1fa Bug 1133478: Postpone parsing TRUN atom until we have all dependent atoms. r=k17e
Atoms may be out of order inside MOOF, in particular the TFDT may only be
defined after TRUN.
2015-02-17 16:22:52 +13:00
Jean-Yves Avenard
31151f0376 Bug 1131487: Part3. Fix stall when switching decoders. r=mattwoodrow 2015-02-17 16:22:51 +13:00
Kartikaya Gupta
5c6f96cc56 Bug 1131695 - Ensure that mouse and touch events sent via BrowserElementParent to the child are offsetted correctly. r=fabrice 2015-02-16 21:41:49 -05:00
Kartikaya Gupta
053ada6777 Bug 1131695 - Extract a GetLayoutDeviceToCSSScale helper function in TabParent. r=fabrice 2015-02-16 21:41:48 -05:00
Kartikaya Gupta
4c7c740129 Bug 1132464 - Remove EventStateManager::GetChildProcessOffset in favor of TabParent::GetChildProcessOffset. r=smaug 2015-02-16 21:35:03 -05:00
Kartikaya Gupta
362a369841 Bug 1133083 - Fix build when APZCCallbackHelper logging is enabled. r=botond 2015-02-16 21:34:42 -05:00
Makoto Kato
a39c2b2af6 Bug 1121313 - Part 2. Don't generate composition event on child process if parent process doesn't send composition event by NotifyIME. r=masayuki 2015-02-17 11:30:55 +09:00
Makoto Kato
0b84456c40 Bug 1121313 - Part 1. Replace NS_COMPOSITION_CHANGE with NS_COMPOSITION_COMMIT. r=masayuki 2015-02-17 11:30:38 +09:00
Kartikaya Gupta
328ee5bf63 Bug 1131840 - Propagate the EventRegionsOverride flag on RefLayers also. r=roc 2015-02-16 21:30:02 -05:00
Kartikaya Gupta
829d36ca44 Bug 1131840 - Add an EventRegionsOverride flag to force an empty hit region. r=roc,botond 2015-02-16 21:30:02 -05:00
Kartikaya Gupta
7fd26daa4a Bug 1131840 - Replace the shouldForceDispatchToContent flag with a bitset enum. r=roc,botond 2015-02-16 21:30:02 -05:00
Matthew Gregan
e3547aa414 Bug 1133600 - Drop monitor before shutting down AudioStream. r=cpearce 2015-02-17 12:02:07 +13:00
Xidorn Quan
1f651d328a Bug 1132008 part 4 - Fix reftests which rely on the old rtc sizing method. r=dbaron
--HG--
extra : source : b856985e95d7bd2cf2f8f403e65511f44409f2a9
2015-02-17 14:25:18 +13:00
Xidorn Quan
c734dc18d4 Bug 1132008 part 3 - Remove unused code in nsLineLayout. r=dbaron
This code was originally introduced in bug 1055665 part 3.

--HG--
extra : source : a784dd2fe15b67f5e9f0ea380db1bfb6d65ad211
2015-02-17 14:25:18 +13:00
Xidorn Quan
63cd3802b6 Bug 1132008 part 2 - Sync bounds of <rt>s in line layout. r=dbaron
--HG--
extra : source : cd29b50ebcc6839c63acbaf9cab4893103967eda
2015-02-17 14:25:18 +13:00
Xidorn Quan
c914c4063c Bug 1132008 part 1 - Calculate bsize of rtc according to its children. r=dbaron
--HG--
extra : source : e07fd183c24ea7133faa62bc5837e6d30589f05e
2015-02-17 14:25:18 +13:00
Xidorn Quan
e1df1707b5 Bug 1133617 - Reftest Analyzer: Use process_log() directly instead of log_pasted() for log from url or param. r=dbaron DONTBUILD
--HG--
extra : source : feda36730b72911921c9806ca897c512a4d82e1f
2015-02-17 14:05:23 +13:00
Cameron McCormack
920f4356d7 Comment typo fix; no bug. (DONTBUILD) 2015-02-17 11:48:41 +11:00
Cameron McCormack
c1f3b80fe9 Bug 1133176 - Remoe commented out IDL for ViewCSS/DocumentCSS being implemented on SVGSVGElement. r=bzbarsky 2015-02-17 11:39:25 +11:00
Cameron McCormack
3ed9906617 Bug 824222 - Remove commented out IDL members for xmllang, xmlspace and xmlbase. r=bzbarsky 2015-02-12 15:22:29 +11:00
Cameron McCormack
ef65737426 Bug 1131994 - Part 4: Don't fail test_value_computation.html on min-{block,inline}-size:calc(-1%). r=dbaron 2015-02-17 11:36:36 +11:00
Cameron McCormack
aa0740851b Bug 1131994 - Part 3: Fix bad invalid_values in property_database.js for max-{block,inline}-size. r=dbaron 2015-02-17 11:36:36 +11:00
Cameron McCormack
f701da6ef7 Bug 1131994 - Part 2: Fix logical axis and offset property computed value lookup in tests. r=dbaron 2015-02-17 11:36:36 +11:00
Cameron McCormack
972516292a Bug 1131994 - Part 1: Support border-block-{start,end} shorthands in Declaration::GetValue. r=dbaron 2015-02-17 11:36:36 +11:00
Shu-yu Guo
6f3f8b2908 Bug 1131759. (r=terrence) 2015-02-16 15:06:23 -08:00
Shu-yu Guo
e468b5af00 Bug 1133530 - Check for Unwound_IonAccessorIC when advancing past fake exit frames. (r=jandem) 2015-02-16 15:06:23 -08:00
Gijs Kruitbosch
74d4e285be Bug 1133583 - pass window in EME notifications instead of null subject, r=cpearce
--HG--
extra : rebase_source : 509464a80ee8e3d82e5cfb24b6c215ab82d11056
2015-02-16 21:25:11 +00:00
Andrea Marchesini
987e186ef4 Bug 1133541 - ServiceWorkerManger::GetRegistrations should use the principal to match the registration objects, r=nsm 2015-02-16 23:22:17 +01:00
L. David Baron
43c2cd3af5 Bug 960465 patch 22 - Remove implementation of nsRestyleHint_ChangeAnimationPhase. r=birtles 2015-02-17 11:15:06 +13:00
L. David Baron
8c28244fab Bug 960465 patch 21 - Replace one use of nsRestyleHint_ChangeAnimationPhase with nsRestyleHint_AllHintsWithAnimations so that we can remove the rest. r=birtles 2015-02-17 11:15:06 +13:00
L. David Baron
04535c3f75 Bug 960465 patch 20 - Allow pseudo-elements for style attribute replacement in RuleNodeWithReplacement. r=birtles
I confirmed that we're actually using this codepath by manually testing
<input type=color>:  it works with the patch, but if I comment out the
call to nsHTMLCSSStyleSheet::PseudoElementRulesMatching from
nsStyleSet::RuleNodeWithReplacement, then the color swatch breaks, which
proves that we're depending on the code.

I think I included this in the queue because it is needed for patch 22,
although I've forgotten the full reasoning.
2015-02-17 11:15:05 +13:00
L. David Baron
82ec6020a1 Bug 960465 patch 19 - Remove users of eRestyle_ChangeAnimationPhase. r=birtles 2015-02-17 11:15:05 +13:00
L. David Baron
6475962f36 Bug 960465 patch 18 - Remove aElementOrPseudoElement parameter to ReparentStyleContext (added in bug 1057129). r=birtles 2015-02-17 11:15:05 +13:00
L. David Baron
bc26f211f6 Bug 960465 patch 17 - Remove separate animation and non-animation phases of restyling. r=birtles
Note that this means that when we start transitions, we post restyles
that are processed during the current restyling operation, rather than
in a later phase.  This depends on patch 11, which makes the transition
manager skip style changes that it posts while starting transitions, to
ensure that this doesn't lead to an infinite loop.  This also depends on
patch 16, which only consumes restyle data for the primary frame, to
ensure that the animation restyles posted are processed properly.  It
also depends on patch 14, which makes us retain data on finished
transitions, to avoid triggering extra transitions on descendants when
both an ancestor and a descendant transition an inherited property, and
the descendant does so faster.

This fixes a known failure in layout/style/test/test_animations.html and
test_animations_omta.html (as visible in the patch).  I believe this is
because this patch changes us to compute keyframe values for animations
on top of a style context *with* animation data rather than one without,
which means what we're computing them on top of changes each time.  (The
purpose of patch 3 was to avoid this in the case where avoiding it
matters, i.e., implicit 0% and 100% keyframes.)
2015-02-17 11:15:05 +13:00
L. David Baron
7695d1eb3f Bug 960465 patch 16 - Only consume restyle data for the primary frame. r=birtles
This is needed for patch 17, which removes restyling phases, so that
when the transition manager posts a restyle to undo the covering done by
the cover rule, that restyle doesn't get consumed by an inner frame.
2015-02-17 11:15:04 +13:00
L. David Baron
8e1599d76b Bug 960465 patch 15 - Switch debugging user of IsProcessingAnimationOnlyStyleUpdate() to InAnimationOnlyStyleUpdate() so that I can remove the former. r=birtles 2015-02-17 11:15:04 +13:00
L. David Baron
824c76c900 Bug 960465 patch 14 - Retain finished transitions until the next style change or until removed from transition-property. r=birtles
Note that this increases memory use for completed transitions since we
don't throw away the data when the transitions complete.  That said,
this matches what we do for CSS Animations, and it's needed (once we
switch to the new rules for starting transitions) to maintain the
invariant that unrelated style changes don't trigger transitions.

The storage issues could be optimized in the future if it turns out to
be a problem, but I think that's unlikely, given that we'll never store
more than one for any element+property combination.
2015-02-17 11:15:04 +13:00
L. David Baron
0eb562a497 Bug 960465 patch 13 - Remove the cover rule code, which became unused in the previous patch. r=birtles 2015-02-17 11:15:04 +13:00
L. David Baron
fbd52317d1 Bug 960465 patch 12 - Instead of using the full style covered by the cover rule as the parent style for descendents when we've tried starting transitions, use the after-change style. r=birtles
This switches to the new rules for how transitions start on descendants
when also starting on ancestors.
2015-02-17 11:15:03 +13:00
L. David Baron
38c8f0feac Bug 960465 patch 11 - nsTransitionManager should skip style changes that it posted while starting transitions. r=birtles
This will be needed when (in later patches) we stop separating animation
phases.
2015-02-17 11:15:03 +13:00
L. David Baron
933fe5e308 Bug 960465 patch 10 - Invalidate the collection's style rule when we stop some but not all transitions. r=birtles 2015-02-17 11:15:03 +13:00
L. David Baron
ec1d6f8002 Bug 960465 patch 9 - Move the addition of the cover rule into nsTransitionManager::StyleContextChanged so that later patches can make it other than just addition of a rule. r=birtles 2015-02-17 11:15:02 +13:00
L. David Baron
cd2759deae Bug 960465 patch 8 - Get a style that is the correct "after-change style" for once we stop using animation phases. r=birtles 2015-02-17 11:15:02 +13:00
L. David Baron
9e99ab7b35 Bug 960465 patch 7 - Use SetInAnimationOnlyStyleUpdate for ProcessPendingRestyles runs that are only updating animation data. r=birtles 2015-02-17 11:15:02 +13:00
L. David Baron
c60431ba8a Bug 960465 patch 6 - Add the new mechanism for avoiding starting spurious transitions as a result of animations: flush animation styles only before doing other restyle processing. r=birtles 2015-02-17 11:15:02 +13:00
L. David Baron
cf453a224f Bug 960465 patch 5 - Make SMIL animations participate in the animation-only style flush. r=birtles
This is needed to prevent these reftests from failing:
  layout/reftests/svg/smil/smil-transitions-interaction-1a.svg
  layout/reftests/svg/smil/smil-transitions-interaction-1b.svg
  layout/reftests/svg/smil/smil-transitions-interaction-2a.svg
  layout/reftests/svg/smil/smil-transitions-interaction-2b.svg
  layout/reftests/svg/smil/smil-transitions-interaction-4a.svg
  layout/reftests/svg/smil/smil-transitions-interaction-4b.svg
The mIsCSS path fixes the a tests, and the !mIsCSS path fixes the b tests.

This is because this patch series changes the way in which transitions
interact with other types of animations to depend on those animations
being flushed in the animation-only style flush.  (The relevant call is
added in patch 6, though we don't really depend on it until patch 17.)
2015-02-17 11:15:02 +13:00
L. David Baron
1b6ffe0698 Bug 960465 patch 4 - Track whether there are any pending non-animation restyles. r=birtles
This depends on bug 1087536 patch 3, which posts animation restyles
using the eRestyle_CSSTransitions and eRestyle_CSSAnimations hints.

This is used by patch 6.
2015-02-17 11:15:02 +13:00
L. David Baron
ccbaeaf9e9 Bug 960465 patch 3 - Use style without animation for base values for CSS animations (refixes bug 686656 in the new architecture). r=birtles
This is needed to make the tests for bug 686656 in test_animations.html
pass.

Note that once the rest of bug 960465 happens this will start producing
slightly different results in edge cases, since we will only be skipping
animation styles for the element itself and not for ancestors.  However,
both old and new behaviors are incorrect, since per spec we should be
updating the base values dynamically (bug 1064915).
2015-02-17 11:15:01 +13:00
L. David Baron
4eedf5bf60 Bug 960465 patch 2 - Add method to return a modified version of a style context, with all or part of the animation data removed. r=birtles
This is used in patch 3.
2015-02-17 11:15:01 +13:00