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 240078 - Valid css seen as wrong
Summary: Valid css seen as wrong
Status: RESOLVED DUPLICATE of bug 236856
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-07 13:54 UTC by netbiolab12
Modified: 2014-01-07 14:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description netbiolab12 2014-01-07 13:54:35 UTC
The css preprocessor sees as wrong the css files from Font Awesome which is a css library for BootStrap, the offending css syntax:

.icon-glass{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');}

Apparently he doesn't like the *zoom which appears thousands of times in each css file.
As a result my whole JSF project appears as wrong (although it compiles ok).

Notice very often non standard compliant css files are needed for instance to support older browsers aspecially Internet Explorer, so a way to disable syntax checking should be clearly and quickly available.

Thank you
Comment 1 Vladimir Riha 2014-01-07 14:13:01 UTC
I think zoom is not the issue here, but expression() is. Following works fine

.icon-glass{*zoom:1;}


Starting with "7.4 patch 1" (or perhaps patch2, not sure), there is a way to disable syntax checking. Click on the bulb icon in editor next to the line with error and there is "Filter out parsing errors in..."

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