Skip to content

test: expect no clipped-out finding for a box sized past only the window's right edge - #5574

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-5489
Nov 5, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-5489

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

test_an_obligation_spanning_its_block_is_a_breakout has failed on main since #5120 because it still expects clipped-out on <div id=sized>. #5120 deleted the root's overflow-x: hidden so a page wider than the window scrolls sideways, and its description says content past the window's right edge is now reported through page-scrolls, no longer also as clipped-out by the root. #sized is width: calc(100% + 600px), so it reaches past the right edge only. That finding went away by design. #bare and #tinted use negative margins on both sides, so they still reach off the leading edge, which no scroll reaches, and keep clipped-out. All three still report past-column.

This PR drops the stale pin and says in the docstring which boxes are clipped and why. It changes no code and no behavior beyond what #5120 intended.

Verified with uv run pytest --run-main on that test: it failed on 990cc5f4a, the same diff as the issue's, and passes with this change. With browser/base.css restored to f69c5e9fe^ (the rule back), the updated test fails again, which ties the dropped finding to that rule.

Closes #5489 — automated triage

…iling edge

#5120 removed the root's `overflow-x: hidden`, so content past the window's
right edge is reached by the root's sideways scroll and reported through
`page-scrolls`, no longer as `clipped-out` by the root. The breakout test's
`#sized` box extends only to the right, so its `clipped-out` finding went
away by design; `#bare` and `#tinted` reach off the leading edge and keep
theirs. Each box still reports `past-column`.

Behavior changed: none beyond #5120's; the test's expectation follows it.

Closes #5489
@leaf-agent
leaf-agent merged commit f73fc73 into main Nov 5, 2026
6 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-5489 branch November 5, 2026 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_an_obligation_spanning_its_block_is_a_breakout fails on main since #5120

1 participant