summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/update-empty-popup.html
blob: 03462f2a123baf60719f0e9ef9ae60236b2dd97c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!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>