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 259129

Summary: "Unexpected token SOLIDUS found" error appearing for no clear reason
Product: web Reporter: dusty <dusty>
Component: CSS EditorAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Minified version of CSS file given as example in the stompjs repository

Description dusty 2016-05-04 19:29:34 UTC
Created attachment 159541 [details]
Minified version of CSS file given as example in the stompjs repository

I opened a sample CSS file from the stompjs project and I get this error on line 133. Maybe there is really an error, but the message is not so clear.

The line is that one:

input[type="image"],input[type="checkbox"],input[type="radio"]{width:auto;height:auto;padding:0;margin:3px 0;*margin-top:0;line-height:normal;border:0;cursor:pointer;border-radius:0 \0/;}

I attach the whole file, bootstrap.min.css taken from example/css folder of stompjs
Comment 1 mkrivan 2016-10-14 20:35:36 UTC
The simplest css include which generates this error is thi:

<style type="text/css"><!--*/-->.edit-panel div {color: yellow;}<!--/*--></style>

I am using XSLT for CSS file import with XSLT 1.0 that is why the magic comment structure. But there was no any problem until NB 8.2
Comment 2 Milutin Kristofic 2016-11-22 15:56:52 UTC
1, I tried the line in https://jigsaw.w3.org/css-validator/validator and it shows same parser error. I think it is error, I don't understand what is meaning with \;

2, The error with <!--*/--> is interesting, this should be error with html validation.