Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / parser / xml-directive-in-dom.html
blob6c4bb27914efffb980d235ebc295657b16f33e2c
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
5 <head>
6 <title>Test how preamble gets attached to DOM</title>
7 <script type="text/javascript">
8 if (window.testRunner)
9 testRunner.dumpAsText();
10 </script>
11 </head>
12 <body>
13 <pre>
14 <script>
15 var elmt = document.documentElement;
16 while (elmt) {
17 document.writeln(elmt);
18 elmt = elmt.previousSibling;
20 </script>
21 </pre>
22 </body>
23 </html>