Closed
Bug 285381
Opened 20 years ago
Closed 20 years ago
{inc}SELECT grows when toggling 'disabled'
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: greg, Unassigned)
References
()
Details
(Keywords: helpwanted, testcase, Whiteboard: [reflow-refactor])
Attachments
(2 files, 2 obsolete files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
This appears to be an issue interpretting JavaScript. The issue results in the
length od drop down boxes increasing whenever a checkbox toggle goes off.
Reproducible: Always
Steps to Reproduce:
1. First, you'll need to get an account on this site. It's free so just do a
quick sign-up for it.
2. Once you do, sign in and go into "Events (Alpha)".
3. Click on "Create a New Event".
4. Try cicking the N/A checkbox back and forth a few times.
Actual Results:
The hour or minute drop down box will keep changing width and getting longer.
It appears that the box that this happens with is random. It appears to work
fine in IE and Opera so I think my code is ok.
Expected Results:
It should only enable / disable the dropdown box.
Comment 1•20 years ago
|
||
Can you post a testcase here as an attachment? Just the HTML/Javascript required
to show the bug would be ideal.
http://www.gregawarski.com/events.php
You can look at this issue here. I think it may be tied to my CSS file. I'll
post that shortly for your review
This stylesheet may be connected to the problem.
also go to http://www.gregawarski.com/events.php for a live demo of the issue
(Click Create a New Event)
Comment 5•20 years ago
|
||
(In reply to comment #2)
> http://www.gregawarski.com/events.php
>
> You can look at this issue here.
That page gives:
"Parse error: parse error, unexpected ')' in
/home/gawarski/public_html/events.php on line 170"
Apologies. I'd been uploading an update I made to an unconnected feature and
made a PHP rror. that has been resolved.
I realized today that I failed to upload a corrected script. That fix has
been made and the bug can be reproduced. It appears to be either a JS or CSS
error.
Comment 8•20 years ago
|
||
Updated•20 years ago
|
Attachment #176823 -
Attachment is obsolete: true
Updated•20 years ago
|
Attachment #176824 -
Attachment is obsolete: true
Updated•20 years ago
|
Assignee: firefox → nobody
Status: UNCONFIRMED → NEW
Component: General → Layout: Form Controls
Ever confirmed: true
Keywords: testcase
OS: Windows XP → All
Product: Firefox → Core
QA Contact: general → layout.form-controls
Summary: Weird JavaScript Fluke → SELECT grows when toggling 'disabled'
Version: unspecified → Trunk
Comment 9•20 years ago
|
||
Required elements to reproduce are:
- <select> height must be set (CSS)
- the window.scroll call in the <select> must be inside the <select> and must
be before one of the <option>s (doesn't work when it's the last thing in the
<select>)
- the <input>'s onclick must toggle the <select>'s disabled property
![]() |
||
Updated•20 years ago
|
Keywords: helpwanted
![]() |
||
Updated•20 years ago
|
Summary: SELECT grows when toggling 'disabled' → {inc}SELECT grows when toggling 'disabled'
Whiteboard: [reflow-refactor]
Comment 10•20 years ago
|
||
WFM, SeaMonkey trunk 2005-06-28-07 on Linux.
Can anyone else still reproduce in a trunk build?
Comment 11•20 years ago
|
||
wfm Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b4) Gecko/20050730 SeaMonkey/1.0a
resolving wfm, feel free to reopen if bug is still seen on testcases using a
current trunk build.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•