Closed Bug 312924 Opened 19 years ago Closed 19 years ago

dropdown menu on page does not open/expand

Categories

(Camino Graveyard :: HTML Form Controls, defect)

PowerPC
macOS
defect
Not set
major

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: mapsd2000, Assigned: mikepinkerton)

References

()

Details

(Whiteboard: needinfo)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko Camino/0.9+
Build Identifier: 2005091409 (1.0a1)

In the web page referenced, it is impossible to expand the dropdown menu for
Selecting a Size

Reproducible: Always

Steps to Reproduce:
1.Click dropdown menu on page
2.or press spacebar in attempt to open
3.

Actual Results:  
menu highlights like Universal Access in Mac OS X.  also upon switching tabs, a
popup menu for Amazon appears... perhaps coding issues in javascript?

Expected Results:  
the menu should have expanded.  other menu (for Amazon.com) should not open upon
exiting page for another tab.
We have a whole class of bugs about our select widgets not behaving properly:
bug 282002, bug 154226, bug 294882, perhaps others I can't find right away.  I
don't think this is a dupe of any of them, however, since it won't drop at all,
even with a mouse-click; Simon, Wevah?

(Interestingly, the behavior is broken almost exactly the same as the XUL
equivalents in bug 306252--are they using our select impl, too?  At least the
select in this bug can be navigated usefully with the keyboard once it's focused.)
Hard to tell what the problem is at first glance. When I removed a chunk of JS
from the page, it started working again.
See also bug 311601, which is a similar Fx bug (but does not occur in Camino)--just as this page works in Fx.
Can someone try to reduce a testcase?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: needinfo
OK, it seems to be this line (somewhere towards the end of the huge script block that begins <script type='text/javascript'>//<![CDATA[ ):

document.write('<script language="javascript" src="http://g-images.amazon.com/images/G/01/nav2/prod/dyntsapi/dyntsapi-dyntsapi-24313.js" type="text/javascript"><\/script>'+
'');

I don't know what part of the page taking that out breaks, but it makes the selects drop down now in Camino.  Unfortunately, the JS file referenced in that document.write is another huge bunch of JS.  So that's all the more I'm going to be able to narrow it down.
Just in case anyone's wondering, this did not work in 0.8.4, either.
This is now WFM with 2006010404 (v1.0b2+) and 10.3.9; can anyone else confirm?
WFM too, 2005122909 (v1.0b2) OS X 10.2.8

(It seems like the problematic line line from comment 5 is gone.)
Maybe fixed by bug 313988?
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
I think Torben's right, the page changed, because it works now in 0.8.4, too (and bug bug 313988 only touched widget:mac AFAICT).  Still, one less bug!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.