Tools/ChangeLog

 12012-12-09 Joanmarie Diggs <jdiggs@igalia.com>
 2
 3 [GTK] accessibility/editable-webarea-context-menu-point.html is failing
 4 https://bugs.webkit.org/show_bug.cgi?id=98364
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 The test is failing because the clickPoint values remain unchanged. The
 9 values remain unchanged because ATK lacks a means to keep track of this
 10 information.
 11
 12 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
 13 (AccessibilityUIElement::clickPointX): Added comment that ATK doesn't have clickPoint details
 14 (AccessibilityUIElement::clickPointY): Added comment that ATK doesn't have clickPoint details
 15
1162012-12-09 Jon Lee <jonlee@apple.com>
217
318 [WK2] Move button image to injected bundle

Tools/DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp

@@double AccessibilityUIElement::height()
463463
464464double AccessibilityUIElement::clickPointX()
465465{
 466 // Note: This is not something we have in ATK.
466467 return 0.f;
467468}
468469
469470double AccessibilityUIElement::clickPointY()
470471{
 472 // Note: This is not something we have in ATK.
471473 return 0.f;
472474}
473475

LayoutTests/ChangeLog

 12012-12-09 Joanmarie Diggs <jdiggs@igalia.com>
 2
 3 [GTK] accessibility/editable-webarea-context-menu-point.html is failing
 4 https://bugs.webkit.org/show_bug.cgi?id=98364
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 This test seems to be Mac-specific. Therefore, move the test to that
 9 platform and remove the skips from the other platforms.
 10
 11 * platform/chromium/TestExpectations: Remove editable-webarea-context-menu-point.html
 12 * platform/efl-wk2/TestExpectations: Remove editable-webarea-context-menu-point.html
 13 * platform/gtk-wk2/TestExpectations: Remove editable-webarea-context-menu-point.html
 14 * platform/gtk/TestExpectations: Remove editable-webarea-context-menu-point.html
 15 * platform/mac/accessibility/editable-webarea-context-menu-point-expected.txt: Renamed from LayoutTests/accessibility/editable-webarea-context-menu-point-expected.txt.
 16 * platform/mac/accessibility/editable-webarea-context-menu-point.html: Renamed from LayoutTests/accessibility/editable-webarea-context-menu-point.html.
 17 * platform/win/TestExpectations: Remove editable-webarea-context-menu-point.html
 18 * platform/wincairo/TestExpectations: Remove editable-webarea-context-menu-point.html
 19
1202012-12-09 Christophe Dumez <christophe.dumez@intel.com>
221
322 Unreviewed EFL gardening.

LayoutTests/accessibility/editable-webarea-context-menu-point-expected.txt

1 This tests that the click point, used for opening context menus, changes based on the current selection in an editable web area. This tests that the click point, used for opening context menus, changes based on the current selection in an editable web area.
2 This tests that the click point, used for opening context menus, changes based on the current selection in an editable web area (by setting the selection twice and comparing the click point locations)
3 
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5 
6 
7 PASS succeeded is true
8 PASS successfullyParsed is true
9 
10 TEST COMPLETE
11 

LayoutTests/accessibility/editable-webarea-context-menu-point.html

1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../fast/js/resources/js-test-pre.js"></script>
5 </head>
6 <body id="body" contenteditable>
7 This tests that the click point, used for opening context menus, changes based on the current selection in an editable web area.
8 This tests that the click point, used for opening context menus, changes based on the current selection in an editable web area.
9 
10 
11 <p id="description"></p>
12 <div id="console"></div>
13 
14 <script>
15 
16  description("This tests that the click point, used for opening context menus, changes based on the current selection in an editable web area (by setting the selection twice and comparing the click point locations)");
17 
18  if (window.accessibilityController) {
19 
20  var body = document.getElementById("body");
21  body.focus();
22  var axWebArea = accessibilityController.focusedElement.parentElement();
23 
24  x = body.offsetLeft + 10;
25  y = body.offsetTop + 10;
26 
27  eventSender.mouseMoveTo(x, y);
28  eventSender.mouseDown();
29  eventSender.mouseUp();
30  eventSender.mouseDown();
31  eventSender.mouseUp();
32 
33  var clickPointX1 = axWebArea.clickPointX;
34 
35  x = body.offsetLeft + 100 + 10;
36  y = body.offsetTop + 10;
37 
38  eventSender.mouseMoveTo(x, y);
39  eventSender.mouseDown();
40  eventSender.mouseUp();
41  eventSender.mouseDown();
42  eventSender.mouseUp();
43 
44  var clickPointX2 = axWebArea.clickPointX;
45  var succeeded = clickPointX2 != clickPointX1;
46  shouldBe("succeeded", "true");
47 
48  }
49 
50 </script>
51 
52 <script src="../fast/js/resources/js-test-post.js"></script>
53 </body>
54 </html>

LayoutTests/platform/chromium/TestExpectations

@@crbug.com/10322 accessibility/aria-used-on-image-maps.html [ Skip ]
14051405crbug.com/10322 accessibility/button-press-action.html [ Skip ]
14061406crbug.com/10322 accessibility/deleting-iframe-destroys-axcache.html [ Skip ]
14071407crbug.com/10322 accessibility/document-attributes.html [ Skip ]
1408 crbug.com/10322 accessibility/editable-webarea-context-menu-point.html [ Skip ]
14091408crbug.com/10322 accessibility/iframe-bastardization.html [ Skip ]
14101409crbug.com/10322 accessibility/image-link.html [ Skip ]
14111410crbug.com/10322 accessibility/image-map-update-parent-crash.html [ Skip ]

