[Webkit-unassigned] [Bug 186268] New: Focus event dispatched in iframe causes parent document to scroll incorrectly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 4 08:17:27 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=186268
Bug ID: 186268
Summary: Focus event dispatched in iframe causes parent
document to scroll incorrectly
Product: WebKit
Version: Safari 11
Hardware: iPhone / iPad
OS: iOS 11
Status: NEW
Severity: Major
Priority: P2
Component: Frames
Assignee: webkit-unassigned at lists.webkit.org
Reporter: yann.armelin at amadeus.com
Created attachment 341903
--> https://bugs.webkit.org/attachment.cgi?id=341903&action=review
test case
On a long page, when focus() is called on an element within an iframe, and if the offsetY of the iframe is > 0, the browser incorrectly scroll after the frame.
It occurs only on non-input HTML elements (like div or span with a tabindex attribute).
The same issue is observed when element.scrollIntoView() is called from an iframe.
I reproduced the issue on iOS (11.3.1), and with a locally built WebKit.
It's very similar to the following closed bug : https://bugs.webkit.org/show_bug.cgi?id=158629 .
--
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/20180604/85d0cb1b/attachment.html>
More information about the webkit-unassigned
mailing list