Skip to content

fix: compare source fallback typography independently of layout - #4100

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4095
Oct 25, 2026
Merged

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

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The fallback-style test required every bundled source widget to share the generic fallback's overflow. #3984 deliberately gives an inline diff a clipped first-paint box to reserve its drawn height, so that equality now rejects the intended layout. Compare the shared typography independently of package layout; retain the generic fallback's scrolling and its release after rendering in both document and shadow contexts.

The original case reproduced clip versus auto on current main. With this test correction, it passes alongside both desktop and touch cases of test_an_inline_patch_first_paints_at_the_height_it_draws_at (3 passed).

Closes #4095 — automated triage

The inline diff reserves its drawn height and clips its first-paint box since #3984. The generic source fallback still scrolls, so requiring identical overflow rejects the intended package layout. Keep the bundled typography comparison and the generic document/shadow fallback release assertions; the dedicated diff first-paint test owns its reserved geometry.

The original case failed with clip versus auto before this change. The corrected case and both wide/touch diff first-paint cases pass (3 tests).

Closes #4095
@leaf-agent
leaf-agent merged commit d86a842 into main Oct 25, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4095 branch October 25, 2026 19:12
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.

Source fallback style test expects auto overflow but observes clip

1 participant