Author: [email protected]
Date: Wed May 27 06:31:38 2009
New Revision: 5474

Modified:
    wiki/CssResource.wiki

Log:
Edited wiki page through web user interface.

Modified: wiki/CssResource.wiki
==============================================================================
--- wiki/CssResource.wiki       (original)
+++ wiki/CssResource.wiki       Wed May 27 06:31:38 2009
@@ -94,6 +94,19 @@
  }
  }}}

+== Literal function ==
+(*Working*)
+
+Some user agents make use of property values that do not conform to the  
CSS grammar.  The `literal()` function exists to allow these non-standard  
property values to be used.
+
+{{{
+div-with-literal {
+  top: literal("expression(document.compatMode==\"CSS1Compat\" ?  
documentElement.scrollTop : document.body.scrollTop \\ 2)");
+}
+}}}
+
+Note that it is necessary to escape the backslash (`\`) and double-quote  
(`"`) characters.
+
  == Conditional CSS ==
  (*Working*)
  {{{

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to