parse5
parse5 copied to clipboard
Please clearly document what an adapter's getTagName should return
trafficstars
It appears it should return something like element's qualified name? That is, if we're going to get accurate serialization out.
This is confusing because elsewhere in the API you use "tagName" to mean the equivalent of el.localName, e.g. in an adapter's createElement() method. Or, hmm, maybe that is also qualified name?