diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/compiler/construct.png | bin | 6327 -> 6320 bytes | |||
| -rw-r--r-- | tests/ref/layout/container.png | bin | 8541 -> 20514 bytes | |||
| -rw-r--r-- | tests/typ/layout/container.typ | 10 |
3 files changed, 10 insertions, 0 deletions
diff --git a/tests/ref/compiler/construct.png b/tests/ref/compiler/construct.png Binary files differindex eba9aa9f..3dac041f 100644 --- a/tests/ref/compiler/construct.png +++ b/tests/ref/compiler/construct.png diff --git a/tests/ref/layout/container.png b/tests/ref/layout/container.png Binary files differindex ce298d29..eff06f1a 100644 --- a/tests/ref/layout/container.png +++ b/tests/ref/layout/container.png diff --git a/tests/typ/layout/container.typ b/tests/typ/layout/container.typ index 0b30c4e1..d9b62f5e 100644 --- a/tests/typ/layout/container.typ +++ b/tests/typ/layout/container.typ @@ -10,6 +10,16 @@ Spaced \ Apart --- +// Test box sizing. +#box(width: 50pt, height: 50pt, fill: yellow, path( + fill: purple, + (0pt, 0pt), + (30pt, 30pt), + (0pt, 30pt), + (30pt, 0pt), +)) + +--- // Test fr box. Hello #box(width: 1fr, rect(height: 0.7em, width: 100%)) World |
