Skip to content

test_every_control_the_layer_offers_is_a_box_the_user_can_hit: a 0x0 icon action under the thread transcript since #6672 #6743

Closed

Description

@leaf-agent

tests/journeys/test_render_controls.py::test_every_control_the_layer_offers_is_a_box_the_user_can_hit[False] has failed since #6672 (b627d08c6, "Line the panel's field, tabs and thread controls, the margin card, dialog Close and plan marks up with their containers' edges"):

1 of the layer's controls are under the 24px floor a fine pointer asks for:
    lf-icon-action "" at 0.0x0.0 under .lf-thread-transcript

It failed on Linux and macOS in full-tier ci run 44989336653 on fac415460, and it fails locally on current main (d53e9994f). A git bisect run over c72a8ad03..fac415460 lands on b627d08c6, and its parent 48a61a0ef passes.

The control has no accessible name and a 0×0 box, so it's an icon action in a thread transcript that #6672's alignment either collapsed or left in the layer while hidden. The fix depends on which: a hidden control the sweep should skip, or a visible one that lost its box. I haven't established which yet.

Cause of a failure tracked in #6738.

Activity

  1. added
    tend-ci-cause
    on Nov 22, 2026
  2. leaf-agent commented on Nov 22, 2026

    @leaf-agent
    CollaboratorAuthor

    Fix is open in #6745. The 0×0 control is a visible control that lost part of its box, the panel thread's Copy. It isn't a hidden one the sweep should skip.

    #6672 hung each message's react and copy 12px past the message head, into the transcript's end room. The head clips what it holds 8px past its own end (surfaces.css, :where(.lf-msg-head)), so Copy's last 4px were cut. A press at x 860–863 of its 836–864 box landed on .lf-thread-transcript, and the sweep scored the whole aim as 0. #6745 moves the negative margin from the control room onto the panel's message head. The controls end where #6672 put them, and the clip now stands 8px past them.

    The test fails on d53e9994f and passes with the fix, under both pointers. The panel-thread stills are pixel-identical to main at rest. CI and landing on the PR are with tend-land.

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