mixins-guards.less 711 B

1234567891011121314151617181920212223242526
  1. // https://github.com/less/less.js/issues/2798
  2. .test-2798 when ((8+4) < 13) {
  3. regression: fixed;
  4. }
  5. .test-2798 when ((8+6) < 13) {
  6. regression: should not be visible;
  7. }
  8. .conditions-parser-1 when (8+4 < 13) {
  9. only-atomic: ok;
  10. }
  11. .conditions-parser-1 when (8+6 < 13) {
  12. only-atomic: should not be visible;
  13. }
  14. .conditions-parser-2 when (8+(5-1) < 13) {
  15. only-atomic-with-nested-parenthesis: ok;
  16. }
  17. .conditions-parser-2 when (8+(15-1) < 13) {
  18. only-atomic-with-nested-parenthesis: should not be visible;
  19. }
  20. .conditions-parser-3 when (8 < (13+1)) {
  21. only-atomic-nested-parenthesis-on-right: ok;
  22. }
  23. .conditions-parser-3 when (8 < (3+1)) {
  24. only-atomic-nested-parenthesis-on-right: should not be visible;
  25. }