I want to scroll to bottom without triggering layout/reflow.
So I tried to set a fixed large number(Number.MAX_SAFE_INTEGER
or 1000000000000000) to scrollTop, which caused different behavior across browsers:
- Firefox(59.02)/Safari(11.1): scroll to top
- Chrome(66.0.3359.139): scroll to bottom
Here's the Example.
Is this a bug or there's something I went wrong...?