~alcinnz/haskell-stylist

ref: aa17d3dc0eac3f9ea75c8b1a03754db27287d083 haskell-stylist/src/Data/CSS d---------
aa17d3dc — Adrian Cochrane 4 years ago
Treat ratios as fractional numbers.

I'm having trouble consulting the spec, but judging by sample CSS this looks right.
e6802ca7 — Adrian Cochrane 4 years ago
Add support for range types to media query interpretor.

This allows browsers to be more vague when fetching @imports.
62083a71 — Adrian Cochrane 4 years ago
Add hook for callers to run their own tests against attributes.
e3beef67 — Adrian Cochrane 4 years ago
Add new style tree traversals.
12a80582 — Adrian Cochrane 4 years ago
Expand :is/:where lowering.
48390f5f — Adrian Cochrane 4 years ago
Codestyle: remove unnecessary parens.
5a53c0de — Adrian Cochrane 4 years ago
Move :root handling into interpretor.
acad9091 — Adrian Cochrane 4 years ago
Test counters() handling against longhand rather than shorthand.

Because that's where it'll be passed
2ba0a92a — Adrian Cochrane 4 years ago
Start testing counters implementations, fix syntactic shorthand lowering for counter[s]() functions.
277f756c — Adrian Cochrane 4 years ago
Release new Haskell Stylist & XML Conduit Stylist!

XML Conduit Stylist changed to abstract away Haskell Stylist's breaking datastructure changes.
15b2412e — Adrian Cochrane 4 years ago
Correct pseudoclass to pseudoelement rewrites to apply to only rightmost selector.

I previously got the semantics of my datastructures backwards: the head is the rightmost selector.
3847375b — Adrian Cochrane 4 years ago
Remove preceding whitespace from all CSS at-rules.
ed0c2ba1 — Adrian Cochrane 4 years ago
Lower psuedoclasses & namespaces throughout CSS selectors.

Previously I just applied to them to the rightmost.
cae4f2e0 — Adrian Cochrane 4 years ago
Rewrite parsed namespaces according to @namespace rules.
edfaf74d — Adrian Cochrane 4 years ago
Evaluate attribute namespace selectors.
5ff74dcf — Adrian Cochrane 4 years ago
Parse namespace selectors.
086da474 — Adrian Cochrane 4 years ago
Rewrite trivial cases of :where & :is.

This is mostly for the psuedoselector rewrites performed in Data.CSS.Preprocessor.PsuedoClasses
d5e77295 — Adrian Cochrane 4 years ago
Compute correct specificity for :is() & :not() pseudoclasses.
6c1222a3 — Adrian Cochrane 4 years ago
Implement :nth-child() & :nth-of-type().

I don't think I'll implement :nth-last-child() & :nth-last-of-type() until I'm shown their value,
Haskell Stylist doesn't yet have access to the data to support them.
800ee36f — Adrian Cochrane 4 years ago
Implement :is, :where, & :not functional pseudoclasses.

This is needed by some of the lowerings for other pseudoclasses.
TODO correctly compute specificity.
Next