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 - "Unexpected token SOLIDUS found" error appearing for no clear reason
Summary: "Unexpected token SOLIDUS found" error appearing for no clear reason
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-04 19:29 UTC by dusty
Modified: 2016-11-22 15:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Minified version of CSS file given as example in the stompjs repository (69.71 KB, text/css)
2016-05-04 19:29 UTC, dusty
Details

Note You need to log in before you can comment on or make changes to this bug.
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.