File: mixins-guards.less

package info (click to toggle)
less.js 3.13.0%2Bdfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,020 kB
  • sloc: javascript: 23,275; makefile: 12; perl: 11; sh: 6
file content (25 lines) | stat: -rw-r--r-- 718 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// https://github.com/less/less.js/issues/2798
.test-rule-2798 when ((8+4) < 13) { 
  regression: fixed; 
}
.test-rule-2798 when ((8+6) < 13) { 
  regression: should not be visible; 
}
.conditions-parser-1 when (8+4 < 13) {
  only-atomic: ok;
}
.conditions-parser-1 when (8+6 < 13) {
  only-atomic: should not be visible;
}
.conditions-parser-2 when (8+(5-1) < 13) {
  only-atomic-with-nested-parenthesis: ok;
}
.conditions-parser-2 when (8+(15-1) < 13) {
  only-atomic-with-nested-parenthesis: should not be visible;
}
.conditions-parser-3 when (8 < (13+1)) {
  only-atomic-nested-parenthesis-on-right: ok;
}
.conditions-parser-3 when (8 < (3+1)) {
  only-atomic-nested-parenthesis-on-right: should not be visible;
}