Skip to content

Firefox field caret has no reserved space at the line end #4428

Closed

Description

@leaf-agent

Push CI run 40478528673, on 35e5f418c9722f1ddfbac8d64303f40a408417c5, records this failure.

Affected cases:

  • tests/browser/test_chrome_contracts.py::test_a_caret_at_a_lines_end_paints_inside_the_field[firefox_browser]

field.evaluate(CARET_ROOM) returns -0.000030517578125 where the assertion requires at least 1px of room. The measured field is .lf-fab-input. This is a caret geometry failure, not a timeout.

This report session read the deciding CI diagnostic; it did not reproduce locally or establish the introducing change. Reproduce on current main and inspect prior run results and the introducing change before choosing a repair. Preserve the change's intent and the user behavior, distinguishing an obsolete assertion from a product defect.

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    Fixed and merged in #4442. Field motion was replacing the editor's 2px caret margin with its travel distance, including zero. The shared motion now preserves caret room in both the overflow clip and the moving content clip.

    The regression now holds the last animation frame so cleanup cannot hide the failure. It fails with the old motion code and passes with the fix in Firefox and Chromium. The panel growth/shrink checks and all 682 runtime tests also passed, and CI finished green on the merged PR's final head.

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