Closed
Bug 105074
Opened 23 years ago
Closed 23 years ago
[CBX]<SELECT> w static and dynamic <OPTIONS> not loading properly
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
RESOLVED
DUPLICATE
of bug 104904
Future
People
(Reporter: jaschwartz, Assigned: rods)
References
()
Details
Attachments
(1 file)
2.92 KB,
text/html
|
Details |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (OS/2; U; Warp 4; en-US; rv:0.9.5+) Gecko/20011015 BuildID: 20011015 The country list should include a list of all the countires. The mozilla browser is only displaying a few. Reproducible: Always Steps to Reproduce: 1. Click on the Country drop down list 2. You'll see only a few countries that start with "A" 3. No additional countries are there Expected Results: Show the complete list of countries Once the countries work the next field to the right is the "states" field. Not sure how that will work once the countries field is fixed. Have had problems with this same issue using Netscape 4.61 for OS/2 but seems to be working with latest version of 4.61
Comment 1•23 years ago
|
||
I see a javascript exception in the console: line 0: uncaught exception: [Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::file:///z:/private/family-js.html :: pageSetUp :: line 68" data: no] Also, I hacked the script a little, such that one of the entied that does show up in the list (Afghanistan), was repeated 20 times. It only shows up 4 times, with a space (blank option) between the 3rd and 4th entry, just like when other entries are used. This is not a layout issue, but instead a scripting issue. It may be an error in the page, but I cannot tell. Since it works OK in IE and Nav 4 I'm guessing we have something to look at. Over to JS folks who are a lot better at debugging this than I am.
Assignee: attinasi → rogerl
Status: UNCONFIRMED → NEW
Component: Layout → Javascript Engine
Ever confirmed: true
QA Contact: petersen → pschwartau
Comment 2•23 years ago
|
||
Comment 3•23 years ago
|
||
If you load the reduced testcase in NN4.7 or IE4.7, the selectbox correctly shows all items from "All Countries" to "Native Lands". But using Mozilla trunk binaries 20011016xx, you only see four items or so, ending in "American Samoa". This is another of the current bugs adding dynamic <OPTION> elements to a <SELECT>. For example, see bug 100511. However, the error in the JavaScript Console seems to be a new twist; I don't recall that from the other bugs of this type. Reassigning to HTML Form Controls -
Assignee: rogerl → rods
Component: Javascript Engine → HTML Form Controls
OS: OS/2 → All
QA Contact: pschwartau → madhur
Hardware: PC → All
Comment 4•23 years ago
|
||
Note the HTML includes a few static <OPTIONS> as well as the dynamic ones. <select name="juris1"> <!-- This makes the listbox have a sane width and height in Netscape --> <option>___________________________________</option> <option></option> <option></option> <option></option> <option></option> </select> If you remove these, and only populate the <SELECT> dynamically, the bug goes away. In other words, this bug occurs when static and dynamic <OPTIONS> are used together.
Comment 5•23 years ago
|
||
cc'ing jkeiser, bzbarsky
Summary: Country list doesn't load properly → <SELECT> w static and dynamic <OPTIONS> not loading properly
Comment 6•23 years ago
|
||
This looks like a dup of bug 104904.
Assignee | ||
Comment 7•23 years ago
|
||
I am not seeing any of this with today's build on Win2K
Status: NEW → ASSIGNED
Summary: <SELECT> w static and dynamic <OPTIONS> not loading properly → [CBX]<SELECT> w static and dynamic <OPTIONS> not loading properly
Target Milestone: --- → Future
Comment 8•23 years ago
|
||
Fixed with the bug 34297 landing (I tried it with before-and-after builds). Marking dup. *** This bug has been marked as a duplicate of 104904 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•