REOPENED 192334
CSS Properties and Values API should support animating registered custom properties without any references
https://bugs.webkit.org/show_bug.cgi?id=192334
Summary CSS Properties and Values API should support animating registered custom prop...
Justin Michaud
Reported 2018-12-03 14:56:41 PST
Properties that are not used in substitutions should be able to be transitioned. This blocks 192324.
Attachments
Patch (49.70 KB, patch)
2018-12-05 19:28 PST, Justin Michaud
no flags
Archive of layout-test-results from ews100 for mac-sierra (2.50 MB, application/zip)
2018-12-05 20:38 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews107 for mac-sierra-wk2 (3.69 MB, application/zip)
2018-12-05 21:04 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews116 for mac-sierra (2.25 MB, application/zip)
2018-12-05 21:29 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews203 for win-future (12.78 MB, application/zip)
2018-12-05 21:41 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews121 for ios-simulator-wk2 (2.43 MB, application/zip)
2018-12-06 00:29 PST, EWS Watchlist
no flags
Patch (61.98 KB, patch)
2018-12-10 22:34 PST, Justin Michaud
no flags
Justin Michaud
Comment 1 2018-12-05 19:28:23 PST
EWS Watchlist
Comment 2 2018-12-05 19:31:13 PST Comment hidden (obsolete)
Justin Michaud
Comment 3 2018-12-05 19:31:26 PST
This patch is not complete yet. In particular, I would like to have the wpt tests for css variables imported first, to make sure nothing breaks. Right now, I have debug assertions everywhere just to aid in debugging. WebAnimations as well as declarative animations are not implemented yet. I am uploading this to get some preliminary feedback while I import the wpt tests and fix those bugs.
Simon Fraser (smfr)
Comment 4 2018-12-05 19:41:19 PST
Comment on attachment 356699 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=356699&action=review > Source/WebCore/animation/AnimationTimeline.cpp:380 > +void AnimationTimeline::updateCustomPropertyCSSTransitionsForElement(Element& element, const RenderStyle& currentStyle, const RenderStyle& afterChangeStyle) Holy shit. > Source/WebCore/page/animation/CSSPropertyAnimation.cpp:1874 > + return (!aValue && !bValue) || (aValue && bValue && *aValue == *bValue); We have a thing for this: arePointingToEqualData()
EWS Watchlist
Comment 5 2018-12-05 20:38:03 PST Comment hidden (obsolete)
EWS Watchlist
Comment 6 2018-12-05 20:38:05 PST Comment hidden (obsolete)
EWS Watchlist
Comment 7 2018-12-05 21:04:38 PST Comment hidden (obsolete)
EWS Watchlist
Comment 8 2018-12-05 21:04:40 PST Comment hidden (obsolete)
EWS Watchlist
Comment 9 2018-12-05 21:29:24 PST Comment hidden (obsolete)
EWS Watchlist
Comment 10 2018-12-05 21:29:25 PST Comment hidden (obsolete)
EWS Watchlist
Comment 11 2018-12-05 21:41:26 PST Comment hidden (obsolete)
EWS Watchlist
Comment 12 2018-12-05 21:41:38 PST Comment hidden (obsolete)
EWS Watchlist
Comment 13 2018-12-06 00:29:47 PST Comment hidden (obsolete)
EWS Watchlist
Comment 14 2018-12-06 00:29:49 PST Comment hidden (obsolete)
Justin Michaud
Comment 15 2018-12-10 22:34:16 PST
Justin Michaud
Comment 16 2018-12-10 22:35:03 PST
This is beautiful.
Alex Christensen
Comment 17 2021-11-01 12:44:38 PDT
Comment on attachment 357034 [details] Patch This has been requesting review for more than one year. If this is still needed, please rebase and re-request review.
Justin Michaud
Comment 18 2024-04-08 13:37:21 PDT
Closing old bugs assigned to me
Justin Michaud
Comment 19 2024-04-08 13:37:40 PDT
Closing old bugs assigned to me
Simon Fraser (smfr)
Comment 20 2024-04-08 15:13:28 PDT
Reopening.
Note You need to log in before you can comment on or make changes to this bug.