[Webkit-unassigned] [Bug 185034] getBoundingClientRect() x and y are divided by CSS zoom

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 27 11:49:39 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=185034

--- Comment #1 from Juan Pablo Ugarte <juanpablougarte at gmail.com> ---
Created attachment 339011

  --> https://bugs.webkit.org/attachment.cgi?id=339011&action=review

Proposed patch

I think the problem is in Document::convertAbsoluteToClientRect()
If I remove style.effectiveZoom() from frameView.absoluteToDocumentRect() call everything seems to be right, the position is in CSS pixels and widgth/height are adjusted by zoom.

-- 
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/20180427/4f91ff9d/attachment.html>


More information about the webkit-unassigned mailing list