Bug 52823

Summary: need a way to obtain the rendered rectangle for box elements
Product: WebKit Reporter: Kevin Decker <kdecker>
Component: WebKit2Assignee: Kevin Decker <kdecker>
Status: RESOLVED FIXED    
Severity: Normal CC: darin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: OS X 10.5   
Attachments:
Description Flags
proposed fix andersca: review+

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.