Bug 8154

Summary: Implement Mozilla's getBoxObjectFor
Product: WebKit Reporter: mitz
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Enhancement CC: gavin.sharp, jwalden+bwo, roc
Priority: P3    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
URL: http://emersonnetworkpower.com/webapp/wcs/stores/servlet/ENPAV?storeId=10010&catalogId=10010&langId=-1

Description mitz 2006-04-03 08:19:56 PDT
The page in the URL uses document.getBoxObjectFor (or falls back on the IE extension getBoundingClientRect which isn't implemented in WebKit either) for submenu positioning. I couldn't find any official information on getBoxObjectFor.
Comment 1 mitz 2006-06-06 14:10:22 PDT
Firefox has exposed getBoxObjectFor by accident:
https://bugzilla.mozilla.org/show_bug.cgi?id=340571
Comment 2 Robert O'Callahan 2006-06-06 14:14:54 PDT
Given that this already leaked, I'm not 100% sure that it's a good idea to remove it :-(
Comment 3 mitz 2006-06-06 14:19:58 PDT
(In reply to comment #2)
> Given that this already leaked, I'm not 100% sure that it's a good idea to
> remove it :-(

Reopened. My own opinion is that WebKit should not implement getBoxObjectFor.
Comment 4 Ian 'Hixie' Hickson 2006-06-06 14:24:44 PDT
We should implement getBoundingClientRect() (on HTMLElement), IMHO.
IMHO getBoxObjectFor() should not be implemented.
Comment 5 Dave Hyatt 2006-06-06 14:35:13 PDT
It absolutely should not be implemented.
Comment 6 Dave Hyatt 2006-06-06 14:36:55 PDT
getBoundingClientRect would be reasonable I suppose.