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.
Created attachment 135133 [details] HTML file exhibiting the problem On the following line in a HTML file, @charset is underlined as an error, and tooltip in the gutter says: Unexpected token CHARSET_SYM found <style type="text/css">@charset "UTF-8";[ng\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak{display:none;}ng\:form{display:block;}</style> I am attaching the entire file.
The css virtual source in this case contains some css imports before the @charset which is required to be before them: "@import "css/style.css";@charset "UTF-8";"
Quite complicated fix - requires bit extensive changes in the grammar and all related code -> source model, css editor. Doesn't seem to have high priority to me.