Releases: leeoniya/dropcss
Releases · leeoniya/dropcss
1.0.6
- fix tokentization of multiple pseudos, e.g.
foo:not():not()
- in addition to
"
, skip '
in attr vals [val='foo']
- add inifinite loop guards to html and css tokenizers
1.0.5
- fix always return array from
getSibsOfType()
- fix handle self-closing tags without space after tagname (e.g.
<br/>
)
1.0.4
- implement
[attr~=value]
- properly handle nested pseudos, eg:
p:not(:nth-child(n+3)) { }
1.0.3
- handle spaces & junk better in attr selectors during context-free testing
1.0.2
- fix case insensitive html tag matching (e.g. svg tags)
- add another round of stripping remaining/nested empty @ rules, (e.g.
@supports ... { @media ... {} }
)
- pass unused
@keyframes
and @font-face
through shouldDrop()
- Puppeteer demo (with full JS execution)
1.0.1
- handle
<keyframes-name>
at end of animation: shorthand
0.3.1
- skip processing @ blocks except @media