[Webkit-unassigned] [Bug 75512] [EFL] Implement the hit test result's bounding rect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 19 04:41:33 PST 2012


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





--- Comment #12 from Jinwoo Song <jinwoo7.song at samsung.com>  2012-01-19 04:41:33 PST ---
(In reply to comment #11)
> (From update of attachment 121385 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=121385&action=review
> 
> > Source/WebKit/efl/ewk/ewk_frame.cpp:691
> > +    hitTest->bounding_box = result.innerNonSharedNode() ? result.innerNonSharedNode()->renderer()->absoluteBoundingBoxRect() : WebCore::IntRect();
> 
> I know you just follow what other ports do. But it is really unfortunate to see this
> - layering violation: accessing the render object.
> - null check which should be done by HItTestResult.
> 
> Could you extract this function as a part of HistTestResult method?

Sure, I'll prepare a patch as you suggested.

-- 
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