[Webkit-unassigned] [Bug 71579] Exposing getRect function in WebNode for chromium

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 8 14:24:17 PST 2011


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


Darin Fisher (:fishd, Google) <fishd at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #114148|review?                     |review+
               Flag|                            |




--- Comment #15 from Darin Fisher (:fishd, Google) <fishd at chromium.org>  2011-11-08 14:24:17 PST ---
(From update of attachment 114148)
View in context: https://bugs.webkit.org/attachment.cgi?id=114148&action=review

> Source/WebKit/chromium/public/WebNode.h:119
> +    // Note: This method only works properly after layout has occurred.

Given that we have the same comment on hasNonEmptyBoundingBox, I think it is OK to
have the same comment here.

I'm wondering what it means to return document-relative coordinates the Chromium.
I don't know that we have a good way on the Chromium side to map those coordinates
to viewport coordinates.  As a result, I'm not sure what you would do with these
coordinate values.  Are they meaningful to you when the node is contained within a
scrolled page?  What about a node in an iframe that is scrolled, contained in a
page that is also scrolled?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list