WebCore: AX: TextArea should return AXSelectedTextRange of 0,0 if the cursor is not...
authorcfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Jul 2010 01:04:01 +0000 (01:04 +0000)
committercfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Jul 2010 01:04:01 +0000 (01:04 +0000)
commitecc9f92a645dc225737e14dfa4b52c59be7b5f20
tree8d5b6e820963d7972516baa13cde5af894266c53
parent9837cf258ac794035fd168db1966af8572b64b39
WebCore: AX: TextArea should return AXSelectedTextRange of 0,0 if the cursor is not in the text area
https://bugs.webkit.org/show_bug.cgi?id=41810

WebKitTools: AX: TextArea should return AXSelectedTextRange of 0,0 if the cursor is not in the text area
https://bugs.webkit.org/show_bug.cgi?id=41810

Reviewed by Darin Adler.

* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::selectedTextRange):

LayoutTests: AX: TextArea should return AXSelectedTextRange of 0,0 if the cursor is not in the text area
https://bugs.webkit.org/show_bug.cgi?id=41810

Reviewed by Darin Adler.

* platform/mac/accessibility/selected-text-range-for-empty-textarea-expected.txt: Added.
* platform/mac/accessibility/selected-text-range-for-empty-textarea.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@62735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/mac/accessibility/selected-text-range-for-empty-textarea-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/accessibility/selected-text-range-for-empty-textarea.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/accessibility/mac/AccessibilityObjectWrapper.mm
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/mac/AccessibilityUIElementMac.mm