This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 155629 - better CSS error messages for charset, import, ....
Summary: better CSS error messages for charset, import, ....
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: Sun All
: P4 blocker (vote)
Assignee: Jan Stola
Depends on:
Reported: 2008-12-17 09:58 UTC by Jindrich Sedek
Modified: 2014-10-06 13:27 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2008-12-17 09:58:55 UTC
use this code in CSS:

@charset "UTF-8";
first line is empty -> error (there must be no characters before charset)
"invalid content" message is shown 
it would be greate to give better information about the error

similarly for :
@import url(simple.css);
(import must be before all rules)
Comment 1 Marek Fukala 2012-10-15 14:03:45 UTC
the second issue is now flagged as error, while the first one is still not, but very minor => p4