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 258048 - Unexpected Token Errror - Valid CSS
Summary: Unexpected Token Errror - Valid CSS
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 8.2
Hardware: PC Other
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-18 09:42 UTC by berridgeab
Modified: 2016-02-25 02:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Simple CSS reproducing the issue. (549 bytes, text/plain)
2016-02-18 09:42 UTC, berridgeab
Details

Note You need to log in before you can comment on or make changes to this bug.
Description berridgeab 2016-02-18 09:42:50 UTC
Created attachment 158549 [details]
Simple CSS reproducing the issue.

Netbeans reports an unexpected token error on valid CSS. 

I can confirm the CSS is being rendered correctly in the browser.

If you try to specify a CSS selector within a CSS media query then Netbeans reports an issue.

Example CSS attached.
Comment 1 mblank 2016-02-22 20:15:07 UTC
I'm facing the same problem in Netbeans Dev 201602190002. When specifying a CSS selector with a pseudo-element like ":first-child" within a media query, Netbeans reports an "Unknown property" issue.

The same CSS rule without the pseudo-element works as expected and Netbeans does'nt show an error message.
Comment 2 Milutin Kristofic 2016-02-24 15:29:10 UTC
Thank you, I fixed this in dev build. 

http://hg.netbeans.org/web-main/rev/128846f81114
Comment 3 Quality Engineering 2016-02-25 02:06:48 UTC
Integrated into 'main-silver', will be available in build *201602250002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/128846f81114
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #258048 - Unexpected Token Errror - Valid CSS