haikuwebkit/LayoutTests/inspector/animation
Devin Rousso 8c4bc048bc Web Inspector: Graphics: add support for `steps()`/`spring()` CSS timing functions
https://bugs.webkit.org/show_bug.cgi?id=224654

Reviewed by BJ Burg.

Source/WebInspectorUI:

* UserInterface/Models/Geometry.js:
(WI.StepsFunction): Added.
(WI.StepsFunction.fromString): Added.
(WI.StepsFunction.prototype.get type): Added.
(WI.StepsFunction.prototype.get count): Added.
(WI.StepsFunction.prototype.copy): Added.
(WI.StepsFunction.prototype.toString): Added.
Create a model object for `steps()` CSS timing function.

* UserInterface/Models/Animation.js:
(WI.Animation.prototype._updateEffect):
Also support `effect.timingFunction`/`keyframe.easing` being a `steps()`/`spring()` CSS timing function.

* UserInterface/Views/AnimationContentView.js:
(WI.AnimationContentView.prototype._refreshPreview):
Create a UI for `steps()`/`spring()` CSS timing functions.

LayoutTests:

* inspector/animation/lifecycle-web-animation.html:
* inspector/animation/lifecycle-web-animation-expected.txt:
* inspector/animation/resources/lifecycle-utilities.js:
* inspector/unit-tests/geometry.html: Added.
* inspector/unit-tests/geometry-expected.txt: Added.


Canonical link: https://commits.webkit.org/236754@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@276272 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-04-19 20:45:57 +00:00
..
resources Web Inspector: Graphics: add support for `steps()`/`spring()` CSS timing functions 2021-04-19 20:45:57 +00:00
effectChanged-expected.txt Web Inspector: add instrumentation for showing existing Web Animations 2020-01-29 23:46:15 +00:00
effectChanged.html
lifecycle-css-animation-expected.txt Keyframe animation doesn't 't show up in the Animations timeline 2020-06-23 16:12:36 +00:00
lifecycle-css-animation.html
lifecycle-css-transition-expected.txt Web Inspector: Graphics: should use the `id` (name) of the animation if it exists 2020-06-02 01:12:01 +00:00
lifecycle-css-transition.html
lifecycle-web-animation-expected.txt Web Inspector: Graphics: add support for `steps()`/`spring()` CSS timing functions 2021-04-19 20:45:57 +00:00
lifecycle-web-animation.html Web Inspector: Graphics: add support for `steps()`/`spring()` CSS timing functions 2021-04-19 20:45:57 +00:00
nameChanged-expected.txt
nameChanged.html
resolveAnimation-expected.txt
resolveAnimation.html
targetChanged-expected.txt
targetChanged.html
tracking-expected.txt
tracking.html