splitText-normalize-ref.html (1266B)
1 <!DOCTYPE HTML> 2 <html class="reftest-wait"> 3 <!-- 4 https://bugzilla.mozilla.org/show_bug.cgi?id=191864 5 --> 6 <head> 7 <title>Test for Bug 191864</title> 8 <script type="application/javascript" src="splitText-normalize.js"></script> 9 <script type="application/javascript"> 10 var id; 11 function checkFinished() { 12 if (window.frames.length == tests_done) { 13 clearInterval(id); 14 document.documentElement.className = ""; 15 } 16 } 17 18 function runTest() { 19 let col1 = document.getElementById('col1'); 20 let col2 = document.getElementById('col2'); 21 let col3 = document.getElementById('col3'); 22 let col4 = document.getElementById('col4'); 23 for (let i=0; i < tests.length; ++i) { 24 let t = tests[i]; 25 col1.appendChild(createFrame(test_ref,t)); 26 col2.appendChild(createFrame(test_ref,t)); 27 col3.appendChild(createFrame(test_ref,t)); 28 col4.appendChild(createFrame(test_ref,t)); 29 } 30 id = setInterval(checkFinished,500); 31 } 32 </script> 33 </head> 34 <body onload="runTest()"> 35 <span id="col1" style="float:left; height:800px; width:180px;"></span> 36 <span id="col2" style="float:left; height:800px; width:180px;"></span> 37 <span id="col3" style="float:left; height:800px; width:180px;"></span> 38 <span id="col4" style="float:left; height:800px; width:180px;"></span> 39 </body> 40 </html>