~alcinnz/haskell-stylist

ref: 3e92f6c3f8fdaca139f09b647fa6bbac57285f22 haskell-stylist/ISSUES/help-wanted/animation.md -rw-r--r-- 581 bytes
3e92f6c3 — Adrian Cochrane Revamp XML-Conduit-Stylist API to avoid hard-dependency on Haskell Stylist. 2 years ago

#Add animation infrastructure

This would require callers to seperate logic for desugaring CSS properties (and resolving relative units) from parsing CSS tokens to a style tree! This would also help implement calc(), and somewhat generically handle inherit.

Can be implemented as a PropertyParser decorator.


It occurs to me that this could be easily hand-tested by writing a commandline program which displays computed values (relative to initial values) for a style declaration.

That might even be useful program! Though ofcourse it shouldn't replace automated testing.