Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#642 closed defect (fixed)

Typo in svg.js setDimensions

Reported by: gavin-dojo@… Owned by: anonymous
Priority: high Milestone:
Component: Core Version: 0.2
Keywords: svg setDimensions Cc:
Blocked By: Blocking:

Description

patch:

Index: svg.js =================================================================== --- svg.js (revision 134) +++ svg.js (working copy) @@ -113,7 +113,7 @@

will only support shape-based and container elements; path-based elements are ignored. if (node.width){

node.width.baseVal.value = dim.width;

  • node.height.baseVal.vaule = dim.height;

+ node.height.baseVal.value = dim.height;

} else if (node.r){

node.r.baseVal.value = Math.min(dim.width, dim.height)/2;

Change History (3)

comment:1 Changed 14 years ago by Tom Trenka

Milestone: 0.3release

Thanks for the catch, I'll change this shortly.

comment:2 Changed 14 years ago by Tom Trenka

Resolution: fixed
Status: newclosed

Committed, changeset #3658.

comment:3 Changed 12 years ago by (none)

Milestone: 0.3release

Milestone 0.3release deleted

Note: See TracTickets for help on using tickets.