--- a/cssParser.js Mon Mar 15 07:41:26 2010 -0500
+++ b/cssParser.js Mon Mar 15 07:47:43 2010 -0500
@@ -1567,7 +1567,7 @@
{
var decl = new jscsspDeclaration();
decl.property = property;
- decl.value = value;
+ decl.value = this.trim11(value);
decl.parsedCssText = property + ": " + value + ";";
return decl;
},
--- a/demo.xhtml Mon Mar 15 07:41:26 2010 -0500
+++ b/demo.xhtml Mon Mar 15 07:47:43 2010 -0500
@@ -8,7 +8,7 @@
/* comment between two declarations */<a ></a>border: 2px silver solid; padding: 1em; -moz-border-radius: 11px;
-webkit-border-radius:11px}
body { font-family: sans-serif; margin: 1em }
-.foo { font: normal small-caps 120%/120% fantasy; }
+.foo { font: x-large/110% "New Century Schoolbook", serif }
/* comment between two style rules */
h1 { background-color: silver }
h2 { background-color: lightgrey }