Bug 8154 - Implement Mozilla's getBoxObjectFor
Summary: Implement Mozilla's getBoxObjectFor
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P3 Enhancement
Assignee: Nobody
URL: http://emersonnetworkpower.com/webapp...
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-03 08:19 PDT by mitz
Modified: 2006-06-06 14:41 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.