Ok, I can't let this go.. Using firebug, I compared the css code when 1) the css file is linked directly from the html , and 2) when imported by another css file, using the @import statement. The only differences I'm able to spot is that when style.css is imported from another css file, firefox 3 removes the css child (>) and siblings (+) operators, 8 and 1 occurences respectively. Example: [case 1 (works)] html > body #xwikieditcontent { padding:0pt; } [/] [case 2 (fails)] html body #xwikieditcontent { padding:0pt; } [/] I can't say if this is the source of the problem, but maybe some of you xwiki devs can confirm whether it is or not. I tried to remove all the '>' and '+' selector operator from style.css (direct linking), but that didn't reproduce the misbehavior.. So still there seems to be some strange things happening during import.. I also tried to create a simple css example to reproduce firefox' removal of the > and + operators, but had no success with that. So the problem is likely more complex.. Bjørnar Bjørnar Libæk wrote:
As a lead to anyone wanting to look into this, by eliminating the import statements in style-blue.css, the problems disappear. I did:
shell> cat style.css css/colors/blue.css >> style-blue-test.css
When selecting style-blue-test.css in the skin object, everything looks fine. I guess this has something to do with how FF3 handles the css imports..
Bjørnar.
Guillaume Lerouge wrote:
Hi Bjørnar,
The table/scrollbar missing -problems are related to css. If I use the default css (style.css) everything looks fine. However, when changing the color (e.g style-blue.css) in XWikiPreferences, things get bad.
I think that it's due to an issue in the CSS used to switch from the standard Toucan skin to the coloured ones. I'd advise either of those solutions :
1. Least recommended : switch back to the grey skin for now 2. Most recommended : use Firebug and / or other debugging tools to compare the CSS differences between style.css and, say, style-blue.css and try to identify the cause of the issue. Then post a JIRA issue characterizing it so that we can try to solve it :-)
Guillaume _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users