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

Summary: class 'or' in CSS is invalid
Product: web Reporter: teleclimber
Component: CSS EditorAssignee: Marek Fukala <mfukala>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot of a .or class error

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