Ticket #6799 (closed defect: wontfix)

Opened 8 months ago

Last modified 8 months ago

dojo.coords(): wrong x/y when ancestor has border and style.overflow != visible (FF2)

Reported by: bill Owned by: sjmiles
Priority: normal Milestone:
Component: HTML Version: 1.1.0
Severity: normal Keywords:
Cc:

Description

See attached test case. On FF2, dojo.coords(node) returns the wrong result if the node's parent (or probably any ancestor) has a border, and visibility=="hidden", "auto", or "scroll". The border's width is not taken into account.

This causes drop downs to position incorrectly, see #6787.

Since the bug is only with FF2 (it's a FF bug, not a bug in our code), I think we can mark this as won't fix, but leaving here for a record (and in case some one wants to fix it).

Attachments

coords.html (1.2 kB) - added by bill 8 months ago.
test case for dojo.coords() bug (put in dijit/tests/layout)
getBoxObjectFor.html (1.2 kB) - added by bill 8 months ago.
test case for underlying FF2 bug

Change History

Changed 8 months ago by bill

test case for dojo.coords() bug (put in dijit/tests/layout)

Changed 8 months ago by bill

test case for underlying FF2 bug

Changed 8 months ago by bill

  • status changed from new to closed
  • resolution set to wontfix
Note: See TracTickets for help on using tickets.