[svn r51] error in shorthand parsing trunk
authordglazman
Tue, 16 Mar 2010 07:14:39 -0500
branchtrunk
changeset 47 dcda5ce5f797
parent 46 62cddb244f1f
child 48 a2ac66e98ac1
[svn r51] error in shorthand parsing
cssParser.js
--- a/cssParser.js	Tue Mar 16 07:12:02 2010 -0500
+++ b/cssParser.js	Tue Mar 16 07:14:39 2010 -0500
@@ -1158,13 +1158,13 @@
         top = values[0];
         left = values[1];
         right = left;
-        bottom = value[2];
+        bottom = values[2];
         break;
       case 4:
         top = values[0];
         right = values[1];
-        bottom = value[2];
-        left = value[3];
+        bottom = values[2];
+        left = values[3];
         break;
       default:
         return "";
@@ -1233,13 +1233,13 @@
         top = values[0];
         left = values[1];
         right = left;
-        bottom = value[2];
+        bottom = values[2];
         break;
       case 4:
         top = values[0];
         right = values[1];
-        bottom = value[2];
-        left = value[3];
+        bottom = values[2];
+        left = values[3];
         break;
       default:
         return "";
@@ -1420,13 +1420,13 @@
         top = values[0];
         left = values[1];
         right = left;
-        bottom = value[2];
+        bottom = values[2];
         break;
       case 4:
         top = values[0];
         right = values[1];
-        bottom = value[2];
-        left = value[3];
+        bottom = values[2];
+        left = values[3];
         break;
       default:
         return "";
@@ -1491,13 +1491,13 @@
         top = values[0];
         left = values[1];
         right = left;
-        bottom = value[2];
+        bottom = values[2];
         break;
       case 4:
         top = values[0];
         right = values[1];
-        bottom = value[2];
-        left = value[3];
+        bottom = values[2];
+        left = values[3];
         break;
       default:
         return "";