typst-0.9: test/typ/bugs/grid-1-00.out
--- parse tree ---
[ Code
"typ/bugs/grid-1-00.typ"
( line 1 , column 2 )
(Set
(Ident (Identifier "page"))
[ KeyValArg (Identifier "height") (Literal (Numeric 150.0 Pt)) ])
, SoftBreak
, Code
"typ/bugs/grid-1-00.typ"
( line 2 , column 2 )
(FuncCall
(Ident (Identifier "table"))
[ KeyValArg
(Identifier "columns")
(Array [ Reg (Literal (Numeric 1.5 Cm)) , Reg (Literal Auto) ])
, KeyValArg
(Identifier "rows")
(Array [ Reg (Literal Auto) , Reg (Literal Auto) ])
, NormalArg
(FuncCall
(Ident (Identifier "rect"))
[ KeyValArg (Identifier "width") (Literal (Numeric 100.0 Percent))
, KeyValArg (Identifier "fill") (Ident (Identifier "red"))
])
, NormalArg
(FuncCall
(Ident (Identifier "rect"))
[ KeyValArg (Identifier "width") (Literal (Numeric 100.0 Percent))
, KeyValArg (Identifier "fill") (Ident (Identifier "blue"))
])
, NormalArg
(FuncCall
(Ident (Identifier "rect"))
[ KeyValArg (Identifier "width") (Literal (Numeric 100.0 Percent))
, KeyValArg (Identifier "height") (Literal (Numeric 50.0 Percent))
, KeyValArg (Identifier "fill") (Ident (Identifier "green"))
])
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
table(children: (rect(fill: rgb(100%,25%,21%,100%),
width: 100%),
rect(fill: rgb(0%,45%,85%,100%),
width: 100%),
rect(fill: rgb(18%,80%,25%,100%),
height: 50%,
width: 100%)),
columns: (1.5cm, auto),
rows: (auto, auto)),
parbreak() })