346774-1c.html (287B)
1 <!DOCTYPE html> 2 <html> 3 <body> 4 <form name="theForm"> 5 <select name="theSelect" style="width: 30em"> 6 <option>xxxxxxxxxx</option> 7 </select> 8 </form> 9 <script> 10 // Flush reflow 11 document.body.offsetWidth; 12 document.theForm.theSelect.style.width='auto'; 13 </script> 14 </body> 15 </html> 16 17