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 dcont.appendChild(e); | 10 dcont.appendChild(e); |
11 } | 11 } |
12 | 12 |
13 </script> | 13 </script> |
14 </head><body onload="runTest()"> | 14 </head><body onload="runTest()" style="overflow:hidden;"> |
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> | 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> |
16 <div id="dcont"> | 16 <div id="dcont"> |
17 </div> | 17 </div> |
18 | 18 |
19 </body></html> | 19 </body></html> |
OLD | NEW |