Opened 11 years ago

Last modified 11 years ago

#8270 closed defect

dojo.coords() returns incorrect value for width on Google Chrome — at Version 1

Reported by: Jared Jurkiewicz Owned by: sjmiles
Priority: high Milestone: 1.3
Component: HTML Version: 1.2.3
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Jared Jurkiewicz)

I encountered this doing a basic test. I had a sized div (width 200px, height 100px) and call dojo.coords on it. On IE, Firefox, Safari, etc, I get:

Width 200px Height 200px.

Expected!

On Chrome I get: Height 100px Width <whatever the page width is.>

It's not properly reporting the size of a sized element, such as a sized div.

I've included a testcase.

Change History (2)

Changed 11 years ago by Jared Jurkiewicz

Attachment: test_DojoCoords.html added

comment:1 Changed 11 years ago by Jared Jurkiewicz

Description: modified (diff)
Note: See TracTickets for help on using tickets.