Skip to content

Restore transform testing and add one new transform test.#1815

Open
xStrom wants to merge 1 commit into
linebender:mainfrom
xStrom:transform-tests
Open

Restore transform testing and add one new transform test.#1815
xStrom wants to merge 1 commit into
linebender:mainfrom
xStrom:transform-tests

Conversation

@xStrom
Copy link
Copy Markdown
Member

@xStrom xStrom commented May 26, 2026

When #1322 moved the transform tests to a new location, mod.rs was not updated to actually include it in the compilation graph. Since then, the transform test code has started rotting.

This PR here restores these tests, with the required modifications to use the latest APIs.

The blue box size was reduced because the larger size is not critical for the tests, but it did cause the pointer test snapshot to be over 8 KB, which is a soft limit we want to adhere to.

This PR also adds a new test to verify that transforms are respected when calculating the translation between content-box and window space.

@xStrom xStrom added masonry Issues relating to the Masonry widget layer needs review Needs review before proceeding. labels May 26, 2026
@RagibHasin
Copy link
Copy Markdown
Contributor

Should we not have a lint that checks for unused .rs files in /src directory?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

masonry Issues relating to the Masonry widget layer needs review Needs review before proceeding.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants