From d1568a55831f4074c7bcfe7d0bb983055e1709d3 Mon Sep 17 00:00:00 2001 From: Leedehai <18319900+Leedehai@users.noreply.github.com> Date: Sat, 23 Mar 2024 07:51:43 -0400 Subject: Let `Repr` for `Relative` print both abs + ratio (#3721) --- tests/ref/compiler/content-field.png | Bin 8252 -> 8815 bytes tests/ref/compiler/repr.png | Bin 64757 -> 32579 bytes tests/ref/layout/grid-cell.png | Bin 45433 -> 47260 bytes tests/ref/layout/table-cell.png | Bin 49090 -> 50913 bytes tests/typ/compiler/repr.typ | 4 ++++ 5 files changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/ref/compiler/content-field.png b/tests/ref/compiler/content-field.png index 3095ba8c..d582cfa1 100644 Binary files a/tests/ref/compiler/content-field.png and b/tests/ref/compiler/content-field.png differ diff --git a/tests/ref/compiler/repr.png b/tests/ref/compiler/repr.png index c90cc3cd..3b1a571e 100644 Binary files a/tests/ref/compiler/repr.png and b/tests/ref/compiler/repr.png differ diff --git a/tests/ref/layout/grid-cell.png b/tests/ref/layout/grid-cell.png index 07508b40..563d6721 100644 Binary files a/tests/ref/layout/grid-cell.png and b/tests/ref/layout/grid-cell.png differ diff --git a/tests/ref/layout/table-cell.png b/tests/ref/layout/table-cell.png index 647a2e10..d0c39363 100644 Binary files a/tests/ref/layout/table-cell.png and b/tests/ref/layout/table-cell.png differ diff --git a/tests/typ/compiler/repr.typ b/tests/typ/compiler/repr.typ index 13593a86..0cdd4bcf 100644 --- a/tests/typ/compiler/repr.typ +++ b/tests/typ/compiler/repr.typ @@ -22,6 +22,10 @@ #1.7em \ #(1cm + 0em) \ #(2em + 10pt) \ +#(100% + (2em + 2pt)) \ +#(100% + 0pt) \ +#(100% - 2em + 2pt) \ +#(100% - 2pt) \ #2.3fr --- -- cgit v1.2.3