Subject: | Infinite loop in CSS::LESSp v0.86 |
Date: | Fri, 11 Apr 2014 11:06:52 +0200 |
To: | bug-CSS-LESSp [...] rt.cpan.org |
From: | "Klaus S. Madsen" <ksm [...] jobindex.dk> |
Hi,
Because of the way the 3-element color definitions are expanded, one can
cause an inifinite loop if the same color exists twice in the same rule.
The following CSS triggers the problem:
.test {
box-shadow: 0 0 0 2px #000, 0 0 0 18px #000;
}
Attached is a patch (test case included) that solves the issue.
--
Klaus S. Madsen, Udvikler, ksm@jobindex.dk
Jobindex A/S, Holger Danskes Vej 91, 2000 Frederiksberg
Tlf +45 38 32 33 55, Dir +45 38 32 33 70
http://www.jobindex.dk/
Message body is not shown because sender requested not to inline it.