diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-04-13 10:39:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-13 08:39:45 +0000 |
| commit | 020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch) | |
| tree | c0027ad22046e2726c22298461327823d6b88d53 /tests/suite/layout/relative.typ | |
| parent | 72dd79210602ecc799726fc096b078afbb47f299 (diff) | |
Better test runner (#3922)
Diffstat (limited to 'tests/suite/layout/relative.typ')
| -rw-r--r-- | tests/suite/layout/relative.typ | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/suite/layout/relative.typ b/tests/suite/layout/relative.typ new file mode 100644 index 00000000..958aee3d --- /dev/null +++ b/tests/suite/layout/relative.typ @@ -0,0 +1,7 @@ +--- relative-fields --- +// Test relative length fields. +#test((100% + 2em + 2pt).ratio, 100%) +#test((100% + 2em + 2pt).length, 2em + 2pt) +#test((100% + 2pt).length, 2pt) +#test((100% + 2pt - 2pt).length, 0pt) +#test((56% + 2pt - 56%).ratio, 0%) |
