Automatic update from web-platform-tests"Scroll an element into view" in HTML spec
I use assert_approx_equals here since properties of DOMRect are of type double.
For https://github.com/whatwg/html/pull/3131.
--
wpt-commits: 32f74fe70209b3df142a03957779a6d776a6f74a
wpt-pr: 10828