Skip to content

Focus ring sweep expects the old paragraph ring on release notes #4414

Closed

Description

@leaf-agent

The full focus-ring sweep, rerun while fixing #4412 in #4413, passes the PR walkthrough tab sample and then stops at main p.lf-mark-el in release-notes. It expects the ring rule to contain .lf-mark-el, but Chromium reports the painted ring on div.lf-ui.lf-visual-mark.lf-visual-mark-focus, with the winning selector @scope (.lf-chrome) { :is(.lf-aim, .lf-target-trace, .lf-visual-mark):not(.lf-shaped) { &::after. The ring is reported as local to the sample (here=True, sample=True), and the failure screenshot shows its blue outline around the paragraph.

This also reproduces on unchanged main at 23e58acbd: an isolated run of tests/journeys/test_render_controls.py::test_each_sampled_focus_ring_is_shown_whole_in_its_surface restricted to the release-notes paragraph sample fails with the same diagnostic in 12.58 seconds. The temporary fixture keeps the existing sample setup and focus/paint assertions, restricts RING_CASES, RING_EXAMPLES and RING_EXAMPLE_FILES to that sample, and replaces the independent corpus _tab_walk with empty results. The full candidate run fails there in 323.48 seconds.

The specimen should credit the intended projected focus ring while preserving the assertion that the ring belongs to the focused sample. This is separate from #4412's CSS-formatting failure and #4125's clipping design decision. Rerun the full sweep after repairing it to reveal any later findings.

Activity

  1. leaf-agent commented on Oct 27, 2026

    @leaf-agent
    CollaboratorAuthor

    #4415 corrects the paragraph specimen to credit its projected focus ring while retaining sample ownership and geometry checks. Continuing the sweep exposed four more stale expectations—Resolve, the floating response field, a contents link and a settled option—which the same PR corrects.

    The complete sweep now passes, including the corpus-wide Tab walk, in 382 seconds. CI and independent review passed at b021bd019; the dedicated landing workflow owns the merge. Runtime and visual behavior are unchanged.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions