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

mitz
Reported 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.
Attachments
mitz
Comment 1 2006-06-06 14:10:22 PDT
Firefox has exposed getBoxObjectFor by accident: https://bugzilla.mozilla.org/show_bug.cgi?id=340571
Robert O'Callahan
Comment 2 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 :-(
mitz
Comment 3 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.
Ian 'Hixie' Hickson
Comment 4 2006-06-06 14:24:44 PDT
We should implement getBoundingClientRect() (on HTMLElement), IMHO. IMHO getBoxObjectFor() should not be implemented.
Dave Hyatt
Comment 5 2006-06-06 14:35:13 PDT
It absolutely should not be implemented.
Dave Hyatt
Comment 6 2006-06-06 14:36:55 PDT
getBoundingClientRect would be reasonable I suppose.
Note You need to log in before you can comment on or make changes to this bug.