Commit Graph

22624 Commits

Author SHA1 Message Date
Max Vujovic
2fb4e9afb8 Bug 948265 - Add CSS invert filter to nsCSSFilterInstance. r=mstange 2014-08-25 12:23:19 -07:00
Birunthan Mohanathas
d41e6af583 Bug 1045801 - Rename SafeCast to AssertedCast. r=Waldo 2014-08-25 12:17:32 -07:00
Ryan VanderMeulen
3b99d0fa33 Merge inbound to m-c. a=merge
CLOSED TREE
2014-08-25 11:49:37 -04:00
Daniel Holbert
be3e34d31c Bug 1055977 part 1: Use !important (and 'initial') in full-screen-override.css, to more thoroughly prevent ancestors of a fullscreen element from creating stacking contexts. r=dbaron 2014-08-24 22:11:15 -07:00
L. David Baron
f18c998913 Bug 1057129 patch 3 - Post restyles from CheckAnimationRule directly to pseudo-elements. r=birtles
This matches patch 2, and also fixes an incorrect use of eRestyle_Self
on the parents of pseudo-elements in order to restyle those
pseudo-elements, where it would not previously have been effective.

This should all be temporary, since this code can go away with bug
960465, when animation phases are removed.
2014-08-24 21:48:22 -07:00
L. David Baron
ea37b4eab5 Bug 1057129 patch 2 - Post all animation restyles directly to pseudo-elements. r=birtles
This (like patch 1) posts restyles directly to the pseudo-element
content nodes, which is a new thing as of this bug.  Previously we'd
have posted eRestyle_Subtree restyles to the pseudo element's real
element (i.e., the parent of the pseudo-element content node).

This changes the way we post animation restyles for ::before and ::after
pseudo-elements with animations on them.
2014-08-24 21:48:22 -07:00
L. David Baron
13892d1c25 Bug 1057129 patch 1 - Make AddStyleUpdatesTo handle pseudo-elements. r=birtles
This (like patch 2) posts restyles directly to the pseudo-element
content nodes, which is a new thing.

This isn't needed right now since AddStyleUpdatesTo is currently only
used when updating main-thread-suppressed animations running on the
compositor.  However, it will be needed once we depend on
AddStyleUpdatesTo for bug 960465.  And it will have an effect now since
AddStyleUpdatesTo actually adds all animations rather than only the ones
that are suppressed from running on the main thread.
2014-08-24 21:48:22 -07:00
L. David Baron
debc6f4dbb Bug 1057098 - Rename ElementRestyler::Restyle{Before,After}Pseudo to MaybeReframeFor{Before,After}Pseudo. r=bzbarsky 2014-08-24 21:48:21 -07:00
Ed Lee
00b379f057 Bug 1042876 - Reftest bustage to correctly disable remote connections for reftests [r=froydnj]
--HG--
extra : rebase_source : f2065bf559560fbc852d7e57e6d18bc5bcf65b40
2014-08-22 18:05:09 -07:00
Wes Kocher
73fd76fdb6 Merge m-c to fx-team a=merge 2014-08-22 17:10:53 -07:00
Wes Kocher
1330f3416d Merge inbound to m-c a=merge 2014-08-22 16:47:32 -07:00
C.J. Ku
fda746a54a Bug 974242 - Enable B2G zoom-out test cases. r=ahal
--HG--
extra : rebase_source : d41b6bf70cd6e1ecc636aff6a147b2e73f2d5c70
2014-08-18 10:52:00 -04:00
C.J. Ku
97a70c2003 Bug 974242 - Registry and handle FullZoomChange chrome event in TabChild. r=tn, r=kats
--HG--
extra : rebase_source : 05a700f9071d30b87916ffa949acfed776f21f0c
2014-08-21 19:37:00 -04:00
Max Vujovic
d61c59b7bc Bug 948265 - Add CSS sepia filter to nsCSSFilterInstance. r=mstange 2014-08-21 10:17:12 -07:00
Max Vujovic
d7fd22c37c Bug 948265 - Add CSS grayscale filter to nsCSSFilterInstance. r=mstange 2014-08-21 10:17:09 -07:00
Chenxia Liu
4baf052d07 Bug 1021751 - Homebanner snippet. r=lucasr 2014-08-22 15:07:40 -07:00
David Zbarsky
48fe8afc64 Bug 952977: Switch some uses of gfx3DMatrix in nsLayoutUtils to Matrix4x4 r=nical 2014-08-22 09:40:02 -04:00
Ed Morley
eb4526b598 Backed out changeset 3a61a6eb04d6 (bug 1055821) for build failures 2014-08-22 14:12:01 +01:00
Benoit Girard
02778373f9 Bug 1055821 - Add layer construction logging. r=mattwoodrow 2014-08-21 13:46:07 -04:00
Simon Montagu
1eccbca0b4 Bug 1054810: when block size is unconstrained and we aren't setting aDesiredSize.BSize to the computed block size, preserve the original value. r=jfkthame. 2014-08-22 00:04:41 -07:00
Brian Birtles
c6384d518e Bug 1045993 part 2 - Move the animation name from AnimationPlayer to Animation; r=dbaron
This patch stores the animation name on the Animation object rather than its
AnimationPlayer. This is because Animation objects don't have a reference to
their AnimationPlayer but their AnimationEffect needs access to the animation
name.

