Skip to content

Read the trace canvas focus ring from its drawn surface - #3163

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-39292373577-trace-ring
Oct 19, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-39292373577-trace-ring

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The trace canvas ring moved to its ::after box in #3137 so the viewer no longer paints over it. The pointer clipping test still inspected the canvas element’s old outline-offset, so it failed even while its clipping checks passed. Read the ring through the shared paint checker after confirming the canvas holds focus; this preserves the focus visibility assertion at the surface that now draws it.

Main CI run 39292373577 failed test_trace_pointer_annotation_stays_inside_the_panned_image_viewport at that stale assertion. The focused test failed on current main before this change and passes with it. Pre-commit checks pass for the changed file.

@leaf-agent
leaf-agent merged commit 8fdd1eb into main Oct 19, 2026
4 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-39292373577-trace-ring branch October 19, 2026 19:07
leaf-agent added a commit that referenced this pull request Oct 19, 2026
The two remaining browser failures in [main CI run
39295617122](https://github.com/max-sixty/leaf/actions/runs/39295617122)
came from test presses landing on the comment card rather than their
intended page targets.
[#3157](#3157) deliberately made
the card’s painted rows a drag grip while writing; the adjacent button
and passage in these fixtures now sit behind that grip.

Move the newer button above the composer’s area and give the draft
test’s second passage its own clear line. The tests still use real
presses to check that a later control keeps focus and that each passage
keeps its own unsent words. Both cases failed on current `main` before
this change and pass after it; the focus test’s other parameter also
passes.

The run’s other five failed cases are addressed by merged
[#3161](#3161),
[#3162](#3162), and
[#3163](#3163); those cases passed
in the focused current-main run.

---------

Co-authored-by: leaf-agent <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant