Fix scrollend test
This patch fixes a few issues with the WPT
scrollend-event-fires-to-iframe-window.html:
- Use the iframe element as the "origin" for test_driver's scroll
function because it seems test_driver's scroll function is not happy
when the element specified as the "origin" belongs to the inner frame
and not the outer frame. - Round the inputs to test_driver's pointerMove to avoid issues related
to chromedriver not liking fractional touch positions. - Unused CSS rules are removed.
Bug: 340956654
Change-Id: Ie82a554d71a6f0f5a90920809189c6a89ca73030
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5570150
Commit-Queue: David Awogbemila awogbemila@chromium.org
Reviewed-by: Mustaq Ahmed mustaq@chromium.org
Cr-Commit-Position: refs/heads/main@{#1307485}