Count image height in float content

VerticalItem::Image was missing from Float::content_height, so image floats
reported zero content height and could overlap following text. Include the
image height and add a regression test.

Test count is 1074.
This commit is contained in:
gloamxun committed 2026-10-27 23:21:52 +08:00
1 parent c2310d85ac
commit 16dd2e1f62
5 files changed
+33 -7

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ now means route-D.
| Area | Route-D | Evidence / impact |
| --- | --- | --- |
| Article/report basics: title, sections, lists, TOC, page numbers | Supported | corpus and 1073-test suite |
| Article/report basics: title, sections, lists, TOC, page numbers | Supported | corpus and 1074-test suite |
| Inline/display math, equations, tags, cleveref | Supported | math tests, oracle fixtures |
| Floats, captions, tables, booktabs | Supported | table/math tests, corpus |
| PNG/JPEG/BMP `\includegraphics` | Supported | project image tests |