#15428 closed defect (fixed)
dojo/dom-prop style.style 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: |
Description
Using dom-props in this fashion results in an error: style.style 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 9 years ago by
Owner: | set to Eugene Lazutkin |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 Changed 9 years ago by
Component: | Core → HTML |
---|---|
Milestone: | tbd → 1.8 |
Note: See
TracTickets for help on using
tickets.
In [28681]: