[Webkit-unassigned] [Bug 218891] element.rect doesn't yield correct co-ordinates on iOS
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 17 04:08:23 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=218891
--- Comment #5 from Luke Hill <lukehill_uk at hotmail.com> ---
I do use a JS "hack" to scroll. Which perhaps isn't computing well with the iOS Driver.
But it works (i.e. it does scroll). For ref I do a window.scrollTo(10000,0) call.
I "know" for iOS I could maybe do something different, but we don't care how the user scrolls - As for that webpage, we want to test it "stickies" the OISC Warning. To me this was the "best" way to test the sticky behaviour.
I.e. the rect should be moved from its starting position. So my test grabs the starting y value, scrolls down, asserts it has changed. But for iOS it goes all weird. It works fine on Mojave 12 Safari so it suggests it's not globally broken with the safaridriver. So I'm not sure.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201117/2fb544da/attachment.htm>
More information about the webkit-unassigned
mailing list