Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / parser / xml-error-adopted.xml
blob9b1abeb1d42f14061666ee2b04eef27d1ef6e0fd
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xhtml="http://www.w3.org/1999/xhtml">
2 <script>
3 if (window.testRunner) {
4     testRunner.waitUntilDone();
5     testRunner.dumpAsText();
7 </script>
9 <xhtml:iframe src="javascript:if (top.body = top.document.body) document.implementation.createHTMLDocument().adoptNode(top.body)"/>
11 <script>
12 function test() {
13     alert(body.ownerDocument === body.firstChild.ownerDocument ? 'PASS' : 'FAIL');
14     if (window.testRunner)
15         testRunner.notifyDone();
18 setTimeout(test, 0);
19 </script>
20 <elt attr="1" attr="2"/>
21 </svg>