Skip to content

test_the_lens_follows_the_scroll_in_every_engine: the contents lens stops following the scroll since #7486 #7501

Done

Description

@leaf-agent

tests/browser/widgets/test_contents_and_glosses.py::test_the_lens_follows_the_scroll_in_every_engine fails in Chromium, Firefox and WebKit with AssertionError: [96, 56, 56]: the contents map's lens stops following the scroll after its first step. Run 46109051945 on 88cbe8208 is the first to show it.

#7486 dropped the contents map's fixed track, so every sidebar track sticks. Its diff edits browser/layouts.css and packages/default/styles/toc.css. Over the five commits between af079bee4 and 88cbe8208, a bisect on the Tend runner finds the test passing at 5d0fe3587 and failing at 88cbe8208, in both Chromium and Firefox. The repair has to settle whether the lens should still follow the scroll in a sticky track, a product regression, or whether the test reads a geometry that only the fixed track produced.

Cause of a failure tracked in #7387.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #7507 fixes the test. #7486 didn't break the lens. It follows the scroll in all three engines. The assertion that failed is the one that says the map stands still from the page's top. The [96, 56, 56] in the error is the map's position, not the lens's. The map starts level with the page's first line and rises 40px before it sticks. #7486's description says the map now does this. The test now expects the map to stand still once its track sticks. It fails on main in Chromium, Firefox and WebKit and passes with the change. Its CI and landing are now with the PR.

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