Re: [Xsltforms-support] CSS not applied when using XSLTForms
Brought to you by:
alain-couthures
From: C. M. Sperberg-M. <cm...@bl...> - 2012-07-27 01:50:07
|
On Jul 26, 2012, at 6:10 AM, Florent Georges wrote: > Hi, > > When I add XSLTForms support to my page, it does not apply my > CSS files anymore. Those are imported by: > > <link href="xxx.css" rel="stylesheet" type="text/css"/> > > XSLTForms is plugged in by: > > <?xml-stylesheet href="xsltforms.xsl" type="text/xsl"?> > > XSLTForms works fine. If I remove the processing instruction > to import it, the CSS is correctly apply. But with XSLTForms, > it is not anymore. > > Any reason for this? Any solution? I ran into this recently, too. (I.e. no, you're not imagining it.) It seems to vary by version; see the test cases at http://blackmesatech.com/2012/07/testcase/css-in-xsltforms.xhtml The summary appears to be: 1.0RC loads external CSS in the same way as beta3 and beta3RC before it, while rev. 549 requires (as Dan McCreary has already suggested) that the external files be wrapped in XML. It may be relevant, of course, that none of the CSS files used in this test actually require pre-processing: they don't do anything with the XForms namespace. I am hoping that this is just a temporary glitch and that the behavior will revert to the older pattern soon. Michael -- **************************************************************** * C. M. Sperberg-McQueen, Black Mesa Technologies LLC * http://www.blackmesatech.com * http://cmsmcq.com/mib * http://balisage.net **************************************************************** |