css / csso-cli

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

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

Open PavelFil opened 7 months ago

PavelFil commented 7 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 21 hours ago

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