dynamic-text-indent.html (321B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <fieldset style="border: none">Text</fieldset> 4 <script> 5 onload = function() { 6 var f = document.querySelector("fieldset"); 7 window.w = f.offsetWidth; 8 f.style.textIndent = "100px"; 9 document.documentElement.className = ""; 10 } 11 </script> 12 </html>