<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
</head>
<body>
<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>

<p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b> 
1. Click on the empty popup button.<br>
2. Click on the Test button.
</p>

<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b> 
The popup button will change to display the word SUCCESS.
</p>

<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>  
The popup button will become wider but will not display any text. Clicking the popup
once will not bring up the menu.
</p>

<select id="select"></select>
<br>
<input type="button" onclick='document.getElementById("select").add(new Option("SUCCESS"))' value="Test">

</body>
</html>