~alcinnz/haskell-stylist

ref: 30021fd13a6232b62a9b0c99a3c80f34a5902517 haskell-stylist/src/Data d---------
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;
5f40f7e8 — Adrian Cochrane 4 years ago
Abstract Tree traversal (commited out-of-order).
216e4e39 — Adrian Cochrane 4 years ago
Parse & prepare to handle white-space: pre;
8ffc0dd2 — Adrian Cochrane 4 years ago
Implement CSS3 counters.
Next