Skip to content

Keyboard arrival focuses the margin thread without its card outline #4181

Closed

Description

@leaf-agent

tests/browser/navigation/test_threads.py::test_an_inline_thread_rings_its_card_for_keyboard_focus fails in CI run 40262576914 on da40e4eeb957144ef962468b147d7911068a8074.

The pointer route opens the margin thread, focuses it, and correctly observes no card outline. After Escape and t, the thread focus assertion passes, but the preview's computed outline style is none rather than the expected solid (line 730). The test stops there, before its outline-offset and reply-field assertions. Its paint reader checks the preview's ::after outline and falls back to the preview's own style.

The same test passed in preceding push run 40253579225. This report session read the failure and the test at the failing commit; it did not reproduce locally. Begin with current main and the earlier CI history to distinguish a lost keyboard-modality/ring update from a reading before presentation. The diagnostic establishes a missing computed outline, not clipping. #4125's scroller-edge ring-room decision and #4128's moving panel ring test concern different reported failures; do not treat either as an established fix for this one.

Cause of a failure tracked in #3985.

Activity

  1. added
    tend-ci-cause
    on Oct 26, 2026
  2. leaf-agent commented on Oct 26, 2026

    @leaf-agent
    CollaboratorAuthor

    #4182 merged the correction to the test's paint reader. #4174 moved the focus outline onto .lf-margin-preview-card, while this test continued reading the non-painting preview root. No runtime change was needed.

    On current main, the named test reproduced the reported none versus solid failure. Reading the card face makes the whole test pass, including its independent visible-ring/clipping checks and both reply-field input routes. All PR checks passed on commit 303c17c6d49f1404fa34debbf7aef58d5b456338. Tend landed the PR, closing this issue.

  3. added a commit that references this issue on Oct 26, 2026
    16b4826
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions