Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / dom / HTMLDocument / write-multiple-calls.html
1 <html>
2 <head>
3 <script>
4 function test() {
5         if (window.testRunner) {
6                 window.testRunner.dumpAsText();
7         }
8
9         document.write("<pre>");
10         document.write("pa");
11         document.write("ssed");
12         document.write("</pre>");
13 }
14 </script>
15 </head>
16 <body>
17 <p>Tests: calling HTMLDocument::write</p>
18 <p>Condition(s): multiple calls</p>
19 <p>
20 Success message: 
21 <pre>
22 passed
23 </pre>
24 </p>
25 <p>
26 Failure message: 
27 <pre>
28 pa
29 ssed
30 </pre>
31 </p>
32 <hr>
33 </body>
34 <script>test()</script>
35 </html>