css / csso-cli

Command line interface for CSSO
MIT License
133 stars 10 forks source link

Error [csstree-match] BREAK after 15000 iterations #33

Open PavelFil opened 9 months ago

PavelFil commented 9 months ago

This CSS code cause error [csstree-match] BREAK after 15000 iterations

.selector {
    box-shadow:0 0 0 0 rgba(88,7,126,.122),0 22px 49px 0 rgba(88,7,126,.122),0 88px 88px 0 rgba(88,7,126,.102),0 199px 119px 0 rgba(88,7,126,.059),0 353px 141px 0 rgba(88,7,126,.02),0 552px 154px 0 rgba(88,7,126,0),inset 0 -12px 68px 0 hsla(0,0%,100%,.349);
}

This is a valid CSS code.

PavelFil commented 1 month ago

Related issue https://github.com/csstree/csstree/issues/294