[Webkit-unassigned] [Bug 218138] New: MouseEvent.offsetX/Y: Caching of values may create unexpected results
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 23 14:58:58 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=218138
Bug ID: 218138
Summary: MouseEvent.offsetX/Y: Caching of values may create
unexpected results
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: UI Events
Assignee: webkit-unassigned at lists.webkit.org
Reporter: noam at webkit.org
See https://github.com/w3c/csswg-drafts/issues/1070
Currently, offsetX/Y are computed at the first time they are requested rather than when the event is dispatched.
This means that if there is a layout between the time of the event and the time of the call to event.offsetX/Y, the results would not match the spec, and may also create an undesired synchronous layout.
--
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/20201023/d51c41a6/attachment.htm>
More information about the webkit-unassigned
mailing list