author Brian Birtles <birtles@gmail.com>
Thu, 18 Apr 2019 06:25:54 +0000
changeset 470032 a751128e51f71ddd7df3eaa1ba8c5c34b6876e31
parent 274837 e03b93cbb64d4996a9f170d76a69801b9a708d84
permissions -rw-r--r--
Bug 1541767 - Make Animation::Cancel line up with the spec a little better; r=hiro Animation::Cancel calls UpdateTiming() which in turns runs the procedure to update the finished state. However, the spec[1] doesn't require that. Furthermore, calling UpdateTiming here hides the fact that we end up triggering a restyle. It would be better to move the parts of UpdateTiming we require into Cancel itself so that we align better with the spec and to make it a bit more clear what side-effects of UpdateTiming we actually rely on. [1] https://drafts.csswg.org/web-animations-1/#cancel-an-animation Differential Revision: https://phabricator.services.mozilla.com/D28020

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# This file is necessary to "bootstrap" the test case for the test_build
# test, because of the requirement of the top-level directory containing
# config/*.mk.
DIRS += [