[Webkit-unassigned] [Bug 210432] New: ResizeObserver contentRect gives incorrect measurements when Safari is not at 100% zoom level
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 13 09:10:00 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=210432
Bug ID: 210432
Summary: ResizeObserver contentRect gives incorrect
measurements when Safari is not at 100% zoom level
Product: WebKit
Version: Safari 13
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: lukesideris at gmail.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Created attachment 396293
--> https://bugs.webkit.org/attachment.cgi?id=396293&action=review
screenshot illustrating ResizeObserver.contentRect issue
Codepen to demonstrate issue: https://codepen.io/lukesideris/pen/oNjXmoJ
When safari is zoomed in or out the value of ResizeObserver.contentRect returns the elements size after the zoom level is applied. This causes problems with measuring and aligning content because the actual height (getClientBoundingRect for instance) of the element is not the same as the rendered height.
--
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/20200413/2ffee14c/attachment.htm>
More information about the webkit-unassigned
mailing list