Index: LayoutTests/fast/forms/select/listbox-appearance-separator.html |
diff --git a/LayoutTests/fast/forms/select/listbox-appearance-separator.html b/LayoutTests/fast/forms/select/listbox-appearance-separator.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ec24fdab21b54d5843f45bb3cc7372e72a1c2045 |
--- /dev/null |
+++ b/LayoutTests/fast/forms/select/listbox-appearance-separator.html |
@@ -0,0 +1,25 @@ |
+<!DOCTYPE html> |
+<head> |
+<script> |
+window.enablePixelTesting = true; |
+</script> |
+<script src="../../../resources/js-test.js"></script> |
+</head> |
+<body> |
+<script> |
+if (window.testRunner) |
+ testRunner.setUseMockTheme(false); |
+</script> |
+ |
+<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> |