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 237166 - class 'or' in CSS is invalid
Summary: class 'or' in CSS is invalid
Status: RESOLVED DUPLICATE of bug 231249
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 7.4
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-16 00:25 UTC by teleclimber
Modified: 2013-10-29 07:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot of a .or class error (9.38 KB, image/png)
2013-10-16 00:25 UTC, teleclimber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description teleclimber 2013-10-16 00:25:40 UTC
Created attachment 141121 [details]
screenshot of a .or class error

If you put this in a CSS or LESS file:

.or {
  color: blue;
}

NB 7.4 puts red squigglies, red exclamation points and claims "Unexpected token OR found".

As far as I know 'or' is a valid class name.

In LESS files this is particularly annoying because the entire file after the '.or' is no longer syntax highlighted.

Thanks.
Comment 1 Vladimir Riha 2013-10-29 07:12:59 UTC

*** This bug has been marked as a duplicate of bug 231249 ***
Comment 2 Vladimir Riha 2013-10-29 07:13:53 UTC
Thank you for reporting