Closed Bug 233927 Opened 22 years ago Closed 16 years ago

drop down box selections not displayed

Categories

(Core :: DOM: HTML Parser, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: reter, Unassigned)

References

()

Details

(Whiteboard: [fixed by the HTML5 parser])

Attachments

(1 file)

User-Agent: Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 The drop down box in the size category is all ready selected with the only size available, but in the color category, none of the selections are showing. Seems to work fine in Konqueror. Reproducible: Always Steps to Reproduce: 1.Go to site 2.click on color selection 3. Actual Results: No selections are shown Expected Results: color selections should have shown in drop down box...
Looks like some sort of problem with the JS that sets up the form...maybe IE-specific DOM.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: qawanted
(In reply to comment #1) > Looks like some sort of problem with the JS that sets up the form...maybe > IE-specific DOM. Why does it work fine from Konqueror then??
Becuse Konqueror implements a number of IE things, including document.all Choess, please do not confirm bugs like this without a testcase (a bug should never be confirmed if it's qawanted, really).
Additional info: If you click on the Size drop down and change it from 5/8 back to size the color selections become available.
If the page is saved before changing the Size to be SIZE, the form appears as this: <select class="fine" onchange="buildProductOptions(this.name, this.selectedIndex, this.options[this.selectedIndex].text, 2 - 1)" name="/cabelas/commerce/CabelasProductFormHandler.productBean.choiceCode2"><option value=" " selected="selected">COLOR</option></select> However, after changing to size and saving the page, this is the form: <select class="fine" onchange="buildProductOptions(this.name, this.selectedIndex, this.options[this.selectedIndex].text, 2 - 1)" name="/cabelas/commerce/CabelasProductFormHandler.productBean.choiceCode2"><option value=" " selected="selected">COLOR</option><option value="021">FIRETIGER </option><option value="061">TENN SHAD </option><option value="074">SILVER FLASH </option><option value="244">APPLE RED CRAWDAD </option><option value="387">BENGAL FIRETIGER </option><option value="418">BROWN CRAWDAD </option><option value="875">BABY BASS/ORG BELLY </option><option value="891">BLACK SCALE </option></select><input name="_D:/cabelas/commerce/CabelasProductFormHandler.productBean.choiceCode2" value=" " type="hidden"> The colors work after changing the size, the question is *why* I suppose. Saving the page (not changing anything in the form) and then changing the Size has no effect on the Color dropdown, the colors remain inaccessable. Part of the JavaScript maybe? I will attach the JavaScript as a txt file (all but 3 externally linked JS files, which seem to deal with cookies?)
JavaScript used by the page (except for 3 externally linked JS files)
Product: Browser → Seamonkey
the problem is that the page has a SELECT option of " 5/8 OZ" (two spaces between "8" and "OZ". Then it looks for that option text from javascript. But Mozilla collapses the two spaces into one, and so the javasript never finds it. Assuming that's correct behavior, this is Tech Evang, but moving to parser (form controls?) for now.
Assignee: general → parser
Component: General → HTML: Parser
Keywords: qawanted
Product: Mozilla Application Suite → Core
QA Contact: general → mrbkap
Assignee: parser → nobody
QA Contact: mrbkap → parser
The HTML5 parser doesn't collapse white space.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by the HTML5 parser]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: