Skip to content

Commit

Permalink
chore: add more test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
SoonIter committed Mar 26, 2024
1 parent d232299 commit a71dcc8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/test-data/css/_main/functions.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,11 @@
min: 3mm;
min: min(1, 4ex, 2pt);
min: min(calc(1 + 1), 1);
min: min(var(--width), 802px);
max: 3;
max: 5em;
max: max(5m, 3em);
max: min(var(--body-max-width), calc(100vw - 20px));
max: max(1, calc(1 + 1));
max-native: max(10vw, 100px);
percentage: 20%;
Expand Down
2 changes: 2 additions & 0 deletions packages/test-data/less/_main/functions.less
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,11 @@
min: min(1cm, 3mm);
min: min(6em, 5, 4ex, 3, 2pt, 1);
min: min(calc(1 + 1), 1);
min: min(~'var(--width), 802px');
max: max(1, 3);
max: max(3em, 1em, 2em, 5em);
max: max(1px, 2, 3em, 4, 5m, 6);
max: min(var(--body-max-width), calc(100vw - 20px));
max: max(1, calc(1 + 1));
max-native: max(10vw, 100px);
percentage: percentage((10px / 50));
Expand Down

0 comments on commit a71dcc8

Please sign in to comment.