blob: 73e315817635fe552fe7abdcd83b2c926b41a134 [file] [log] [blame]
<!doctype html>
<html>
<head>
<title>scrollbar only valuenow unspecified</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
<script>
setup({explicit_timeout: true, explicit_done: true });
var theTest = new ATTAcomm(
{
"steps" : [
{
"element" : "test",
"test" : {
"ATK" : [
[
"property",
"role",
"is",
"ROLE_SCROLL_BAR"
],
[
"property",
"interfaces",
"contains",
"Value"
],
[
"result",
"atk_value_get_minimum_value()",
"is",
"0"
],
[
"result",
"atk_value_get_current_value()",
"is",
"20"
],
[
"result",
"atk_value_get_maximum_value()",
"is",
"40"
]
],
"AXAPI" : [
[
"property",
"AXRole",
"is",
"AXScrollBar"
],
[
"property",
"AXSubrole",
"is",
"<nil>"
],
[
"property",
"AXRoleDescription",
"is",
"scroll bar"
],
[
"property",
"AXMinValue",
"is",
"0"
],
[
"property",
"AXValue",
"is",
"20"
],
[
"property",
"AXMaxValue",
"is",
"40"
]
],
"IAccessible2" : [
[
"property",
"role",
"is",
"ROLE_SYSTEM_SCROLLBAR"
],
[
"property",
"interfaces",
"contains",
"AccessibleValue"
],
[
"property",
"minimumValue",
"is",
"0"
],
[
"property",
"currentValue",
"is",
"20"
],
[
"property",
"maximumValue",
"is",
"40"
]
],
"MSAA" : [
[
"property",
"role",
"is",
"ROLE_SYSTEM_SCROLLBAR"
]
],
"UIA" : [
[
"property",
"ControlType",
"is",
"ScrollBar"
],
[
"property",
"controlPatterns",
"contains",
"RangeValue"
],
[
"result",
"RangeValue.Minimum",
"is",
"0"
],
[
"result",
"RangeValue.Value",
"is",
"20"
],
[
"result",
"RangeValue.Maximum",
"is",
"40"
]
]
},
"title" : "step 1",
"type" : "test"
}
],
"title" : "scrollbar only valuenow unspecified"
}
) ;
</script>
</head>
<body>
<p>This test examines the ARIA properties for scrollbar only valuenow unspecified.</p>
<div role="scrollbar" aria-valuemin="0" aria-valuemax="40" id="test">
Go Fish
</div>
<div id="manualMode"></div>
<div id="log"></div>
<div id="ATTAmessages"></div>
</body>
</html>