third_party/blink/manual_tests/select_hr.html
BUG ID: 4229189 add a way to get a separator into a select element
STEPS TO TEST: Please describe the steps required to test this bug here.
These tests make sure that adding an hr element in a select works properly.
TEST PASS: This should be a disabled popup menu, since the hr is not selectable.
TEST FAIL:
TEST PASS: You should see a popup menu with the following items: separator, option, separator
TEST FAIL:
opt 1
TEST PASS: You should see a popup menu with the following items: option, separator, option
TEST FAIL:
opt 1
opt 2
TEST PASS: You should see a popup menu with the following items: option, four separators, two options, separator, option.
TEST FAIL:
opt 1
opt 2opt 3
opt 4
TEST PASS: You should see a popup menu with the following items: group label, option, separator (incl. in group).
TEST FAIL:
opt 1
TEST PASS: You should see a popup menu with the following items: separator, group label, option.
TEST FAIL:
opt 1
TEST PASS: You should see a popup menu with the following items: group label, option, separator, option, separator, option, two separators, (end of group), one option.
TEST FAIL:
opt 1
opt 2
opt 3
opt 4
TEST PASS: You should see a popup menu with the following items: group label, one option two separators, (end of group), separator, group label, separator, two options, separator, (end of group), option.
TEST FAIL:
opt 1
opt 2opt 3
opt 4
TEST PASS: A disabled popup menu - since the optgroup and the hr are not selectable.
TEST FAIL:
TEST PASS: You should see a list box with the following items: 4 options.
TEST FAIL: You should not see any separators in the list box.
opt 1
opt 2opt 3
opt 4
TEST PASS: You should see a list box with the following items: one option, group label, 3 options.
TEST FAIL: You should not see any separators in the list box.
opt 1
opt 2opt 3
opt 4
TEST PASS: For each of these list boxes, when you change the selection in JavaScript to index 1, the second option should get highlighted
TEST FAIL:"opt 2" does not get highlighted after clicking the button.
opt 1
opt 2
opt 1
opt 2