360078-1.xhtml (643B)
1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> 2 <head> 3 4 <style> 5 <![CDATA[ 6 #baz { -moz-binding: url(360078-1xbl.xml#foo); } 7 ]]> 8 </style> 9 10 <script> 11 <![CDATA[ 12 13 function stuff() 14 { 15 var baz = document.getElementById("baz"); 16 var count = 0; 17 18 setTimeout(step, 30); 19 20 function step() 21 { 22 ++count; 23 if (count < 15) { 24 baz.cloneNode(true); 25 setTimeout(step, 30); 26 } 27 else { 28 document.documentElement.removeAttribute("class"); 29 } 30 } 31 32 } 33 34 ]]> 35 </script> 36 </head> 37 <body onload="stuff()"> 38 39 <hbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" id="baz"></hbox> 40 41 </body> 42 </html>