Skip to content

Stale-point guard: the record's bisection finds no shown children when a list's end child is framed at its parent's origin (Safari) #309

Closed

Description

@SSFSKIM

Defect

In Safari, the stale-point guard's record holds none of a long page body's children, though the tree isn't cut. So the guard checks only the container under most clickable points.

On docs.python.org, 36.8–91.1% of clickable points were fully checked across all 8 observations of #304's spike (top / 25 / 50 / 90%, 2 reps). That is 804 points left container-only.

Cause

  • The width rule omits the body's 667 children.
  • Engine: when the node budget cuts, keep what the screenshot shows (visible-first walk) #301's record-only bisection, recordedChildPositions (native/engine/Sources/Engine/Walk.swift, around line 160), picks the list's axis by comparing the first and last framed children.
  • The body's last child is a 10-pt group framed at the body's own top (y 16,183). Its minY and minX tie the first child's.
  • The function therefore returns [], and the record gets none of the body's children.
  • A diagnostic run on the runner read those children and confirmed this.

Fix direction

Choose the axis robustly: ignore an end child framed at the parent's origin, or vote over the probe pairs. Add a unit test with this shape.

#304's wide-list fix reuses the same bisection, so the two ship in one PR, by design session ruling 7b2a5a70.

Evidence

Activity

  1. added
    bug
    status:ready-for-implementer
    priority:P2
    status:in-progress
    and removed
    status:ready-for-implementer
    on Nov 7, 2026
  2. SSFSKIM commented on Nov 7, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-progress: Built with #304's wide-list fix in one PR (ruling 7b2a5a70)

  3. added 3 commits that reference this issue on Nov 7, 2026
  4. added
    status:in-review
    and removed
    status:in-progress
    on Nov 7, 2026
  5. SSFSKIM commented on Nov 7, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-review: PR #311 (with #304)

  6. removed
    status:in-review
    on Nov 7, 2026
  7. SSFSKIM commented on Nov 7, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: Landed via PR #311 (0.27.2)

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

    bugpriority:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions