RESOLVED DUPLICATE of bug 209947210432
ResizeObserver contentRect gives incorrect measurements when Safari is not at 100% zoom level
https://bugs.webkit.org/show_bug.cgi?id=210432
Summary ResizeObserver contentRect gives incorrect measurements when Safari is not at...
Luke
Reported 2020-04-13 09:10:00 PDT
Created attachment 396293 [details] 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.
Attachments
screenshot illustrating ResizeObserver.contentRect issue (670.92 KB, image/png)
2020-04-13 09:10 PDT, Luke
no flags
Simon Fraser (smfr)
Comment 1 2020-04-13 09:32:05 PDT
*** This bug has been marked as a duplicate of bug 209947 ***
Note You need to log in before you can comment on or make changes to this bug.