Skip to content

Keep tables in place in a container above or left of the origin - #299

Merged
eXpl0it3r merged 1 commit into
masterfrom
fix/table-negative-location
Nov 23, 2026
Merged

eXpl0it3r merged 1 commit into
masterfrom
fix/table-negative-location

Conversation

@eXpl0it3r

Copy link
Copy Markdown
Collaborator

Description

A table in a container with a negative location, e.g. a list item drawn partially above the visible area, had its cells clamped to x and y 0, while the rest of the document moved with the container. The clamp exists so the -1 spacing of collapsed borders doesn't move the cells out of the container, as such it now clamps to the container's location instead of 0. For a container at the origin nothing changes, the image baselines are unchanged.

Closes #44

How to test this PR?

CI should succeed.

@eXpl0it3r
eXpl0it3r merged commit fe4c6d1 into master Nov 23, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Location not working for negative values, gets pushed to 0

1 participant