style: Make offset-anchor animatable.

Per the spec issue, https://github.com/w3c/csswg-drafts/issues/3482,
we update the wpt to keep the percentage in `calc()` for `offset-anchor`.

Differential Revision: https://phabricator.services.mozilla.com/D39552
This commit is contained in:
Boris Chiou 2019-08-02 20:12:40 +00:00 committed by Emilio Cobos Álvarez
parent 33690b9eaf
commit c6cdaaf1cf
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A
2 changed files with 4 additions and 1 deletions

View file

@ -45,13 +45,16 @@ impl<H, V> Position<H, V> {
/// This is used by <offset-anchor> for now.
/// https://drafts.fxtf.org/motion-1/#offset-anchor-property
#[derive(
Animate,
Clone,
ComputeSquaredDistance,
Copy,
Debug,
MallocSizeOf,
Parse,
PartialEq,
SpecifiedValueInfo,
ToAnimatedZero,
ToComputedValue,
ToCss,
ToResolvedValue,