Commit Graph

5225 Commits

Author SHA1 Message Date
Brian Birtles
a02c9643ee Bug 1178186 part 1 - Add CSSAnimation and CSSTransition interfaces; r=smaug 2015-06-30 10:00:39 +09:00
Timothy Nikkel
25c21aef08 Bug 1114526 - Make sure that CSS image invalidation also notifies rendering observers even if the image isn't visible (because the rendering observers might be visible). r=mattwoodrow
There is no retained rendering data for non-visible images, so FrameLayerBuilder::IterateRetainedData never calls it's callback, the callback is the only thing that calls nsSVGEffects::InvalidateDirectRenderingObservers. We need to call nsSVGEffects::InvalidateDirectRenderingObservers always.
2015-06-25 13:46:00 -04:00
Carsten "Tomcat" Book
addd366430 Backed out changeset 1e1ccffd51b8 (bug 1178186) for suspicion of causing bc2 test failures on OSX browser_bug427559.js 2015-07-07 14:22:33 +02:00
Carsten "Tomcat" Book
bb60977948 Backed out changeset 144276fd40a1 (bug 1179111) 2015-07-07 14:21:46 +02:00
Carsten "Tomcat" Book
6799a719d6 Backed out changeset 4eb184faf92c (bug 1179111) 2015-07-07 14:21:42 +02:00
Carsten "Tomcat" Book
a6970a6f1a Backed out changeset 22cafa2fd162 (bug 1179111) 2015-07-07 14:21:33 +02:00
Emanuel Hoogeveen
31c0c961cd Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Brian Birtles
b37a7e8f43 Bug 1179111 part 5 - Remove Name() methods; r=jwatt 2015-07-01 15:19:04 +09:00
Brian Birtles
81eb6fc9be Bug 1179111 part 2 - Implement CSSTransition.transitionProperty; r=smaug, r=jwatt 2015-07-01 12:27:48 +09:00
Brian Birtles
1724363311 Bug 1179111 part 1 - Implement CSSAnimation.animationName; r=smaug, r=jwatt 2015-07-01 12:15:42 +09:00
Brian Birtles
9addf1c96b Bug 1178186 part 1 - Add CSSAnimation and CSSTransition interfaces; r=smaug 2015-06-30 10:00:39 +09:00
Cameron McCormack
d0f46ef66b Bug 1180083 - Avoid shadowing info() in test_property_database.html. r=dbaron 2015-07-07 09:50:53 +10:00
Cameron McCormack
0731f8ce65 Bug 1179675 - Make FontFaceSet.cpp compile as part of UNIFIED_SOURCES. r=jdaggett 2015-07-02 00:45:00 +02:00
Jonathan Kew
69e22e37f0 Bug 1177076 patch 3 - Change the initial value of 'caption-side' from 'top' (physical) to 'block-start' (logical). r=heycam 2015-07-03 11:37:44 +01:00
Jonathan Kew
56a16aa2e5 Bug 1177076 patch 1 - Add logical values for the caption-side property (though not yet handled by layout code). r=heycam 2015-07-03 11:37:25 +01:00
Jonathan Kew
d877ac74b5 Bug 1179285 - Give text-combine-upright its own pref, separate from writing-mode (vertical-text), so that we can keep it disabled until we actually have a layout implementation backing the CSS property. r=dbaron 2015-07-02 13:27:33 +01:00
Matt Woodrow
68c439c729 Bug 1177149 - Don't force an invalidation for transform origin changes. r=dbaron 2015-07-02 13:47:05 -04:00
Lee Salzman
a7fb589b65 Bug 771367 - Refactor GetAnimationContent and GetAnimationCollection into CommonAnimationManager to hide atom and pseudo-element voodoo. r=bbirtles 2015-07-01 14:43:13 -04:00
Lee Salzman
09bab5fc25 Bug 771367 - Update test_animations_omta.html to support testing pseudo-elements. r=dbaron 2015-07-01 12:08:30 -04:00
Lee Salzman
c813b6b2e2 Bug 771367 - Support compositor animation for pseudo-elements. r=dbaron 2015-07-01 11:55:51 -04:00
Cameron McCormack
10e8f744a3 Bug 1179078 - Recover from parse errors inside image values in border-image properly. r=dholbert 2015-07-01 16:42:31 +10:00
L. David Baron
ea9666ee19 Bug 1176969 - Disable OMT animation for any frame in a preserve-3d scene rather than only frames whose parent and child are in a preserve-3d scene. r=mattwoodrow
frame->Preserves3D() is whether the frame's parent has transform-style:
preserve-3d, which means that the frame is part of the same 3-D scene as
its parent.  frame->Preserves3DChildren() is whether the frame itself
has transform-style: preserve-3d, which means that the frame is part of
the same 3-D scene as its children.

