[svn r16] title to demo trunk
authordglazman
Thu, 11 Mar 2010 10:24:38 -0600
branchtrunk
changeset 12 598cc6e236b1
parent 11 4bcc8e0fa297
child 13 eeab3bc03049
[svn r16] title to demo
demo.xhtml
--- a/demo.xhtml	Thu Mar 11 10:19:37 2010 -0600
+++ b/demo.xhtml	Thu Mar 11 10:24:38 2010 -0600
@@ -6,10 +6,11 @@
   <script type="application/x-javascript"  src="cssParser.js"></script>
   <script type="application/x-javascript">
     function onLoad() {
-      var ss = "pre { background-color: #FFFFCC;\
-  border: 2px silver solid; \
-  padding: 1em; -moz-border-radius: 11px;}\
- body { font-family: sans-serif; margin: 1em }";
+      var ss = "pre { background-color: #FFFFCC; border: 2px silver solid; padding: 1em; -moz-border-radius: 11px;}\n\
+body { font-family: sans-serif; margin: 1em }\n\
+h1 { background-color: silver }\n\
+h2 { background-color: lightgrey }\n\
+h1, h2 { margin: 0px; padding: 4px }";
       var source = document.getElementById("source");
       source.textContent = ss;
       var style = document.createElement("style");
@@ -25,6 +26,8 @@
   </script>
 </head>
 <body onload="onLoad()">
+  <h1>JSCCSP, a CSS parser in JavaScript</h1>
+  <h2>Author: <a href="http://glazman.org/weblog">Daniel Glazman</a></h2>
   <p>This document has the following stylesheet attached:</p>
   <pre id="source"/>
   <p>And this is the serialization through <a href="http://sources.disruptive-innovations.com/jscssp/">JSCSSP</a>:</p>