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 237420 - selectors ".or", ".and" & ".not" are being marked as errors in CSS files
Summary: selectors ".or", ".and" & ".not" are being marked as errors in CSS files
Status: RESOLVED DUPLICATE of bug 231249
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-21 13:19 UTC by russwilde
Modified: 2013-10-29 07:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (68.60 KB, text/plain)
2013-10-21 13:19 UTC, russwilde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description russwilde 2013-10-21 13:19:19 UTC
Product Version = NetBeans IDE 7.4 (Build 201310111528)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) Client VM 23.25-b01

Valid classnames in CSS files are being marked as errors.

To reproduce:

 - open a new or existing project in Netbeans, 
 - create a new CSS file
 - paste this code into the CSS file:

.or { }
.and { }
.not { }

 - the classnames "or", "and" and "not" get marked as errors with the message "Unexpected token OR found", or similar.

These classnames are valid CSS, as far as I can see, and I am not using SASS or LESS preprocessing.
When using ID selectors #or, #and and #not, the line is not marked as an error.
Comment 1 russwilde 2013-10-21 13:19:25 UTC
Created attachment 141351 [details]
IDE log
Comment 2 Vladimir Riha 2013-10-29 07:13:29 UTC
Thank you for reporting

*** This bug has been marked as a duplicate of bug 231249 ***