[Webkit-unassigned] [Bug 163892] New: Add function webkit_dom_element_get_bounding_client_rect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 24 08:28:08 PDT 2016


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

            Bug ID: 163892
           Summary: Add function
                    webkit_dom_element_get_bounding_client_rect
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Enhancement
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bouanto at zoho.com
                CC: bugs-noreply at webkitgtk.org

Hello.
It seems there are not methods named  webkit_dom_element_get_bounding_client_rect() in webkitdom to be used by  a web extension.
I currently use webkit_dom_element_get_offset_{left,top} recursively,  but it does not take CSS3 transformations into account.
Could you please add the function webkit_dom_element_get_bounding_client_rect() so that we can get the exact position of an element from a web  extension?
The method is defined [here in webkit](https://github.com/WebKit/webkit/blob/1719216d75e6c08a8a6358062a5418d304e71e97/Source/WebCore/dom/Element.h#L177).
Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161024/9da26c04/attachment.html>


More information about the webkit-unassigned mailing list