update-empty-popup.html 963 B

12345678910111213141516171819202122232425262728
  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. <p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b>
  9. 1. Click on the empty popup button.<br>
  10. 2. Click on the Test button.
  11. </p>
  12. <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b>
  13. The popup button will change to display the word SUCCESS.
  14. </p>
  15. <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
  16. The popup button will become wider but will not display any text. Clicking the popup
  17. once will not bring up the menu.
  18. </p>
  19. <select id="select"></select>
  20. <br>
  21. <input type="button" onclick='document.getElementById("select").add(new Option("SUCCESS"))' value="Test">
  22. </body>
  23. </html>