gecko-dev/servo
Boris Chiou 4b8c77479a Bug 1837305 - Part 6: Update AnimationValue for offset-path. r=emilio
We are using NonNegative now for offset-path, so just like clip-path, we
have to make sure we don't get the negative radius for circle and ellipse,
and don't get the negative border-radius for inset. Therefore, we have to
convert the computed value into animated value when doing interpolation,
and then clamp the value to make sure it is always >= 0 when converting
it back to computed value, just like what we do for clip-path in Bug 1512883.

Also drop the normalization of SVGPathData in AnimationInfo when
preparing offset-path for compositor animations. It's useless because we
"always" do normalization in SVGPathData::animate().

Differential Revision: https://phabricator.services.mozilla.com/D180284
2023-06-15 00:04:00 +00:00
..
components Bug 1837305 - Part 6: Update AnimationValue for offset-path. r=emilio 2023-06-15 00:04:00 +00:00
ports/geckolib Bug 1837305 - Part 6: Update AnimationValue for offset-path. r=emilio 2023-06-15 00:04:00 +00:00
tests/unit Bug 1837273 - Remove viewport rule code. r=Oriol 2023-06-08 11:20:53 +00:00
moz.build
rustfmt.toml