layout/reftests/bugs/346774-1b.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

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

mercurial