Opened 2 years ago

Closed 2 years ago

#18911 closed defect (fixed)

dojo/dom-geometry getContentBox returns incorrect left/top values

Reported by: shigley Owned by: Dylan Schiemann <dylan@…>
Priority: undecided Milestone: tbd
Component: HTML Version: 1.11.2
Keywords: Cc:
Blocked By: Blocking:

Description

The documentation and source code comments suggest getContentBox should return a left/top position relative to its offset parent, but it currently only returns left/top padding values. It looks like it was forgotten when the correct left/top was added for getMarginBox: https://bugs.dojotoolkit.org/browser/legacy/dojo/trunk/_base/html.js?rev=8640

Additionally, it has an incorrect fix for Opera's offsetLeft/parent border issue. This was addressed in https://bugs.dojotoolkit.org/ticket/3565 but only fixed for getMarginBox.

Change History (1)

comment:1 Changed 2 years ago by Dylan Schiemann <dylan@…>

Owner: set to Dylan Schiemann <dylan@…>
Resolution: fixed
Status: newclosed

In b2b42c8/dojo:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 
Note: See TracTickets for help on using tickets.