~alcinnz/haskell-stylist

ref: a862da9315b5f44d11d5f060ca3f61c2c8451255 haskell-stylist/src/Data/CSS d---------
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.
7b644762 — Adrian Cochrane 4 years ago
Prepare to interpret functional pseudoclasses.
86efaacd — Adrian Cochrane 4 years ago
Correct legacy :before/:after syntax.
a833e105 — Adrian Cochrane 4 years ago
Support lowering single-arg psuedoclasses.
3df8d43c — Adrian Cochrane 4 years ago
Implement psuedoclass rewrite rules.
90cf1ea6 — Adrian Cochrane 4 years ago
Substitute in counters for any CSS textual property, not just `content`.

Will be required by Rhapsode for navigational markers.
fcbba23e — Adrian Cochrane 4 years ago
Implement style tree flattening utility.

This will be useful in Rhapsode for making sure voice synthesizers continue to
have full voice features information as the user jumps around the document.
And it will be useful for visual browsers in transitioning from layout to render.
b93db8b7 — Adrian Cochrane 4 years ago
Implement whitespace collapse, togglable via white-space: pre/normal;
Next