PhpStorm complains about so many HTML-tags and attributes - it's annoying!

When copying the HTML code of a website into a test.html in phpstorm, there are some questionable warnings, especially, when it comes to SVG, like:

- "feDropShadow" HtmlTag not known

- "width" and "Height" attribute are  according to phpstorm - not allowed on a <symbol> tag (But.... they actually are, see link below):

It does NOT complain, when:

- a symbol has a "xmlns" attr (which is not listed as allowed not core attr in -> see link below)

Maybe there are even more...

What is going on here? Is phpStorm responsible for validating? Or is it an external library?
Should really be fixed...

Link to MDN


Well, I would say since this is not an open source project, but one that has to be paid for, and the HTML is really, really dead simple and can be easily recreated, I will not do the extra work an fulfill that request. There has to be difference between open source and a paid project. 

And - to be honest: I really find it like kindergarden that sample code is asked for in the simplest of simplest cases. The description is very clear. And if the product owners care about their product, they will deal with this problem to their likings.

But I will not support lazyness AND pay.


Confirm not working:

<svg width="10" height="10" viewBox="0 0 10 10" xmlns="" xmlns:svg="">
<symbol id="myDot" width="10" height="10" viewBox="0 0 10 10">
<circle cx="5" cy="5" r="5" fill="black" stroke="none" />
<use href="url(#myDot)" x="0" y="0" width="10" height="10"/>

Please sign in to leave a comment.