Imported from https://github.com/wikimedia/less.php/issues/52.
Description
Details
Event Timeline
I have confirmed that this passes on the specific Less.js version we aim to support (Less.js 2.5.3), e.g. via fiddle.
@position: after; .foo { &:@{position} { color: green; } }
Which Less.js 2.5.3 compiles to:
.foo:after { color: green; }
Change 880942 had a related patch set uploaded (by Krinkle; author: Krinkle):
[mediawiki/libs/less.php@master] Less_Marser: Misc clean up for readability and parity with less.js
Change 880943 had a related patch set uploaded (by Krinkle; author: Krinkle):
[mediawiki/libs/less.php@master] Fix ParseError when interpolating variable after colon in selector
Change 880942 merged by jenkins-bot:
[mediawiki/libs/less.php@master] Less_Parser: Misc clean up for readability and parity with less.js
Change 880943 merged by jenkins-bot:
[mediawiki/libs/less.php@master] Fix ParseError when interpolating variable after colon in selector