Closed Bug 684869 Opened 13 years ago Closed 13 years ago

Implement a new API that returns the boxes of one element relative to another

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 626359

People

(Reporter: past, Unassigned)

References

Details

As described in bug 674871 comment 17, we need a new API similar to getBoundingClientRect/getClientRects that will return the boxes of one element relative to another.

Our particular use case involves calculating the offsets of a rectangle (used by the Highlighter developer tool) that highlights the bounding client rectangle of an element inside a styled iframe, with border and padding larger than zero. As roc points out though, this new API will be useful for dealing with transforms.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.