[webkit-changes] [189483] trunk

2015-09-08 Thread cfleizach
Title: [189483] trunk








Revision 189483
Author cfleiz...@apple.com
Date 2015-09-07 23:24:21 -0700 (Mon, 07 Sep 2015)


Log Message
AX: Mavericks: Text cursor does not move along with VoiceOver cursor for text fields
https://bugs.webkit.org/show_bug.cgi?id=148891

Reviewed by Mario Sanchez Prada.

Source/WebCore:

Undo the asynchronous dispatch of accessibility setting values on pre El Capitan machines
because it causes focus to not sync correctly.

Test: accessibility/mac/focus-moves-cursor.html

* accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(-[WebAccessibilityObjectWrapper accessibilitySetValue:forAttribute:]):
(-[WebAccessibilityObjectWrapper _accessibilitySetValue:forAttribute:]):

LayoutTests:

* accessibility/mac/focus-moves-cursor-expected.txt: Added.
* accessibility/mac/focus-moves-cursor.html: Added.

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/LayoutTests/platform/mac/TestExpectations
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm


Added Paths

trunk/LayoutTests/accessibility/mac/focus-moves-cursor-expected.txt
trunk/LayoutTests/accessibility/mac/focus-moves-cursor.html




Diff

Modified: trunk/LayoutTests/ChangeLog (189482 => 189483)

--- trunk/LayoutTests/ChangeLog	2015-09-08 06:20:56 UTC (rev 189482)
+++ trunk/LayoutTests/ChangeLog	2015-09-08 06:24:21 UTC (rev 189483)
@@ -1,3 +1,13 @@
+2015-09-07  Chris Fleizach  
+
+AX: Mavericks: Text cursor does not move along with VoiceOver cursor for text fields
+https://bugs.webkit.org/show_bug.cgi?id=148891
+
+Reviewed by Mario Sanchez Prada.
+
+* accessibility/mac/focus-moves-cursor-expected.txt: Added.
+* accessibility/mac/focus-moves-cursor.html: Added.
+
 2015-09-07  Chris Dumez  
 
 Unreviewed, update iOS baseline for imported/w3c/web-platform-tests/html/dom/interfaces.html.


Added: trunk/LayoutTests/accessibility/mac/focus-moves-cursor-expected.txt (0 => 189483)

--- trunk/LayoutTests/accessibility/mac/focus-moves-cursor-expected.txt	(rev 0)
+++ trunk/LayoutTests/accessibility/mac/focus-moves-cursor-expected.txt	2015-09-08 06:24:21 UTC (rev 189483)
@@ -0,0 +1,15 @@
+
+This tests that when setting focus, the cursor moves.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS textfield.stringValue is 'AXValue: '
+PASS textfield.stringValue is 'AXValue: '
+PASS textfield.isFocused is true
+PASS document.activeElement is document.getElementById('textfield')
+PASS textfield.stringValue is 'AXValue: a'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+


Added: trunk/LayoutTests/accessibility/mac/focus-moves-cursor.html (0 => 189483)

--- trunk/LayoutTests/accessibility/mac/focus-moves-cursor.html	(rev 0)
+++ trunk/LayoutTests/accessibility/mac/focus-moves-cursor.html	2015-09-08 06:24:21 UTC (rev 189483)
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+

+
+ +