Repository navigation
fix: restore overflow in diff scrolling fixtures - #4978
Conversation
|
The active review can also settle #4919: its adjacent hunk-navigation fixture has the same container-width cap failure. On current main, This is the same setup repair already made here for the wheel test, with no production change. The hunk fixture already declares |
Keep the hunk navigation assertion on a genuinely sideways-scrollable outer reader after the native layout width cap. The fixture opts out of that cap; production layout and navigation remain unchanged.
Restore the outer-reader overflow in the diff wheel and hunk-navigation fixtures. Both explicitly opt their wide diff out of the native layout's container-width cap, and the wheel fixture gives its enclosing reader native scrolling. This preserves production layout while restoring the boundaries the tests claim to exercise.
The hunk fixture reproduced
assert 0 == 150before its correction. The focused hunk test and the wheel test now pass on this branch (3 tests and 3 subtests), covering hunk navigation from both initial reading positions and horizontal wheel routing in Chromium and WebKit. Only test setup changes.Closes #4918
Closes #4919