<!DOCTYPE html> | |
<head> | |
<script> | |
window.enablePixelTesting = true; | |
</script> | |
<script src="../../../resources/js-test.js"></script> | |
</head> | |
<body> | |
<p>There should be a separator between two selected options.</p> | |
<select multiple id="listbox"></select> | |
<script> | |
var listbox = document.getElementById('listbox'); | |
listbox.appendChild(new Option('foo', 'foo', true, true)); | |
listbox.appendChild(document.createElement('hr')); | |
listbox.appendChild(new Option('bar', 'bar', true, true)); | |
</script> | |
</body> |