-
Mike Bostock authored
Fix #2737. The previous fix for #2722 meant that createElement was used to create HTML elements in HTML documents, but it also meant it was used to create SVG elements in SVG documents, which failed: createElement only inherits the namespace in HTML documents, not in other document types. https://www.w3.org/TR/dom/#dom-document-createelement
c36befc7
Analyzing file…