Index: LayoutTests/fast/forms/select/listbox-group-indent.html |
diff --git a/LayoutTests/fast/forms/select/listbox-group-indent.html b/LayoutTests/fast/forms/select/listbox-group-indent.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..10abce2c7f4a296d1226868b594e2dfa212df636 |
--- /dev/null |
+++ b/LayoutTests/fast/forms/select/listbox-group-indent.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<select size=20> |
+ <optgroup label=group id=group> |
+ <option>apple</option> |
+ <option label=banana></option> |
+ </optgroup> |
+ <option label=cherry></option> |
+</select> |
+ |
+<script> |
+var group = document.getElementById('group'); |
+group.appendChild(new Option('durian')); |
+var nestedGroup = document.createElement('optgroup'); |
+nestedGroup.label = 'nested'; |
+nestedGroup.appendChild(new Option('fig')); |
+group.appendChild(nestedGroup); |
+</script> |