Commit c68ff650 authored by cfleizach@apple.com's avatar cfleizach@apple.com

Bug 25374: AX: No AXValue change sent when text is auto-inserted

https://bugs.webkit.org/show_bug.cgi?id=25374

Updated to fix regression test failures



git-svn-id: svn://svn.chromium.org/blink/trunk@42908 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent c4227a9c
2009-04-27 Chris Fleizach <cfleizach@apple.com>
Reviewed by Darin Adler.
Bug 25374: AX: No AXValue change sent when text is auto-inserted
https://bugs.webkit.org/show_bug.cgi?id=25374
First patch caused some regression tests to fail.
* rendering/RenderTextControl.cpp:
(WebCore::RenderTextControl::setInnerTextValue):
2009-04-16 Xan Lopez <xlopez@igalia.com> 2009-04-16 Xan Lopez <xlopez@igalia.com>
Reviewed by Gustavo Noronha. Reviewed by Gustavo Noronha.
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include "config.h" #include "config.h"
#include "RenderTextControl.h" #include "RenderTextControl.h"
#include "AXObjectCache.h"
#include "CharacterNames.h" #include "CharacterNames.h"
#include "Editor.h" #include "Editor.h"
#include "Event.h" #include "Event.h"
...@@ -174,8 +175,8 @@ void RenderTextControl::setInnerTextValue(const String& innerTextValue) ...@@ -174,8 +175,8 @@ void RenderTextControl::setInnerTextValue(const String& innerTextValue)
if (Frame* frame = document()->frame()) { if (Frame* frame = document()->frame()) {
frame->editor()->clearUndoRedoOperations(); frame->editor()->clearUndoRedoOperations();
VisibleSelection newSelection(frame->selection()->end()); if (AXObjectCache::accessibilityEnabled())
frame->editor()->respondToChangedContents(newSelection); document()->axObjectCache()->postNotification(this, "AXValueChanged");
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment