Closed
Bug 33421
Opened 24 years ago
Closed 24 years ago
[FIX]<optgroup> in <select> breaks scrolling drop down lists
Categories
(Core :: Layout: Form Controls, defect, P3)
Core
Layout: Form Controls
Tracking
()
VERIFIED
FIXED
M17
People
(Reporter: andrew.smith+mozilla, Assigned: rods)
Details
(Keywords: html4, Whiteboard: [nsbeta3+]Fix in my tree)
Attachments
(1 file)
1.43 KB,
text/html
|
Details |
Overview Description: Drop down lists, i.e. <select> tags with size="1", that use <optgroup> tags do not allow you to select items that require you to scroll down. Steps to Reproduce: 1) Create large (20+) <select> entry with <optgroup> tags. See Additional Information for an example. 2) Use scroll bar to view a group not currently visible, e.g. Z. 3) Move across from scroll bar to list item, e.g. Za. Actual Results: Selection jumps back up to near the top of the drop down, making it impossible to select items that are not initially visible. Expected Results: Should be able to select any item. Reproducibility: Every time. Build Date & Platform Bug Found: Additional Builds and Platforms Tested On: None, sorry. Additional Information: This problem does not occur if the <optgroup> tags are ommited. There is a related problem; if you use the keyboard to jump to an item the drop down does not follow. The following is an example code snippet: <html> <form> <select size=1> <optgroup label="A"> <option>Aa</option> <option>Ab</option> <option>Ac</option> </optgroup> ....add sufficient groups here to force the drop down to have a scroll bar.... <optgroup label="Z"> <option>Za</option> <option>Zb</option> <option>Zc</option> </optgroup> </select> </form> </html>
Comment 1•24 years ago
|
||
moving to HTML Form Controls. I'll attach andrewdsmith's test case in a moment. This also occurs for mac and linux using 20000327nn builds.
Assignee: trudelle → rods
Status: UNCONFIRMED → NEW
Component: XP Toolkit/Widgets → HTML Form Controls
Ever confirmed: true
OS: Windows 95 → All
Hardware: PC → All
Comment 2•24 years ago
|
||
Assignee | ||
Comment 3•24 years ago
|
||
Somebody else broke this recently, trying to find out who....
Status: NEW → ASSIGNED
Summary: <optgroup> in <select> breaks scrolling drop down lists → [REGRESSION]<optgroup> in <select> breaks scrolling drop down lists
Assignee | ||
Comment 4•24 years ago
|
||
The problem was the optgroup is a block and the opt is inside the opt group. So when we were figuring out how far to scroll the dropdown we weren't taking into account the optgroups offsets.
Summary: [REGRESSION]<optgroup> in <select> breaks scrolling drop down lists → [FIX]<optgroup> in <select> breaks scrolling drop down lists
Whiteboard: Fix in my tree
Assignee | ||
Comment 6•24 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 8•24 years ago
|
||
Feh. This was fixed (and I thought I had slapped the verify on). But, at any rate, this is indeed broken again. As originally reported, if you load the attached testcase, scroll to the end, then try to select an item from the bottom of the list -- the list will then pop back up to the top. (tested 2000062908 win32, 2000062820 linux -- I can't get my mac build started, but this appears to be xp.).
Status: RESOLVED → REOPENED
QA Contact: jrgm → ckritzer
Resolution: FIXED → ---
Assignee | ||
Updated•24 years ago
|
Target Milestone: M16 → M17
Comment 9•24 years ago
|
||
Still broken on NT with 200071720.
Assignee | ||
Comment 10•24 years ago
|
||
It was fixed, and then it go broken again and I have the fix in my tree waiting for nsbeta3 to open so I can check it in.
Comment 11•24 years ago
|
||
Marking nsbeta3+
Keywords: correctness,
html4
Whiteboard: Fix in my tree → [nsbeta3+]Fix in my tree
Assignee | ||
Comment 12•24 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Comment 13•24 years ago
|
||
Marking VERIFIED FIXED on: - LinuxRH62 2000-09-08-08-M18 Commercial - Win98 2000-09-08-08-M18 Mozilla - MacOS86 2000-09-07-04-M18 Commercial
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•