You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by sa...@apache.org on 2009/09/05 06:22:20 UTC
svn commit: r811589 -
/incubator/click/trunk/click/framework/src/org/apache/click/element/CssStyle.java
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">
- * <style type="text/css" rel="stylesheet">
+ * <style type="text/css">
* body { font: 12px arial; }
* </style> </pre>
*
@@ -98,7 +98,7 @@
* <tt>myApp</tt>):
*
* <pre class="prettyprint">
- * <style type="text/css" rel="stylesheet">
+ * <style type="text/css">
* .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");
}
/**