Keep the closing title-page line above the footnote

This commit is contained in:
gloamxun committed 2026-10-19 19:12:39 +08:00
1 parent aed9b5bb5f
commit 6c55686849
2 files changed
+11 -3

No files matched your search

+9
View File
@@ -115,6 +115,15 @@ fn arxiv_fixture_is_three_letter_pages() {
note_y > 200.0,
"title footnote should be painted in the page-bottom insertion area: {note_y}"
);
assert!(
first_page.contains(">See</text>"),
"first page should keep the closing section-2 line"
);
let see_y = text_y(&first_page, "See");
assert!(
note_y - see_y > 3.0,
"body must stay above the title footnote: see {see_y}, note {note_y}"
);
let third_page = page_svg(&value, 2);
let entry_x = text_x(&third_page, "Geor");
let continuation_x = text_x(&third_page, "Recognition");