chromium/third_party/blink/web_tests/svg/custom/clone-node.html

<!DOCTYPE html>
<link rel="help" href="https://dom.spec.whatwg.org/#dom-node-clonenode">
<script src="../../resources/js-test.js"></script>
<script>

description('Tests cloneNode for SVGDocument.');

function className(object) {
    return Object.prototype.toString.call(object).slice(8, -1);
}

var svgDoc = document.implementation.createDocument('http://www.w3.org/2000/svg', 'svg', null);

shouldBe('svgDoc.cloneNode(false).__proto__', 'XMLDocument.prototype');
shouldBeEqualToString('className(svgDoc.cloneNode(false))', 'XMLDocument');
shouldBeEqualToString('svgDoc.cloneNode(true).compatMode', 'CSS1Compat');

</script>