Tony Mechelynck wrote:
On 09/04/11 16:20, Robert Gault wrote:
I clear the SeaMonkey 2.0.13 error console, set the home page to Blank
Page, and leave SeaMonkey. The next time SeaMonkey is started, the error
console shows five warnings:
Unrecognized at-rule or error parsing at-rule '@import'.
chrome://navigator/skin/navigator.css Line: 615
Unrecognized at-rule or error parsing at-rule '@import'.
chrome://navigator/skin/navigator.css Line: 616
Unrecognized at-rule or error parsing at-rule '@import'.
chrome://navigator/skin/navigator.css Line: 617
Unrecognized at-rule or error parsing at-rule '@import'.
chrome://navigator/skin/navigator.css Line: 619
Unrecognized at-rule or error parsing at-rule '@import'.
chrome://navigator/skin/navigator.css Line: 914
Lines 615-619
@import url("chrome://navigator/content/navigator.css");
@import url("chrome://communicator/skin/");
@import url("chrome://communicator/skin/bookmarks/bookmarksToolbar.css");
@namespace
url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
Line 914
white-space: -moz-pre-wrap;
Are these known bugs or is my installation at fault?
WinXP SP3 Home system
There ought to be nothing before an @import rule, except maybe comments,
blank lines, and other @import rules (this is a W3C requirement on the
CSS @import rule syntax). More than six hundred lines with only comments
and other @import rules in them sounds a little bizarre to me.
What theme are you using? These errors seem (IIUC) to point to a
navigator.css file in your theme, but (AFAICT) the one in my SeaMonkey
default skin (but it's a trunk build, 2.2a1pre not 2.0.13) has a
"License block" as a comment at lines 1-37, line 38 is empty, and the
three @import lines, empty line, and @namespace line which you quote are
at lines 39-43. The whole file (seen in Vim on Linux as
zipfile:/usr/local/seamonkey/omni.jar::chrome/classic/skin/classic/navigator/navigator.css)
is 716 lines long. But then the Linux default theme might be different
from the Windows default theme.
In the Modern theme's navigator.css
(zipfile:/usr/local/seamonkey/extensions/[email protected]::chrome/modern/skin/modern/navigator/navigator.css),
I see those same lines one line further down (i.e. at lines 38-44) and
the style sheet is 902 lines long. I wouldn't expect the *Modern* theme
to be very different across platforms. Yet this is the "trunk" version.
Best regards,
Tony.
Thank you Tony. You spotted the source of the problem if not the exact cause.
I'm not sure how/why this occurred but I was using Classic Default as a theme. Switching
to SeaMonkey Default removed the errors and reverting to Classic Default returned them.
I guess I'll stay with SeaMonkey Default. If this classifies as a bug, maybe you can
report it.
Robert
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey