~alcinnz/haskell-stylist

ref: fbd32fe1152449a7d5490614a674167a6e82aab8 haskell-stylist/ISSUES/help-wanted/animation.md -rw-r--r-- 581 bytes
fbd32fe1 — Adrian Cochrane Draft @counter-style support, with sample CSS. 1 year, 7 months ago
                                                                                
9503b788 Adrian Cochrane
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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.