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.
At least for PHP projects, using the CSS class name/selector "or" in PHP, HTML and CSS files is flagged as an error. In the code below, "or" is underlined and the hover states "Unexpected token OR found": * index.html <!DOCTYPE html> <html> <head> <title>My Page</title> </head> <body> <div class="or">Content</div> <!-- hover over "or" --> </body> </html> * index.css .or { // here too margin-top: 5; // three errors here: WS, NUMBER, SEMI } * index.php: same as .html AFAIK "or" has not been added as a reserved word for CSS. In fact, there are none, and "or" matches the naming rules for selectors. *** Note that this bug is *not* about the (expected) warning "Class or not found" because it is not defined in the same document. ***
Thank you for reporting *** This bug has been marked as a duplicate of bug 231249 ***