Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#15428 closed defect (fixed)

dojo/dom-prop is not a function, should be style.set

Reported by: Arlo White Owned by: Eugene Lazutkin
Priority: undecided Milestone: 1.8
Component: HTML Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:


Using dom-props in this fashion results in an error: is not a function.

domProp.set(domNode,"style", {width:"100%", height:"600px"});

Line 147 of dom-prop.js should be:

style.set(node, value);

On a side-note: Shouldn't a unit test have caught this bug?

Change History (2)

comment:1 Changed 10 years ago by Eugene Lazutkin

Owner: set to Eugene Lazutkin
Resolution: fixed
Status: newclosed

In [28681]:

dom-prop: fixed a misnamed call, thx Arlo!, !strict, fixes #15428.

comment:2 Changed 10 years ago by bill

Component: CoreHTML
Milestone: tbd1.8
Note: See TracTickets for help on using tickets.