Bug 52823 - need a way to obtain the rendered rectangle for box elements
Summary: need a way to obtain the rendered rectangle for box elements
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: All OS X 10.5
: P2 Normal
Assignee: Kevin Decker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-20 10:51 PST by Kevin Decker
Modified: 2011-06-18 12:01 PDT (History)
1 user (show)

See Also:


Attachments
proposed fix (3.99 KB, patch)
2011-01-20 10:57 PST, Kevin Decker
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Decker 2011-01-20 10:51:08 PST
<rdar://problem/8880689> need a way to obtain the rendered rectangle for box elements
Comment 1 Kevin Decker 2011-01-20 10:57:11 PST
Created attachment 79617 [details]
proposed fix
Comment 2 Anders Carlsson 2011-01-20 11:03:05 PST
Comment on attachment 79617 [details]
proposed fix

View in context: https://bugs.webkit.org/attachment.cgi?id=79617&action=review

> Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundleNodeHandlePrivate.h:43
> +WK_EXPORT WKRect WKBundleNodeHandleRenderRect(WKBundleNodeHandleRef nodeHandle, bool* isReplaced);

A better name for this function would be WKBundleNodeHandleGetRenderRect.