WebCore/manual-tests/update-empty-popup.html
changeset 0 4f2f89ce4247
equal deleted inserted replaced
-1:000000000000 0:4f2f89ce4247
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
       
     2         "http://www.w3.org/TR/html4/strict.dtd">
       
     3 <html lang="en">
       
     4 <head>
       
     5 </head>
       
     6 <body>
       
     7 <p><b>BUG ID:</b> <a href="http://bugs.webkit.org/show_bug.cgi?id=13379">Bugzilla bug 13379</a> REGRESSION: Cannot add an option to a selected popup</p>
       
     8 
       
     9 <p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b> 
       
    10 1. Click on the empty popup button.<br>
       
    11 2. Click on the Test button.
       
    12 </p>
       
    13 
       
    14 <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b> 
       
    15 The popup button will change to display the word SUCCESS.
       
    16 </p>
       
    17 
       
    18 <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>  
       
    19 The popup button will become wider but will not display any text. Clicking the popup
       
    20 once will not bring up the menu.
       
    21 </p>
       
    22 
       
    23 <select id="select"></select>
       
    24 <br>
       
    25 <input type="button" onclick='document.getElementById("select").add(new Option("SUCCESS"))' value="Test">
       
    26 
       
    27 </body>
       
    28 </html>