[svn r35] trailing whitespace if no trailing ; after a declaration trunk
authordglazman
Mon, 15 Mar 2010 07:47:43 -0500
branchtrunk
changeset 31 82da90f0de2c
parent 30 274a7a689b7f
child 32 554004f8ab08
[svn r35] trailing whitespace if no trailing ; after a declaration
cssParser.js
demo.xhtml
--- 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 }