This patch also adds an accessor for AnimationPlayer to get the name from its
Animation (since players *do* have a reference to their source animation
content).
2014-08-22 13:42:48 +01:00
Robert O'Callahan
3de72b147b Bug 1054161. Don't build display items for text with alpha=0. r=dbaron
--HG--
extra : rebase_source : 869a05a652a3bc6e8e122d34fb166ed9fbbdaa5c
2014-08-23 00:08:12 +12:00
Trevor Saunders
b6b2d4b019 bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Matt Woodrow
39d0f7f70c Bug 1056427 - Stop PRenderFrame from managing PLayerTransaction since it hasn't worked since the layers refactoring. r=roc
--HG--
extra : rebase_source : 38c86648bb8e59a6b992bd377acb9aacb418c98b
2014-08-22 12:16:44 +12:00
Daniel Holbert
91103235fa Bug 1056864: In ParseGridLine, use Maybe<int32_t> instead of separate bool & integer. r=SimonSapin 2014-08-21 15:56:40 -07:00
Nathan Froyd
2374d4767a Bug 1055281 - check for existence of paths in LOCAL_INCLUDES in moz.build; r=mshal 2014-08-20 11:51:33 -04:00
Markus Stange
9823bd0e51 Bug 1011166 - Improve the workarounds cairo does when rendering large gradients with pixman. rubber-stamp=roc, pending r?jrmuizel 2014-08-21 13:57:55 +02:00
Olli Pettay
2feb3a9d6a Bug 1054773 - Fix crashes in nsProgressFrame.cpp r=wchen 2014-08-20 17:38:01 -07:00
Max Vujovic
ce5f21b98c Bug 948265 - Add CSS saturate filter to nsCSSFilterInstance. r=mstange,dbaron 2014-08-20 17:52:28 -07:00
Seth Fowler
334698c3df Bug 1024454 (Part 1) - Eagerly propagate dirty bits so absolute children of table parts get reflowed reliably. r=dbaron 2014-08-20 17:48:56 -07:00
Max Vujovic
db3be318b4 Bug 948265 - Add CSS hue-rotate filter to nsCSSFilterInstance. r=mstange,dbaron 2014-08-20 15:46:59 -07:00
L. David Baron
effdce7aca Bug 1048838 - Add mochitest for transitions and restyles. No review.
The third test fails without the patch, and passes with the patch.
2014-08-20 14:57:21 -07:00
Brian Birtles
96b58d1f07 Bug 1048838 - Properly invalidate the style rule in nsTransitionManager::StyleContextChanged. r=dbaron
This patch fixes a regression from
https://hg.mozilla.org/mozilla-central/rev/31695984cfe2 (bug 1025709). That
patch replaced the EnsureStyleRuleFor method on ElementTransitions and
ElementAnimations with a common method in CommonElementAnimationData.

ElementTransitions::EnsureStyleRuleFor would create a new style rule if
there was no style rule (mStyleRule == nullptr) or if the refresh time was
old (mStyleRuleRefreshTime != aRefreshTime).

