XForms and CSS

Hello,

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);
       xforms|*:invalid
       {
         background-color: red;
       }
       xforms|label.title
       {
           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
agenceXML

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