Closed Bug 1264946 Opened 8 years ago Closed 2 years ago

Offset indicator lines are wrong when element is inside a frame

Categories

(DevTools :: Inspector, defect, P2)

defect

Tracking

(firefox48 affected)

RESOLVED FIXED
Tracking Status
firefox48 --- affected

People

(Reporter: sebo, Unassigned)

References

()

Details

(Whiteboard: [btpp-fix-later])

When the Geometry Editor is shown for an element inside a frame, the offset indicator lines reach to the edge of the main window instead of the frame.

Steps to reproduce:
1. Open the Inspector on data:text/html,<iframe srcdoc="<style>div{position:absolute; top:30px; left:30px;border:10px solid red;}</style><div>test</div>" style="position:relative;top:100px;left:200px;"></iframe>
2. Switch to the Box Model side panel
3. Inspect the <div> with the red border
4. Enable the Geometry Editor

Sebastian
Triaging (filter on CLIMBING SHOES).
Priority: -- → P2
Whiteboard: [btpp-fix-later]
Product: Firefox → DevTools

Tested this in Firefox 101.0 on Windows 10 and it works for me now. The offset indicator lines are only reaching to the edge of the iframe.

Sebastian

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.