You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-commits@incubator.apache.org by jw...@apache.org on 2007/01/24 01:49:01 UTC

svn commit: r499209 - /incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/skins/purple/purpleSkin.css

Author: jwaldman
Date: Tue Jan 23 17:48:59 2007
New Revision: 499209

URL: http://svn.apache.org/viewvc?view=rev&rev=499209
Log:
I added a simple test case for adding a :rtl styleclass in the purpleSkin.css file.
This was to prove to me how it works, and to document it as well so someone looking at this demo file will understand how it works.

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/skins/purple/purpleSkin.css

Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/skins/purple/purpleSkin.css
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/skins/purple/purpleSkin.css?view=diff&rev=499209&r1=499208&r2=499209
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/skins/purple/purpleSkin.css (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/skins/purple/purpleSkin.css Tue Jan 23 17:48:59 2007
@@ -598,4 +598,19 @@
 .PortletHeaderLink {
   -tr-inhibit: text-decoration;
   color: pink;
+}
+
+/* this tests what happens when we add :rtl to the end of a style class. */
+
+/* When the browser's language is set to a left-to-right language like English,
+then we will use this style. We generate .testRightToLeft {color: blue;} when the browser's language
+is a left-to-right language. */
+.testRightToLeft {
+  color: blue;
+}
+/* If the language is right-to-left, then add this rtl specific css definition to the one
+above. We generate .testRightToLeft {color: blue; font-size: 24em} when the browser's language
+is a right-to-left language. */
+.testRightToLeft:rtl {
+  font-size: 24em;
 }