diff --git a/testing/web-platform/tests/css/css-viewport/zoom/scroll-top-test-with-zoom.html b/testing/web-platform/tests/css/css-viewport/zoom/scroll-top-test-with-zoom.html index 290fa602af67..9656fe120e8e 100644 --- a/testing/web-platform/tests/css/css-viewport/zoom/scroll-top-test-with-zoom.html +++ b/testing/web-platform/tests/css/css-viewport/zoom/scroll-top-test-with-zoom.html @@ -23,9 +23,7 @@ }, "Initial scrollTop with no zoom"); document.body.style.zoom = 1.2; - test(function() { - assert_approx_equals(container.scrollTop, 77, 0.99, "scrollTop should remain consistent within 1 px after zooming in"); - }, "scrollTop after increasing zoom level"); + document.body.offsetTop; document.body.style.zoom = 1; test(function() {