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 149723 - [cc] "@import" item is not allowed after first css rule, but it's invoked in cc and using breaks CSS parsing
Summary: [cc] "@import" item is not allowed after first css rule, but it's invoked in ...
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-10-10 10:20 UTC by Jindrich Sedek
Modified: 2014-10-06 13:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2008-10-10 10:20:08 UTC
use this code:
invoke cc at possition of "|" -> "@import" is in the list
complete code to have: @import "other_style.css"

h2 is no more colored, code completion stops working ....

the code is not valid in this form since any @import rules must precede all other rules, but there should be an error 
message marked in the editor, parsing should continue(probably issue 131915) and preferably code completion could be 
context sensitive in this situation