1 <html xmlns=
"http://www.w3.org/1999/xhtml">
2 <svg xmlns:
xl=
"http://www.w3.org/1999/xlink" xmlns:
xlink=
"http://www.w3.org/1999/xlink">
3 <linearGradient xl:
href=
"#tCF2" xlink:
href=
"resources/smiley.png"></linearGradient>
6 if (window.layoutTestController)
7 layoutTestController.dumpAsText();
9 var element = document.querySelector('linearGradient');
10 var attr1 = element.attributes[
0];
11 var attr2 = element.attributes[
1];
12 var doc2 = document.implementation.createHTMLDocument('Doc
2');
13 var attr3 = doc2.adoptNode(attr2);
14 var doc3 = document.implementation.createHTMLDocument('Doc
3');
15 var attr4 = doc3.adoptNode(attr3);