In SVG 1.1, the description for SVGLength.convertToSpecifiedUnits() says "No Exceptions," but there are situations where the results would be undefined: 1) If the unitType is SVG_LENGTHTYPE_UNKNOWN, then the results of the conversion are obviously undefined. (Setting the value to zero would be a reasonable default behavior in this case.) 2) If either the existing unitType or to-be-assigned unitType are SVG_LENGTHTYPE_PERCENTAGE, SVG_LENGTHTYPE_EXS or SVG_LENGTHTYPE_EMS, then the results of the conversion are undefined if the two unitTypes are different and the SVGLength exists outside of a DOM tree. (I can't think of a reasonable default behavior in this case.) -Steve Schafer Fenestra Technologies Corp http://www.fenestra.com/Received on Thursday, 22 May 2003 14:15:32 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:54:47 GMT