blob: 7537a4bcd72b3b0fd52dfb85b80f3c55dbdb95e4 [file] [log] [blame]
<!doctype html>
<html>
<head>
<title>listitem setsize -1</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_LIST_ITEM"
],
[
"property",
"states",
"doesNotContain",
"STATE_EDITABLE"
],
[
"property",
"objectAttributes",
"contains",
"setsize:-1"
]
],
"AXAPI" : [
[
"property",
"AXRole",
"is",
"AXGroup"
],
[
"property",
"AXSubrole",
"is",
"<nil>"
],
[
"property",
"AXRoleDescription",
"is",
"group"
],
[
"property",
"AXARIASetSize",
"is",
"-1"
]
],
"IAccessible2" : [
[
"property",
"objectAttributes",
"contains",
"setsize:-1"
],
[
"property",
"groupPosition",
"contains",
"similarItemsInGroup:-1"
]
],
"MSAA" : [
[
"property",
"role",
"is",
"ROLE_SYSTEM_LISTITEM"
],
[
"property",
"states",
"contains",
"STATE_SYSTEM_READONLY"
]
],
"UIA" : [
[
"property",
"ControlType",
"is",
"ListItem"
],
[
"property",
"AriaProperties.setsize",
"is",
"-1"
],
[
"property",
"controlPatterns",
"contains",
"SelectionItem"
]
]
},
"title" : "step 1",
"type" : "test"
}
],
"title" : "listitem setsize -1"
}
) ;
</script>
</head>
<body>
<p>This test examines the ARIA properties for listitem setsize -1.</p>
<div role="list">
<div id="test" role="listitem" aria-setsize="-1">test cell</div>
</div>
<div id="manualMode"></div>
<div id="log"></div>
<div id="ATTAmessages"></div>
</body>
</html>