https://bugs.chromium.org/p/chromium/issues/detail?id=1205285#c4
- Launch the browser
- Navigate to : "https://en.wikipedia.org/wiki/Sikhs"
- scroll down and open image
- Observe that page scrolls to the starting/top of the page on closing image.
Actual Result:
Observe that page scrolls to the starting/top of the page on closing image.
Expected Result:
Page Should not scrolls to the starting/top of the page on closing image.
Root cause: Wikipedia issues a setTimeout call with a 0ms delay. Chromium previously turned this into a 1ms delay which allowed the proper restoration of the scroll position. The 0ms value is no longer clamped to 1ms.