<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -201,7 +201,10 @@ s2.css = {
    *      s2.css.interpolateLength('10%','30%',0.7) -&gt; '24%'
   **/
   interpolateLength: function(from, to, position){
-    if(!from) from = '0'+to.gsub(s2.css.NUMBER,'');
+    // Firefox will give '0pt' for a computed '0' value. Ensure units match.
+    if (!from || from.startsWith('0')) {
+      from = '0' + to.gsub(s2.css.NUMBER, '');
+    }
     to.scan(s2.css.NUMBER, function(match){ to = 1*(match[1]); });
     return from.gsub(s2.css.NUMBER, function(match){
       return (1*(parseFloat(match[1]).tween(to, position).toFixed(3))).toString();</diff>
      <filename>src/css.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>21a2257736969127d5f811b1a39a66c9e306f016</id>
    </parent>
  </parents>
  <author>
    <name>Andrew Dupont</name>
    <email>prototype@andrewdupont.net</email>
  </author>
  <url>http://github.com/savetheclocktower/scripty2/commit/2e0c476f0f8aa4e3ee9add1054663999d506c0fc</url>
  <id>2e0c476f0f8aa4e3ee9add1054663999d506c0fc</id>
  <committed-date>2009-11-03T01:04:19-08:00</committed-date>
  <authored-date>2009-11-03T01:04:19-08:00</authored-date>
  <message>Fix an issue with interpolating CSS from zero.</message>
  <tree>5d3bc88fd650dc35ce55088bf87aea003e3d28dc</tree>
  <committer>
    <name>Andrew Dupont</name>
    <email>prototype@andrewdupont.net</email>
  </committer>
</commit>
