From a52987a8c26bc13e3db4cc300b8cd9d81eb8a18d Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 22 May 2024 11:26:03 +0200 Subject: Refactor frame metadata into tags (#4212) --- tests/suite/introspection/locate.typ | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/suite') diff --git a/tests/suite/introspection/locate.typ b/tests/suite/introspection/locate.typ index 981f8c46..b3a77fde 100644 --- a/tests/suite/introspection/locate.typ +++ b/tests/suite/introspection/locate.typ @@ -4,6 +4,13 @@ = Introduction #context test(locate().position().y, 20pt) +--- locate-position-trailing-tag --- +// Test locating the position of a tag with no following content. +#context test(here().position().y, 10pt) +#box[] +#v(10pt) +#context test(here().position().y, 20pt) + --- locate-missing-label --- // Error: 10-25 label `` does not exist in the document #context locate() -- cgit v1.2.3