Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/forms/select/select-remove-option-single.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/forms/select/select-remove-option-single.html b/third_party/WebKit/LayoutTests/fast/forms/select/select-remove-option-single.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b07faaff0e3ab4c9102f67657e96bef21beee1db |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/forms/select/select-remove-option-single.html |
| @@ -0,0 +1,18 @@ |
| +<!DOCTYPE html> |
| +<title>Test for HTMLSelectElement.remove() on an Options object</title> |
| + |
| +<style type="text/css"> |
| +select { |
| + min-width: 100px; |
| +} |
| +</style> |
| + |
| +<select> |
| + <option selected>hello</option> |
| +</select> |
| + |
| +<script> |
| +window.addEventListener('load', function() { |
| + document.querySelector('option').remove(); |
| +}); |
| +</script> |