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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 4 07:21:23 PDT 2018


--- Comment #17 from Juan Pablo Ugarte <juanpablougarte at gmail.com> ---
(In reply to Konstantin Tokarev from comment #16)
> Comment on attachment 339444 [details]
> Proposed patch v3
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=339444&action=review
> > Source/WebCore/dom/Document.cpp:6843
> > +    (void)style;
> You should remove style argument, or at least use UNUSED_PARAM() macro

Thanks for the tip, anyways this patch is not the proper way to fix this issue since it also breaks other tests which means it has to be fixed in other place if there is an issue in the first place.

zoom property is not standard so who knows how it should behave regarding getBoundingClientRect()

IMHO at least left and top property should not be affected by it but 
https://trac.webkit.org/browser/webkit/trunk/LayoutTests/css3/zoom-coords.xhtml#L80 seems to differ

so are those test cases wrong?

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/20180504/25cea0ae/attachment.html>

More information about the webkit-unassigned mailing list