Bug 23720 - dropdown doesn't load automatically on selecting previous option
Summary: dropdown doesn't load automatically on selecting previous option
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 525.x (Safari 3.1)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL: http://lehigh.bncollege.com/webapp/wc...
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2009-02-03 17:16 PST by jasneet
Modified: 2009-07-03 23:38 PDT (History)
2 users (show)

See Also:


Attachments
testcase (1.06 KB, text/html)
2009-02-03 17:17 PST, jasneet
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jasneet 2009-02-03 17:16:43 PST
I Steps:
1. Go to http://lehigh.bncollege.com/webapp/wcs/stores/servlet/TBWizardView?
catalogId=10001&storeId=13051&langId=-1&level=1
2. Go to "Step 1: Find Your Course"
3. Select a semester

II Issue:
The dropdown list of "select department" doesn't immediately load. The user needs to click outside of the dropdown list for the selection to be registered and the next dropdown to load.

III Conclusion:
The time when "onclick" event is triggered is different between Firefox/IE and 
Chrome/Safari, this is the cause of this issue. Lets separate the selecting dropdown operation into 2 periods:

1. Click the dropdown, dropdown options get expanded.
2. Choose an option

In IE/Firefox, "onclick" event is triggered after step 2, however in Chrome/Safari, the "onclick" event is triggered before step 2 and after step 1. In other words, when the "onclick" event is triggered in Chrome/Safari, the value of dropdown is not changed by user yet, this is the issue.

As a result, in webkit, in the attached testcase the "onclick" event cannot display the selected value below the dropdown, this can only be done by the "onblur" event. However in Firefox/IE, everything is done by the "onclick" event.

IV Other Browsers:
IE7: ok
FF3: ok

V Nightly tested: 40471

Bug in Chromium : http://code.google.com/p/chromium/issues/detail?id=5284
Comment 1 jasneet 2009-02-03 17:17:04 PST
Created attachment 27302 [details]
testcase