click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r811589 - /incubator/click/trunk/click/framework/src/org/apache/click/element/CssStyle.java
Date Sat, 05 Sep 2009 04:22:20 GMT
Author: sabob
Date: Sat Sep  5 04:22:19 2009
New Revision: 811589

URL: http://svn.apache.org/viewvc?rev=811589&view=rev
Log:
removed rel attribute from CssStyle. CLK-580

Modified:
    incubator/click/trunk/click/framework/src/org/apache/click/element/CssStyle.java

Modified: incubator/click/trunk/click/framework/src/org/apache/click/element/CssStyle.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/element/CssStyle.java?rev=811589&r1=811588&r2=811589&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/element/CssStyle.java (original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/element/CssStyle.java Sat Sep
 5 04:22:19 2009
@@ -50,7 +50,7 @@
  * The <tt>cssStyle</tt> instance will render as follows:
  *
  * <pre class="prettyprint">
- * &lt;style type="text/css" rel="stylesheet"&gt;
+ * &lt;style type="text/css"&gt;
  * body { font: 12px arial; }
  * &lt;/style&gt; </pre>
  *
@@ -98,7 +98,7 @@
  * <tt>myApp</tt>):
  *
  * <pre class="prettyprint">
- * &lt;style type="text/css" rel="stylesheet"&gt;
+ * &lt;style type="text/css"&gt;
  * .blue {
  *     background: #00ff00 url('/myApp/css/blue.png') no-repeat fixed center;
  * }
@@ -180,7 +180,6 @@
             this.content = content;
         }
         setAttribute("type", "text/css");
-        setAttribute("rel", "stylesheet");
     }
 
     /**



Mime
View raw message