~alcinnz/haskell-stylist

ref: 1578769433c856e9f9f8dbcd7c24191b733a7f7d haskell-stylist/test/Test.hs -rw-r--r-- 11.7 KiB
a35a8a23 — Adrian Cochrane 5 years ago
Test cascade logic.
3bd6ae52 — Adrian Cochrane 5 years ago
Test/fix cascade logic for selector specificity.
af343c17 — Adrian Cochrane 5 years ago
Switch to new namespace for consistency with other modules like css-syntax.
ee89bcfd — Adrian Cochrane 5 years ago
Abstract away RuleStore construction.
d47030fd — Adrian Cochrane 5 years ago
Handle !important CSS declarations.
9e7ce5e0 — Adrian Cochrane 5 years ago
Expose common interface above all selector passes.
524ca9cc — Adrian Cochrane 5 years ago
Compute selector specificity.
813c306e — Adrian Cochrane 5 years ago
Reorganize modules to make space for styling passes not related to selectors.
062bdd98 — Adrian Cochrane 5 years ago
Unit test the selector compiler.
df2761aa — Adrian Cochrane 5 years ago
Compile 'complex' selectors (ones with multiple tests but no tree traversal).

I'm currently using a temporary datastructure which will be easily
replaced with curried functions later.
d321f69d — Adrian Cochrane 5 years ago
Unit test the style index.
df951629 — Adrian Cochrane 5 years ago
Improve parsing API.

Now compound selectors have their own type, aiding indexing and maybe interpretation.
Now only one selector is associated with outputted style rule.
ceb3b528 — Adrian Cochrane 5 years ago
Add and pass some unit tests.