ElementAnimations::EnsureStyleRuleFor, however, would create a new style rule
only if mStyleRuleRefreshTime was null or old since a null style rule may
still be valid for animations (unlike transitions). If we bail as soon as we
a null style rule we would never update mNeedsRefreshes when the animation
finishes.

The unified version of EnsureStyleRuleFor in CommonElementAnimationData
adopted the behavior from ElementAnimations checking for a null or old
mStyleRuleRefreshTime.

However, nsTransitionManager::StyleContextChanged sets mStyleRule to nullptr
to indicate that we need to generate a new style rule. This means that we
will fail to create a style rule for the transition in some cases.

This patch addresses this by making nsTransitionManager::StyleContextChanged
set mStyleRuleRefreshTime to a null timestamp. Setting mStyleRule to nullptr
is no longer necessary since EnsureStyleRuleFor will do this when necessary
and nsTransitionManager::mStyleRule is only used after calling
EnsureStyleRuleFor.
2014-08-12 16:57:21 +09:00
Ryan VanderMeulen
07c694a4e3 Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-20 16:23:04 -04:00
Ryan VanderMeulen
aff546e81b Merge inbound to m-c. a=merge 2014-08-20 16:14:23 -04:00
Daniel Holbert
ad3dc780aa Bug 1041951 followup: Fix broken comparison against NS_FONT_VARIANT_CAPS_SMALLCAPS, to use != instead of negation. r=dbaron 2014-08-20 11:07:26 -07:00
Ed Morley
b3374017d7 Merge mozilla-central and b2g-inbound 2014-08-20 15:19:45 +01:00
John Daggett
70ab880b94 Bug 975744 - unprefix font-feature-settings and font-language-override in tests. r=jfkthame 2014-08-20 16:54:37 +09:00
John Daggett
d7cf8f6fad Bug 975744 - remove font features pref and enable features by default. r=dbaron 2014-08-20 16:54:35 +09:00
John Daggett
73a4c7f5dd Bug 1041951 - reftests for font-variant shorthand. r=jfkthame 2014-08-20 16:54:33 +09:00
John Daggett
127300e717 Bug 1041951 - rework computed value of font-variant to support only 2.1 values. r=dbaron 2014-08-20 16:54:27 +09:00
John Daggett
e76e48d5b2 Bug 1041951 - parse font-variant as a shorthand for font feature subproperties. r=dbaron 2014-08-20 16:54:25 +09:00
C.J. Ku
008a7c29c3 Bug 1055040 - Send mouse events base on canvas position and enable this test case on all B2G builds. r=ehsan 2014-08-19 19:38:00 -04:00
Matt Woodrow
5391a14571 Bug 1030124 - If the nsDisplayTransform frame isn't actually transformed (and not a reference frame), then apply the coordinate space change offset when we compute the transform for the preserve-3d
parent. r=roc
2014-08-20 17:43:26 +12:00
Ehsan Akhgari
cd69e77d58 Bug 1055519 - Fix some more bad implicit constructors in layout and widget; r=roc 2014-08-20 00:58:22 -04:00
Seth Fowler
6572249113 Bug 35168 - Backout 4 changesets (e15a7a0c8f70, 852b5ce53278, f36adee1958f, 479ff28f783f) for B2G bustage and reftest failures ON A CLOSED TREE
--HG--
extra : amend_source : 2be4ad526c51311c6f03b2681dd3961c1502c303
2014-08-19 20:37:14 -07:00
Seth Fowler
3bbfa9c94b Bug 35168 (Part 3) - Add dynamic tests for table part relative positioning. r=dbaron 2014-08-19 18:24:59 -07:00
Seth Fowler
fd413d3a26 Bug 35168 (Part 3) - Add tests for table part relative positioning. r=dbaron 2014-08-19 18:24:58 -07:00
Seth Fowler
86e08e7fa1 Bug 35168 (Part 2) - Allow relative positioning of internal table objects. r=dbaron 2014-08-19 18:24:58 -07:00
Seth Fowler
26523ba9ac Bug 35168 (Part 1) - Add GetNormalRect to nsIFrame. r=dbaron 2014-08-19 18:24:57 -07:00