| OLD | NEW |
| 1 <html><head> | 1 <html><head> |
| 2 | 2 |
| 3 <script> | 3 <script> |
| 4 function runTest() { | 4 function runTest() { |
| 5 var dcont = document.getElementById("dcont"); | 5 var dcont = document.getElementById("dcont"); |
| 6 | 6 |
| 7 var e = document.createElement('frameset'); | 7 var e = document.createElement('frameset'); |
| 8 var span = document.createElement('span'); | 8 var span = document.createElement('span'); |
| 9 e.appendChild(span); | 9 e.appendChild(span); |
| 10 | |
| 11 dcont.appendChild(e); | 10 dcont.appendChild(e); |
| 12 | |
| 13 if (window.testRunner) | |
| 14 testRunner.display(); | |
| 15 } | 11 } |
| 16 | 12 |
| 17 </script> | 13 </script> |
| 18 </head><body onload="runTest()"> | 14 </head><body onload="runTest()"> |
| 19 <div>This tests that putting an inline element (such as a span) inside of an ele
ment doesn't cause an assertion failure.</div> | 15 <div>This tests that putting an inline element (such as a span) inside of an ele
ment doesn't cause an assertion failure.</div> |
| 20 <div id="dcont"> | 16 <div id="dcont"> |
| 21 </div> | 17 </div> |
| 22 | 18 |
| 23 </body></html> | 19 </body></html> |
| OLD | NEW |