Skip to content

Source fallback style test expects auto overflow but observes clip #4095

Closed

Description

@leaf-agent

tests/browser/widgets/test_lifecycle_and_controls.py::test_a_source_widget_releases_its_fallback_face_when_it_renders fails while /leaf.js is held, before runtime startup is released. The loop compares #code, #diagram and #diff with the custom #document source fallback. The deciding assertion differs only in overflow: actual clip, expected auto; font, size, line height and color match.

Identify which bundled widget causes the mismatch and inspect the authored scroll-surface contract before changing CSS or the assertion. This is a pre-runtime fallback comparison, not evidence that the later fallback-release gesture failed.

Observed in CI run 40217569506 on commit 2148fd1d1ff763cf2cd78e1b61253828193624b6. This report session read the deciding CI diagnostic; it did not reproduce locally. Start with the focused test on current main and inspect earlier CI results before choosing a repair.

The same focused case(s) passed in the preceding push run 40214840234, on 3fa4fd3a21701031b91a85841bec5bdba0314eb1. Run 40217569506 is the first failure established here; a prior pass does not clear an intermittent defect.

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    Fixed in #4100. The mismatch came from lf-diff: #3984 intentionally clips its reserved first-paint box, while the generic source fallback scrolls. The test now compares shared typography independently of package layout and retains the generic fallback's scrolling and release checks in document and shadow contexts.

    The reported test failed locally before the correction. Afterward it and both desktop/touch diff first-paint cases passed (3 tests), and PR CI passed on the pushed head before merge.

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