Index: Source/core/html/HTMLSelectElement.cpp |
diff --git a/Source/core/html/HTMLSelectElement.cpp b/Source/core/html/HTMLSelectElement.cpp |
index 2a5d6c9253a03401aba4172c36a807ce9f003f5c..d8eb4c116e4683ed3e38761b208b55c339c7dacf 100644 |
--- a/Source/core/html/HTMLSelectElement.cpp |
+++ b/Source/core/html/HTMLSelectElement.cpp |
@@ -730,7 +730,7 @@ |
return; |
scrollToIndex(activeSelectionEndListIndex()); |
if (AXObjectCache* cache = document().existingAXObjectCache()) |
- cache->listboxActiveIndexChanged(this); |
+ cache->selectedChildrenChanged(this); |
} |
void HTMLSelectElement::setOptionsChangedOnRenderer() |
@@ -970,6 +970,9 @@ |
if (LayoutObject* renderer = this->layoutObject()) { |
if (usesMenuList()) { |
toLayoutMenuList(renderer)->didSetSelectedIndex(listIndex); |
+ } else if (renderer->isListBox()) { |
+ if (AXObjectCache* cache = document().existingAXObjectCache()) |
+ cache->selectedChildrenChanged(this); |
} |
} |
} |