Closed
Bug 7230
Opened 25 years ago
Closed 25 years ago
Option groups do not honor the label attribute
Categories
(Core :: XUL, defect, P3)
Core
XUL
Tracking
()
RESOLVED
WORKSFORME
M13
People
(Reporter: kmcclusk, Assigned: pollmann)
References
Details
(Whiteboard: [TESTCASE] OPTGROUP's label attribute not (or incorrectly) implemented)
Attachments
(1 file)
(deleted),
text/html
|
Details |
This is similar to bug #3325 except it applies to option groups instead of
options.
Option groups do not honor the label attribute. The only way a label can be set
is by specifying it as content.
This does not work
<SELECT>
<OPTGROUP label="group1">
</OPTGROUP>
</SELECT>
The following does work:
<SELECT>
<OPTGROUP>group1
</OPTGROUP>
</SELECT>
Updated•25 years ago
|
Whiteboard: [MAKINGTEST] christian@wenz.org
Comment 1•25 years ago
|
||
Updated•25 years ago
|
Whiteboard: [MAKINGTEST] christian@wenz.org → [TESTCASE] OPTGROUP's label attribute not (or incorrectly) implemented
Comment 2•25 years ago
|
||
Overview Description:
<OPTGROUP label="xxx"> does not work (not displayed)
Steps to Reproduce:
1) Load the attachment
2 [details] [diff] [review]) The code contains one select with two optgroups labelled "group1" and
"group2"; the first one contains the sub-entries A and B, the other one the
sub-entries C and D.
Actual Results:
one pull-down-menu visible with the entries A, B, C and D
Expected Results:
A menu similar to the start menu of Win32, with two entries "group1" and
"group2". Clicking on "group1", a submenu should open with entries A and B;
clicking on "group2", a submenu should open with entries C and D.
Build Date & Platform Bug Found:
M7 & 1999071108 build (Win32)
Updated•25 years ago
|
Comment 4•25 years ago
|
||
Erm, this works for me, both on the test case above and on my own:
http://www.bath.ac.uk/%7Epy8ieh/internet/projects/mozilla/optgroup.shtml
Assignee | ||
Comment 5•25 years ago
|
||
Thanks for checking this out!
You need to log in
before you can comment on or make changes to this bug.
Description
•