Opened 8 years ago

Closed 8 years ago

#14418 closed task (fixed)

possible Xbrowser defect in Tooltip.js (node.width vs node.style.width)

Reported by: Karl Tiedt Owned by: bill
Priority: high Milestone: 1.8
Component: Dijit Version: 1.7.0
Keywords: dijit.Tooltip width Cc:
Blocked By: Blocking:

Description (last modified by Karl Tiedt)

A Co-worker pointed this out, opening a ticket since maybe its a non-issue (other than consistency)

line # 81 of Tooltip.js in 1.7 uses

node.width = "auto" yet everywhere else in the file that width is modified is done via node.style.width = "auto"

Change History (3)

comment:1 Changed 8 years ago by Karl Tiedt

Description: modified (diff)

comment:2 Changed 8 years ago by bill

Milestone: 1.8
Owner: set to bill
Status: newassigned
Type: defecttask

Ah you are right, that line isn't doing anything useful, but it's OK because orient() takes care of setting style.width to auto. I'll check in a fix.

comment:3 Changed 8 years ago by bill

Resolution: fixed
Status: assignedclosed

In [27335]:

remove unneeded and inert line of code, fixes #14418 !strict

Note: See TracTickets for help on using tickets.