Skip to content

fix: read response focus rings from the field or its frame - #4592

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4457
Oct 28, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-4457

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The shadow-seating journey still expected the floating editor to own its outline, border and minimum height. #4379 deliberately moved those onto the enclosing frame so the comment box could animate as one surface; the forced-colors assertion consequently fails even while the frame draws the focus cue.

Read the outline from the editor or its immediate composition frame, and compare the shared text typography and padding without requiring identical frame implementation. The existing Markdown rendering, table overflow and sent-text inset assertions remain.

Both affected cases pass locally (desktop/light and touch/dark). The original assertion fails on current main; removing the floating frame's ring also makes the revised assertion fail. No runtime or appearance changes.

Closes #4457 — automated triage

The floating composer deliberately moved its outline, border and minimum height to its frame in #4379. Check the forced-colors cue on either the editor or its frame, and compare text typography and padding rather than requiring both presentations to paint their frames on the same node. Preserve the Markdown reading and overflow checks.

Both affected light/desktop and dark/touch cases pass. Removing the floating frame ring makes the revised assertion fail.

Closes #4457
@leaf-agent
leaf-agent merged commit b24934b into main Oct 28, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4457 branch October 28, 2026 13:19
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.

Forced-colors response field has no outline in shadow seating test

1 participant