Changeset 106318 in webkit
- Timestamp:
- Jan 30, 2012 6:55:08 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r106316 r106318 1 2012-01-30 Pablo Flouret <pablof@motorola.com> 2 3 Don't select the next selectable index when deselecting an option in select elements with size set to a value greater than one. 4 https://bugs.webkit.org/show_bug.cgi?id=76389 5 6 Reviewed by Kent Tamura. 7 8 This behavior matches the rest of the browsers. 9 10 * fast/forms/select/option-selecting-expected.txt: Added. 11 * fast/forms/select/option-selecting.html: Added. 12 1 13 2012-01-30 Levi Weintraub <leviw@chromium.org> 2 14 -
trunk/Source/WebCore/ChangeLog
r106317 r106318 1 2012-01-30 Pablo Flouret <pablof@motorola.com> 2 3 Don't select the next selectable index when deselecting an option in select elements with size set to a value greater than one. 4 https://bugs.webkit.org/show_bug.cgi?id=76389 5 6 Reviewed by Kent Tamura. 7 8 This behavior matches the rest of the browsers. 9 10 Test: fast/forms/select/option-selecting.html 11 12 * html/HTMLSelectElement.cpp: 13 (WebCore::HTMLSelectElement::optionSelectionStateChanged): 14 1 15 2012-01-30 Anders Carlsson <andersca@apple.com> 2 16 -
trunk/Source/WebCore/html/HTMLSelectElement.cpp
r105386 r106318 768 768 if (optionIsSelected) 769 769 selectOption(option->index()); 770 else if (!usesMenuList()) 771 selectOption(-1); 770 772 else 771 selectOption( m_multiple ? -1 :nextSelectableListIndex(-1));773 selectOption(nextSelectableListIndex(-1)); 772 774 } 773 775
Note: See TracChangeset
for help on using the changeset viewer.