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 269445

Summary: SVG properties are not recognized in CSS files
Product: web Reporter: Xenos
Component: CSS EditorAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal CC: Xenos
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description Xenos 2016-12-28 15:23:15 UTC
SVG allows to use CSS for presentation purpose (like setting filling and stroking colors): https://www.w3.org/TR/SVG11/styling.html#StylingWithCSS

But Netbeans report SVG's CSS properties as "unknown", giving a lots of false positive warnings ("Unknown property fill/stroke/stroke-width/..." in Action items view & warnings in CSS file itself).

The full list of SVG-CSS properties can be found in the spec's appendix: https://www.w3.org/TR/SVG11/propidx.html

→ These properties should not be reported as "unknown", and should not appear in the "Action items" view.