[Webkit-unassigned] [Bug 66282] When changing the size of a menulist from x (x>1) to 1, the first item should be selected.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 17 03:28:23 PDT 2011


--- Comment #11 from Jing Zhao <jingzhao at chromium.org>  2011-08-17 03:28:23 PST ---
There are 3 different cases when (m_data.size() != oldSize):

1. (oldUsesMenuList != m_data.usesMenuList()): menu list changes to list box or list box changes to menu list
2. (!oldUsesMenuList && m_data.size() != oldSize): list box changes size
3. (oldUsesMenuList && m_data.size() != oldSize): menu list changes size

The original condition excludes the third case because it doesn't exist in platforms other than Android browser. My change is to add back the third case.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list