Neither of these are valid cases for doing off-main-thread (OMT)
animation because all of the layers in a preserve-3d scene are currently
siblings of each other, rather than preserving ancestor/descendant
relationships.  This means that it's not valid to animate transform of
the parent on the compositor because the compositor animation won't
update any of its children that have layers.  Likewise, it's not valid
to animate transform of the child on the compositor because the code
that sends transform information to the compositor doesn't handle the
accumulation of transforms needed to get the "right" transform for the
child (i.e., with the transforms of its ancestors up to the top of the
3-D scene merged in).

This means that we do OMT animation for slightly fewer cases with the
patch than we did without the patch.  This means it's pretty low risk in
terms of correctness, although there's a chance it might regress
performance on one of the (somewhat limited) set of cases where the
optimization was valid.  (Bug 779598 covers doing OMT animation for
preserve-3d cases, and depends on the work ongoing in bug 1097464.)

The animate-preserve3d-parent.html reftest doesn't fail without the
patch, since something seems to invalidate in the test; it was testing
the testcase that showed correct behavior when the mouse was moving, so
this isn't incredibly surprising (although that invalidation from mouse
movement is itself worth debugging).  The animate-preserve3d-child.html
test does fail without the patch, though.

(With an initial transform of none instead of the 30deg transform, both
tests also show an invalidation bug without the patch.)
2015-06-30 11:29:55 -07:00
Jonathan Kew
44cdda187d Bug 789788 - Revise the don't-use-document-fonts option so that it will prefer generics (as configured in prefs) but ignore the 'cursive' and 'fantasy' values, but may still use page-specified fonts if necessary for fallback (e.g. icon fonts). r=dbaron 2015-06-27 22:23:05 -07:00
Cameron McCormack
231a40ec61 Bug 1072102 - Part 2: Tests. r=jdaggett 2015-06-27 11:41:10 +10:00
Cameron McCormack
3e5c2ac779 Bug 1072102 - Part 1: Implement FontFaceSet load and check. r=jdaggett,bzbarsky 2015-06-27 11:41:10 +10:00
Cameron McCormack
073f606691 Bug 1163879 - Remove FontFaceSet::mUnavailableFontFaces. r=jdaggett 2015-06-27 11:39:54 +10:00
Cameron McCormack
acb6d1f265 Bug 1161413 - Part 7: Test Font Loading API in a display:none iframe. r=jdaggett 2015-06-27 11:39:54 +10:00
Cameron McCormack
187d7c971c Bug 1161413 - Part 5: Cancel font loads on FontFaceSet destruction. r=jdaggett 2015-06-27 11:39:54 +10:00
Cameron McCormack
f1d0bf37f6 Bug 1161413 - Part 4: Move FontFaceSet ownership from nsPresContext to nsIDocument. r=smaug 2015-06-27 11:39:54 +10:00
Cameron McCormack
a7f678309e Bug 1161413 - Part 3: Only reflow from the font face loader if we have a pres context. r=jdaggett 2015-06-27 11:39:54 +10:00
Cameron McCormack
ecf05871dd Bug 1161413 - Part 2: Create FontFace objects with a FontFaceSet rather than a pres context. r=jdaggett 2015-06-27 11:39:54 +10:00
Cameron McCormack
c05d48f6d0 Bug 1161413 - Part 1: Create FontFaceSet with a document rather than a pres context. r=jdaggett 2015-06-27 11:39:54 +10:00
Cameron McCormack
2cdd21b315 Bug 77999 - Remove stray printf. 2015-06-27 02:33:58 +10:00
Muhsin A. Steiman
2b4903b06c Bug 1172012 - Fixes a copy & paste error in nsCSSValue.cpp. r=heycam 2015-06-05 11:25:00 +02:00
Cameron McCormack
c7c3c372d6 Bug 77999 - Followup build bustage fix.
CLOSED TREE
2015-06-26 14:22:52 +10:00
Cameron McCormack
ea2136ef59 Bug 77999 - Unified build fix followup. 2015-06-26 13:52:48 +10:00
Cameron McCormack
941e794b58 Bug 77999 - Part 5: Cache eAgentSheet and eUserSheet rule processors in the RuleProcessorCache. r=dbaron
Ignoring sheets added by add-ons, all sheets in the eAgentSheet and
eUserSheet levels should come from the nsLayoutStylesheetCache and thus
allow multiple documents to make use of a shared rule processor.
2015-06-26 13:52:48 +10:00
Cameron McCormack
0274cb2bf2 Bug 77999 - Part 4: Mark nsCSSRuleProcessors as ready for expiration from the RuleProcessorCache once no nsStyleSets are using them. r=dbaron
We want the RuleProcessorCache to start considering a given
nsCSSRuleProcessor as ready for expiration only once no nsStyleSets are
using it.
2015-06-26 13:52:47 +10:00
Cameron McCormack
b21e55647a Bug 77999 - Part 3: Gather document rules and produce an nsDocumentRuleResultCacheKey in nsCSSRuleProcessors. r=dbaron 2015-06-26 13:52:47 +10:00
Cameron McCormack
69edc9b6c0 Bug 77999 - Part 2: Add RuleProcessorCache. r=dbaron 2015-06-26 13:52:47 +10:00
Cameron McCormack
bf6758907d Bug 77999 - Part 1: Add nsDocumentRuleResultCacheKey. r=dbaron 2015-06-26 13:52:47 +10:00
Cameron McCormack
702affa6ae Bug 1170888 - Restyle the document in EnsureSafeToHandOutCSSRules if we previously cloned sheet inners outside of that method. r=bzbarsky 2015-06-26 13:49:58 +10:00
Cameron McCormack
47cfbf336f Bug 1169512 - Add and remove quirk.css rather than enable and disable a clone of it. r=jwatt 2015-06-26 13:49:58 +10:00
Cameron McCormack
6f163b71dc Bug 1122253 - Support -moz-min-content etc. keywords in {,min-,max-}inline-size and their physical equivalents. r=bzbarsky 2015-06-25 08:40:38 +10:00
Boris Zbarsky
16feebb0cc Bug 1175192. Consistently allow identifiers to start with -- in the CSS parser. r=heycam 2015-06-24 10:17:05 -07:00
Jonathan Kew
9f260a6d1f Bug 1077521 - Allow tables to use vertical writing modes. r=smontagu 2015-06-23 13:03:40 -07:00
Cameron McCormack
9005dbbab5 Bug 804975 - Part 4: Cache reset structs on rule nodes for different font-size or writing mode values. r=dbaron 2015-06-23 11:48:18 +10:00
Cameron McCormack
407dd2b5e3 Bug 804975 - Part 3: Support conditional cached reset structs on rule nodes. r=dbaron 2015-06-23 11:48:18 +10:00
Cameron McCormack
46ef4eb2da Bug 804975 - Part 2: Add a RuleNodeCacheConditions class and use it instead of a boolean canStoreInRuleTree during style computation. r=dbaron 2015-06-23 11:48:18 +10:00
L. David Baron
322353ea3a Bug 1169440 patch 5 - Adjust hints in CalcDifference methods to emit new nsChangeHint_ReflowChangesSizeOrPosition hint. r=heycam
Note that most of what is needed was actually taken care of by patch 1's
addition of the new hint to nsChangeHint_AllReflowHints.
2015-06-20 21:54:15 -07:00