1863770.html (955B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <script> 4 document.addEventListener('DOMContentLoaded', async () => { 5 const table = document.getElementById('table'); 6 const caption = document.createElement('caption'); 7 const anchor = document.createElement('a'); 8 const span = document.createElement('span'); 9 const input = document.createElement('input'); 10 span.setAttribute('lang', '\0'); 11 input.setAttribute('type', 'number'); 12 input.setAttribute('value', 119); 13 anchor.appendChild(input); 14 span.appendChild(anchor); 15 caption.appendChild(span); 16 table.appendChild(caption); 17 setTimeout(() => { 18 const input2 = document.createElement('input'); 19 input2.setAttribute('type', 'number'); 20 input2.setAttribute('value', "+"); 21 span.appendChild(input2); 22 input2.valueAsDecimal; 23 24 document.documentElement.removeAttribute("class"); 25 }, 0); 26 }); 27 </script> 28 <table id="table"></table> 29 </html>