parse5 icon indicating copy to clipboard operation
parse5 copied to clipboard

Please clearly document what an adapter's getTagName should return

Open domenic opened this issue 7 years ago • 0 comments
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?

domenic avatar Jan 02 '18 06:01 domenic