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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 8 11:29:59 PST 2011


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

> Source/WebKit/chromium/public/WebNode.h:117
> +    WEBKIT_EXPORT WebRect getRect() const;

hmm... this function is only valid if layout is up-to-date.  you should document that fact.

also, i wonder if this is really the best name for this method.  I realize that Node uses
this name, but RenderObject calls this property absoluteBoundingBoxRect.  that may be a
nicer name as it is much more descriptive.

are the coordinates document-relative or viewport-relative?

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