... parse /test/Fixtures/lessjs-2.5.3/less/css-guards.less Fail --- actual +++ /test/Fixtures/lessjs-2.5.3/css/css-guards.css @@ -1,4 +1,37 @@ -Expected ')' got '=' in css-guards.less on line 103, column 1 -101| .mixin-doesnt-exist(); -102| } -103| a:hover when (2 = true) {5:-}
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Fix parse error effecting pseudo classes with "when" guards | mediawiki/libs/less.php | master | +5 -5 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T288498 Update less.php port to support Less.js 3.13 behaviours | |||
| Resolved | Hokwelum | T365481 Update less.php port to complete support Less.js 2.5.3 behaviours | |||
| Resolved | pmiazga | T353144 [css-guards] Fix parsing of "when" conditions after selectors with a pseudo classes (e.g. "a:hover") |
Event Timeline
Comment Actions
When working on parserInput I found that support for this feature was first introduced here: https://github.com/less/less.js/commit/49955d3a354615b98543ca34e2f884e41f59ca29
Comment Actions
Change #1021933 had a related patch set uploaded (by Pmiazga; author: Pmiazga):
[mediawiki/libs/less.php@master] Fix parse error effecting pseudo classes with guards
Comment Actions
Change #1021933 merged by jenkins-bot:
[mediawiki/libs/less.php@master] Fix parse error effecting pseudo classes with "when" guards