3a4ecfff302a300e8165265eabca94f95d95dfda: Bug 1074054 part 1 - Add Animation::IsInEffect; r=dbaron
Brian Birtles <birtles@gmail.com> - Thu, 02 Oct 2014 15:14:14 +0900 - rev 208351
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1074054 part 1 - Add Animation::IsInEffect; r=dbaron This patch adds a utility method to return if an animation is "in effect" or not as defined by Web Animations: http://w3c.github.io/web-animations/#in-effect It also moves the utility method for querying if an animation is "current" (IsCurrent) to the .cpp file since it is fairly long. (Bug 1046055 makes one of the callers of IsCurrent inline-able which should offset any cost introduced by this no longer being inline-able.)
dedaffb8297a9167a9677c531edbac427ded6b53: Bug 1046055 part 5 - Check for current animations from ActiveLayerTracker::IsStyleAnimated; r=dbaron
Brian Birtles <birtles@gmail.com> - Thu, 02 Oct 2014 15:14:14 +0900 - rev 208350
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1046055 part 5 - Check for current animations from ActiveLayerTracker::IsStyleAnimated; r=dbaron Within the context of determining of a layer is active, we should only consider an element animated if it has an animation that is yet to finish, i.e. a current animation. Animations that have finished should not cause a layer to be active (even if they are applying a forwards fill). This patch makes that change by calling nsLayoutUtils::HasCurrentAnimationsForProperty instead of nsLayoutUtils::HasAnimations.
4945682e29a6f714ff04e93e0221030f5d6a343e: Bug 1046055 part 4 - Add HasCurrentAnimationsForProperty to nsLayoutUtils; r=dbaron
Brian Birtles <birtles@gmail.com> - Thu, 02 Oct 2014 15:14:14 +0900 - rev 208349
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1046055 part 4 - Add HasCurrentAnimationsForProperty to nsLayoutUtils; r=dbaron This patch adds a method to nsLayoutUtils, alongside the existing HasCurrentAnimations, that returns true if there exists an unfinished animation on the element for the specified property.
860a94d6002a4b80b385dc47fae95ad505b64ddd: Bug 1046055 part 3 - Add AnimationPlayerCollection::HasCurrentAnimationsForProperty; r=dbaron
Brian Birtles <birtles@gmail.com> - Thu, 02 Oct 2014 15:14:13 +0900 - rev 208348
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1046055 part 3 - Add AnimationPlayerCollection::HasCurrentAnimationsForProperty; r=dbaron This patch adds another method to AnimationPlayerCollection alongside HasCurrentAnimations that returns true if there is a player in the collection with current source content that targets the specified property. At the same time it also makes the original HasCurrentAnimations a const method.
37090bda656483e2e7163403b3d67b2051431311: Bug 1046055 part 2 - Rename AnimationPlayer::IsCurrent to HasCurrentSource; r=dbaron
Brian Birtles <birtles@gmail.com> - Thu, 02 Oct 2014 15:14:13 +0900 - rev 208347
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1046055 part 2 - Rename AnimationPlayer::IsCurrent to HasCurrentSource; r=dbaron It's not the player that's "current" (a Web Animations term for an animation that hasn't yet finished), but its source content, if any. This patch renames the method on AnimationPlayer accordingly. At the same time this patch moves the method to the header file since it's quite simple and could possibly benefit from inlining.
723e749323c64d9aa7ee4ffeb51314da2b7e8d45: Bug 1046055 part 1 - Remove nsPresContext parameter from nsLayoutUtils::HasCurrentAnimations; r=dbaron
Brian Birtles <birtles@gmail.com> - Thu, 02 Oct 2014 15:14:13 +0900 - rev 208346
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1046055 part 1 - Remove nsPresContext parameter from nsLayoutUtils::HasCurrentAnimations; r=dbaron
41476731392e5071854bd36eb52faa7a40e8fde7: Bug 1073396 - Make Element.getAnimationPlayers flush style; r=dbaron
Brian Birtles <birtles@gmail.com> - Thu, 02 Oct 2014 15:14:13 +0900 - rev 208345
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1073396 - Make Element.getAnimationPlayers flush style; r=dbaron
79ea9a38b446e5e46b66fec7365d2ed5e50891a8: Bug 1074651 - Detect integer overflow in BaseTimeDuration::TicksFromMilliseconds; r=bz
Brian Birtles <birtles@gmail.com> - Thu, 02 Oct 2014 15:14:12 +0900 - rev 208344
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1074651 - Detect integer overflow in BaseTimeDuration::TicksFromMilliseconds; r=bz
33a3fd4d1970f53788f967052d81e07c1d43136f: Bug 1075617 followup to fix crash when rule is null.
Boris Zbarsky <bzbarsky@mit.edu> - Thu, 02 Oct 2014 02:06:39 -0400 - rev 208343
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1075617 followup to fix crash when rule is null.
6351a349b35dd5e9c0f2c8a59b8687aa05999e1c: Bug 1075617. Log the correct file/line for the @font-face rule for font errors. r=jfkthame
Boris Zbarsky <bzbarsky@mit.edu> - Thu, 02 Oct 2014 00:23:53 -0400 - rev 208342
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1075617. Log the correct file/line for the @font-face rule for font errors. r=jfkthame
109ae9a694cc2cab0f365b1a76f5596fc7e1cf49: Bug 1028497 - Part 28: Reftests. r=jdaggett
Cameron McCormack <cam@mcc.id.au> - Thu, 02 Oct 2014 12:32:10 +1000 - rev 208341
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1028497 - Part 28: Reftests. r=jdaggett
9463ab08610e0da0b271ad4d058f514075e2cb63: Bug 1028497 - Part 27: Rename some things. r=jdaggett
Cameron McCormack <cam@mcc.id.au> - Thu, 02 Oct 2014 12:32:10 +1000 - rev 208340
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1028497 - Part 27: Rename some things. r=jdaggett
7e52db037dd484fc5f24a5b1e74c0cd33aae9ba8: Bug 1028497 - Part 26: Tests. r=jdaggett
Cameron McCormack <cam@mcc.id.au> - Thu, 02 Oct 2014 12:32:09 +1000 - rev 208339
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1028497 - Part 26: Tests. r=jdaggett
6d287b9a4126d61df2124b269a4999700e71c86f: Bug 1028497 - Part 25: Support loading of fonts from ArrayBuffer{,View}s. r=bzbarsky,jdaggett
Cameron McCormack <cam@mcc.id.au> - Thu, 02 Oct 2014 12:32:09 +1000 - rev 208338
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1028497 - Part 25: Support loading of fonts from ArrayBuffer{,View}s. r=bzbarsky,jdaggett
805c3767797b426a6382f3536d6cf66884724227: Bug 1028497 - Part 24: Implement FontFaceSet.{ready,status} and dispatch events. r=jdaggett,bzbarsky
Cameron McCormack <cam@mcc.id.au> - Thu, 02 Oct 2014 12:32:09 +1000 - rev 208337
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1028497 - Part 24: Implement FontFaceSet.{ready,status} and dispatch events. r=jdaggett,bzbarsky
d2eec43dc03556451c575ad60222cac37944d983: Bug 1028497 - Part 23: Implement FontFaceSet.{add,clear,delete,has}. r=jdaggett
Cameron McCormack <cam@mcc.id.au> - Thu, 02 Oct 2014 12:32:09 +1000 - rev 208336
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1028497 - Part 23: Implement FontFaceSet.{add,clear,delete,has}. r=jdaggett Implementing Add, Delete and Clear involves shuffling FontFace objects between mOtherFaces and mUnavailableFaces.
ec544f1e834910a37b2a7f913dc6a6b369e72193: Bug 1028497 - Part 22: Make FontFace.load() work for unconnected FontFace objects. r=jdaggett
Cameron McCormack <cam@mcc.id.au> - Thu, 02 Oct 2014 12:32:09 +1000 - rev 208335
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1028497 - Part 22: Make FontFace.load() work for unconnected FontFace objects. r=jdaggett The same DoLoad() call works with both CSS-connected and unconnected FontFaces.
a558b520cc089a3d271a03fe1242fdc30876d4fe: Bug 1028497 - Part 21: Implement the FontFace constructor's parsing of descriptors. r=bzbarsky,jdaggett
Cameron McCormack <cam@mcc.id.au> - Thu, 02 Oct 2014 12:32:09 +1000 - rev 208334
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1028497 - Part 21: Implement the FontFace constructor's parsing of descriptors. r=bzbarsky,jdaggett This implements the bulk of the FontFace JS constructor, which parses the descriptors passed in. We need a notion now of whether a FontFace is "initialized", since the spec requires us to go through the event loop before parsing the 'src' descriptor. So a couple of places now have to check whether the FontFace is fully initialized, and we have a method to inform the FontFaceSet when a FontFace becomes initialized, in case we added it to the FontFaceSet before it was initialized (easy to do with |document.fonts.add(new FontFace(...))|.
19897140f7f2e1480fee807164d1a56d9c6cef08: Bug 1028497 - Part 20: Add storage for unconnected FontFace objects and create user font entries for them. r=jdaggett,bzbarsky
Cameron McCormack <cam@mcc.id.au> - Thu, 02 Oct 2014 12:32:08 +1000 - rev 208333
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1028497 - Part 20: Add storage for unconnected FontFace objects and create user font entries for them. r=jdaggett,bzbarsky We add a third array on FontFaceSet, mOtherFaces, which stores unconnected FontFace objects that have been added to the FontFaceSet. We reflect them in the indexed properties and also create user font entries for them. Part 23 will actually allow us to add some of these FontFaces to mOtherFaces.
6585686da666f99414f32bee20cf38983e282edc: Bug 1028497 - Part 19: Support disconnecting FontFaces that reflect @font-face rules. r=jdaggett,bzbarsky
Cameron McCormack <cam@mcc.id.au> - Thu, 02 Oct 2014 12:32:08 +1000 - rev 208332
Push 1 by root at Mon, 20 Oct 2014 17:29:22 +0000
Bug 1028497 - Part 19: Support disconnecting FontFaces that reflect @font-face rules. r=jdaggett,bzbarsky This adds support for a CSS-connected FontFace to be disconnected from its rule. This causes it to get its own copy of the descriptors on the nsCSSFontFaceStyleDecl, and for the pointers between the FontFace and the nsCSSFontFaceRule to be nulled out. We start tracking now whether a given FontFace is in the FontFaceSet (in the sense that it will appear on the DOM FontFaceSet object if we inspect it with script). All FontFace objects created though, whether they are currently "in" the FontFaceSet or not, are still tracked by the FontFaceSet. We use the new mUnavailableFaces array on the FontFaceSet for that. We need to track these FontFaces that aren't in the FontFaceSet as that's where we store their user font entry -- important if we call load() on a FontFace before adding it to the FontFaceSet.
(0) -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip