Unit tests & bug fixes for counter-renderers.
Draft @counter-style support, with sample CSS.
Fixes for broader dependency bounds.
Merge branch 'main' of git.adrian.geek.nz:/srv/git/haskell-stylist into main
Merge branch 'main' of git.adrian.geek.nz:/srv/git/haskell-stylist into main
New releases of all hackages! + code tidies.
Add utils for implementing :target-within, ensure unlayered styles take precedance.
Fix @layer to play nicely with the conditional at-rules.
If you're not using that, its still integrated into core.
Since the @layer rules are stripped by ConditionalStyles this shouldn't make a difference.
Fix build failure against new enough versions of 'text'.
Allow callers to define psuedoclasses via callback.
Drop legacy FIXME regarding media query ratios.
Add support for `@document regexp()`..
Treat ratios as fractional numbers.
I'm having trouble consulting the spec, but judging by sample CSS this looks right.
Add support for range types to media query interpretor.
This allows browsers to be more vague when fetching @imports.
Move :root handling into interpretor.
Test counters() handling against longhand rather than shorthand.
Because that's where it'll be passed
Start testing counters implementations, fix syntactic shorthand lowering for counter[s]() functions.
Release new Haskell Stylist & XML Conduit Stylist!
XML Conduit Stylist changed to abstract away Haskell Stylist's breaking datastructure changes.
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.