W3C home > Mailing lists > Public > public-xformsusers@w3.org > July 2012

XForms and CSS

From: Alain Couthures <alain.couthures@agencexml.com>
Date: Sun, 15 Jul 2012 18:56:16 +0200
Message-ID: <5002F630.6020806@agencexml.com>
To: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
CC: Xsltforms-support@lists.sourceforge.net

For compatibility with Mozilla XForms Extension, XSLTForms still has 
some support for namespace in CSS rules, like this:

       @namespace xforms url(http://www.w3.org/2002/xforms);
         background-color: red;
           font-size: 15pt;
           font-weight: bold;
           color: #000099;
          margin-bottom: 2em;

Actually, most XSLTForms users seem to ignore this feature and it might 
become optional in the next release for performance reasons (and 
because, being implemented with XSLT 1.0, it currently requires external 
CSS files to contain a dummy document element!). Replacing every 
"xf|tag" by ".xforms-tag" is producing the same behavior.

XForms implementers, what do you think of CSS rules for XForms?

XForms users, do you really like this feature?

Thank you for your comments!

Alain Couthures
Received on Sunday, 15 July 2012 16:57:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:48:24 UTC