8c4bc048bc
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 |
||
---|---|---|
.. | ||
resources | ||
effectChanged-expected.txt | ||
effectChanged.html | ||
lifecycle-css-animation-expected.txt | ||
lifecycle-css-animation.html | ||
lifecycle-css-transition-expected.txt | ||
lifecycle-css-transition.html | ||
lifecycle-web-animation-expected.txt | ||
lifecycle-web-animation.html | ||
nameChanged-expected.txt | ||
nameChanged.html | ||
resolveAnimation-expected.txt | ||
resolveAnimation.html | ||
targetChanged-expected.txt | ||
targetChanged.html | ||
tracking-expected.txt | ||
tracking.html |