LayoutTests/platform/efl-wk2/TestExpectations

@@accessibility/canvas-accessibilitynodeobject.html [ Skip ]
232232accessibility/canvas-fallback-content-2.html [ Skip ]
233233accessibility/canvas-fallback-content.html [ Skip ]
234234accessibility/disabled-controls-not-focusable.html [ Skip ]
235 accessibility/editable-webarea-context-menu-point.html [ Skip ]
236235accessibility/ellipsis-text.html [ Skip ]
237236accessibility/file-upload-button-with-axpress.html [ Skip ]
238237accessibility/hidden-legend.html [ Skip ]

LayoutTests/platform/gtk-wk2/TestExpectations

@@Bug(GTK) http/tests/security/resources/drag-drop-allowed.html [ Skip ]
5151# [GTK] Implement drag and drop support in WebKit2
5252# https://bugs.webkit.org/show_bug.cgi?id=63706
5353# Implement EditingCallbacks deletegates in the WebKitTestRunner
54 webkit.org/b/63706 accessibility/editable-webarea-context-menu-point.html [ Failure ]
5554webkit.org/b/63706 editing/pasteboard/4947130.html [ Failure ]
5655webkit.org/b/63706 editing/pasteboard/dataTransfer-setData-getData.html [ Failure Timeout ]
5756webkit.org/b/63706 editing/pasteboard/drag-and-drop-image-contenteditable.html [ Failure Timeout ]

LayoutTests/platform/gtk/TestExpectations

@@webkit.org/b/98360 accessibility/aria-used-on-image-maps.html [ Failure ]
745745webkit.org/b/98361 accessibility/button-press-action.html [ Failure ]
746746webkit.org/b/98362 accessibility/canvas-fallback-content.html [ Failure ]
747747webkit.org/b/98363 accessibility/canvas-fallback-content-2.html [ Failure ]
748 webkit.org/b/98364 accessibility/editable-webarea-context-menu-point.html [ Failure ]
749748webkit.org/b/98365 accessibility/ellipsis-text.html [ Failure ]
750749webkit.org/b/98368 accessibility/label-for-control-hittest.html [ Failure ]
751750webkit.org/b/98369 accessibility/language-attribute.html [ Failure ]

LayoutTests/platform/mac/accessibility/editable-webarea-context-menu-point-expected.txt

 1This tests that the click point, used for opening context menus, changes based on the current selection in an editable web area. This tests that the click point, used for opening context menus, changes based on the current selection in an editable web area.
 2This tests that the click point, used for opening context menus, changes based on the current selection in an editable web area (by setting the selection twice and comparing the click point locations)
 3
 4On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 5
 6
 7PASS succeeded is true
 8PASS successfullyParsed is true
 9
 10TEST COMPLETE
 11

LayoutTests/platform/mac/accessibility/editable-webarea-context-menu-point.html

 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 2<html>
 3<head>
 4<script src="../fast/js/resources/js-test-pre.js"></script>
 5</head>
 6<body id="body" contenteditable>
 7This tests that the click point, used for opening context menus, changes based on the current selection in an editable web area.
 8This tests that the click point, used for opening context menus, changes based on the current selection in an editable web area.
 9
 10
 11<p id="description"></p>
 12<div id="console"></div>
 13
 14<script>
 15
 16 description("This tests that the click point, used for opening context menus, changes based on the current selection in an editable web area (by setting the selection twice and comparing the click point locations)");
 17
 18 if (window.accessibilityController) {
 19
 20 var body = document.getElementById("body");
 21 body.focus();
 22 var axWebArea = accessibilityController.focusedElement.parentElement();
 23
 24 x = body.offsetLeft + 10;
 25 y = body.offsetTop + 10;
 26
 27 eventSender.mouseMoveTo(x, y);
 28 eventSender.mouseDown();
 29 eventSender.mouseUp();
 30 eventSender.mouseDown();
 31 eventSender.mouseUp();
 32
 33 var clickPointX1 = axWebArea.clickPointX;
 34
 35 x = body.offsetLeft + 100 + 10;
 36 y = body.offsetTop + 10;
 37
 38 eventSender.mouseMoveTo(x, y);
 39 eventSender.mouseDown();
 40 eventSender.mouseUp();
 41 eventSender.mouseDown();
 42 eventSender.mouseUp();
 43
 44 var clickPointX2 = axWebArea.clickPointX;
 45 var succeeded = clickPointX2 != clickPointX1;
 46 shouldBe("succeeded", "true");
 47
 48 }
 49
 50</script>
 51
 52<script src="../fast/js/resources/js-test-post.js"></script>
 53</body>
 54</html>

LayoutTests/platform/win/TestExpectations

@@accessibility/aria-text-role.html
618618accessibility/aria-used-on-image-maps.html
619619accessibility/button-press-action.html
620620accessibility/document-attributes.html
621 accessibility/editable-webarea-context-menu-point.html
622621accessibility/hidden-legend.html
623622accessibility/ignore-spacer-elements.html
624623accessibility/image-link.html

LayoutTests/platform/wincairo/TestExpectations

@@accessibility/aria-text-role.html
11461146accessibility/aria-used-on-image-maps.html
11471147accessibility/button-press-action.html
11481148accessibility/document-attributes.html
1149 accessibility/editable-webarea-context-menu-point.html
11501149accessibility/hidden-legend.html
11511150accessibility/ignore-spacer-elements.html
11521151accessibility/image-link.html