Source/WebCore/ChangeLog

 12012-07-09 Chris Fleizach <cfleizach@apple.com>
 2
 3 ARIA spinbutton role incorrectly mapped to ProgressIndicatorRole
 4 https://bugs.webkit.org/show_bug.cgi?id=77298
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 * accessibility/AccessibilityObject.cpp:
 9 (WebCore::createARIARoleMap):
 10
1112012-07-09 Sheriff Bot <webkit.review.bot@gmail.com>
212
313 Unreviewed, rolling out r122107.
122110

Source/WebCore/accessibility/AccessibilityObject.cpp

13991399 { "search", LandmarkSearchRole },
14001400 { "separator", SplitterRole },
14011401 { "slider", SliderRole },
1402  { "spinbutton", ProgressIndicatorRole },
 1402 { "spinbutton", SpinButtonRole },
14031403 { "status", ApplicationStatusRole },
14041404 { "tab", TabRole },
14051405 { "tablist", TabListRole },
122110

LayoutTests/ChangeLog

 12012-07-09 Chris Fleizach <cfleizach@apple.com>
 2
 3 ARIA spinbutton role incorrectly mapped to ProgressIndicatorRole
 4 https://bugs.webkit.org/show_bug.cgi?id=77298
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 * platform/mac/accessibility/aria-spinbutton-expected.txt:
 9 * platform/mac/accessibility/aria-spinbutton.html:
 10
1112012-07-09 Andrei Onea <onea@adobe.com>
212
313 [CSSRegions] Rename NamedFlow::getRegionsByContentNode to NamedFlow::getRegionsByContent
122110

LayoutTests/platform/mac/accessibility/aria-spinbutton-expected.txt

1 In accessibility, the following should be a progress indicator:
 1In accessibility, the following should be an incrementor:
22
33X
44
5 This test PASSES in DumpRenderTree. The role is AXRole: AXProgressIndicator
 5This test PASSES in DumpRenderTree. The role is AXRole: AXIncrementor
122110

LayoutTests/platform/mac/accessibility/aria-spinbutton.html

1313 var ariaRole = accessibilityController.focusedElement.role;
1414
1515 var result = document.getElementById("result");
16  if (ariaRole == "AXRole: AXProgressIndicator")
 16 if (ariaRole == "AXRole: AXIncrementor")
1717 result.innerText = "This test PASSES in DumpRenderTree. The role is " + ariaRole;
1818 else
19  result.innerText = "This test FAILS in DumpRenderTree. The ARIA role is " + ariaRole + ", but should be AXProgressIndicator";
 19 result.innerText = "This test FAILS in DumpRenderTree. The ARIA role is " + ariaRole + ", but should be AXIncrementor";
2020 }
2121</script>
2222
2323<div>
24  <p>In accessibility, the following should be a progress indicator:</p>
 24 <p>In accessibility, the following should be an incrementor:</p>
2525 <p><span tabindex="0" role="spinbutton" id="spinbutton" aria-valuenow=5 aria-valuemin=0 aria-valuemax=10>X</span></p>
2626 <span id="result"></span>
2727 <script>
122110