You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by jw...@apache.org on 2009/05/30 01:05:11 UTC

svn commit: r780136 - /myfaces/trinidad/trunk/src/site/xdoc/devguide/skinning.xml

Author: jwaldman
Date: Fri May 29 23:05:11 2009
New Revision: 780136

URL: http://svn.apache.org/viewvc?rev=780136&view=rev
Log:
TRINIDAD-799 Add agent version support in skinning
Add documentation for this feature to skinning.xml

Modified:
    myfaces/trinidad/trunk/src/site/xdoc/devguide/skinning.xml

Modified: myfaces/trinidad/trunk/src/site/xdoc/devguide/skinning.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/src/site/xdoc/devguide/skinning.xml?rev=780136&r1=780135&r2=780136&view=diff
==============================================================================
--- myfaces/trinidad/trunk/src/site/xdoc/devguide/skinning.xml (original)
+++ myfaces/trinidad/trunk/src/site/xdoc/devguide/skinning.xml Fri May 29 23:05:11 2009
@@ -833,7 +833,23 @@
         This is to define styles only for a particular agent.
         Agent type can be followed by a space separated list of version numbers.
         Several agents can be specified separated by commas.
-        </li>
+        <P>
+        You can specify agent versions as well. For example:
+        <source>
+        @agent ie and (version: 6) and (version: 7), gecko and (version: 1.9)
+        </source>
+	These are the same:
+	<source>
+	@agent ie and (version: 6.*)
+	@agent ie and (version: 6)
+	</source>
+	So to match only 6.0.x use:
+	<source>
+	@agent ie and (version: 6.0)
+	</source>
+	There is currently no syntax to specify a range of versions.
+        </P>
+        </li>        
         <li>
         <strong>@accessibility-profile</strong> {/skin definitions go here/} - > 
         Possible values are: high-contrast, large-fonts.