Repository navigation
fix: compare source fallback typography independently of layout - #4100
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
clipversusautoon current main. With this test correction, it passes alongside both desktop and touch cases oftest_an_inline_patch_first_paints_at_the_height_it_draws_at(3 passed).Closes #4095 — automated triage