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 - SVG properties are not recognized in CSS files
Summary: SVG properties are not recognized in CSS files
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-28 15:23 UTC by Xenos
Modified: 2016-12-28 15:23 UTC (History)
1 user (show)

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 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.