summaryrefslogtreecommitdiff
path: root/tests/typ/layout/grid-3.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-11-16 12:47:14 +0100
committerLaurenz <laurmaedje@gmail.com>2021-11-16 12:47:14 +0100
commit79638d4bbdc140a8dca0ccfdf70ffd607d5da251 (patch)
tree3da8a7d345ccac389d07c8327d9c63fd7209a250 /tests/typ/layout/grid-3.typ
parent73c4701749ac3919c5b845002052326502c67306 (diff)
Don't wrap already layoutable nodes into flows/pars unnecessarily
Diffstat (limited to 'tests/typ/layout/grid-3.typ')
-rw-r--r--tests/typ/layout/grid-3.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/layout/grid-3.typ b/tests/typ/layout/grid-3.typ
index 42d2ce97..af971875 100644
--- a/tests/typ/layout/grid-3.typ
+++ b/tests/typ/layout/grid-3.typ
@@ -67,9 +67,9 @@
columns: 2 * (1fr,),
rows: (1fr, 2fr, auto, 1fr, 1cm),
row-gutter: 10pt,
- rect(height: 100%, width: 100%, fill: rgb("ff0000"))[No height],
+ rect(fill: rgb("ff0000"))[No height],
[foo],
- rect(height: 100%, width: 100%, fill: rgb("fc0030"))[Still no height],
+ rect(fill: rgb("fc0030"))[Still no height],
[bar],
[The nature of being itself is in question. Am I One? What is being alive?],
[baz],