You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Round getBoundingClientRect()'s height and Element.scrollTop to avoid mis-comparison between double values and integer values.
The target element (top_box) height is defined by '60vh', the scroll
position also depends on vh-units values, thus these values would be
fractional on certain browser window sizes.
(It can be observable with the default headless mode browser window size,
1366x768.)
Differential Revision: https://phabricator.services.mozilla.com/D249193
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1966276
gecko-commit: 4fa6a18a08006b4fc3e852f5ee1faf912d709957
gecko-reviewers: emilio
0 commit comments