Closed webpro closed 11 years ago
Hey, thanks for catching this!
I've updated the code to temporarily ignore <svg>
elements and their children since they're not listed in the document I took the validation data from. Furthermore, as I read that document, <svg>
elements aren't really part of HTML per se, they're their own document type.
It also seems like supporting
I've bumped to version 0.2.0. Let me know if you're still experiencing any of these problems, and thanks again for catching this bug.
Interesting project!
Just inspected a document that has inline
<svg>
elements..allowedAttributesForElement()
, since the element is not present inelementData
. This should probably become a rule violation? I see you got that handled by your<il>
example, but for me that also raises the exception.<svg>
elements? They are valid HTML5 (non-namespaced), not sure if this is an exception or if there are more elements not listed.Btw, I ran this with
html-inspector.js
on thedocs/styleguide/index.html
in & after building topcoat.I'd be happy to submit a PR, but wanted to check with you first.