gecko-dev/testing/web-platform/tests/css/css-properties-values-api/resources
Anders Hartvoll Ruud b84303a4ef Bug 1631989 [wpt PR 23159] - [@property] Add PropertyRegistry::Version, a=testonly
Automatic update from web-platform-tests
[@property] Add PropertyRegistry::Version

The version is simply a number that increases monotonically for each
change to the registry. This is needed by the animations machinery to
handle cases where the type of a registered custom property changes
on the fly during an ongoing animation. (See InvalidatableInterpolation
::EnsureValidInterpolationTypes). When the version changes, we can
clear the conversion cache, which causes the keyframes to be
reinterpreted according to the new registration.

Also move some utils from at-property.html to utils.js, for reuse
in other test files.

Bug: 973830
Change-Id: I97d0a37f016ccde649fe1482084707edd123903b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2159212
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761323}

--

wpt-commits: 0a970f919e3a8f134f6b8b4cd03e63ef865bd38f
wpt-pr: 23159
2020-04-28 11:36:19 +00:00
..
utils.js Bug 1631989 [wpt PR 23159] - [@property] Add PropertyRegistry::Version, a=testonly 2020-04-28 11:36:19 +00:00