Revision 81bcc8db4c676828d4b33ccb90c94049ffd831cf authored by Mustaq Ahmed on 13 April 2018, 18:16:18 UTC, committed by Blink WPT Bot on 13 April 2018, 18:25:25 UTC
Also added web-platform-tests. Blink intent thread: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/G2s1Ol3qcgA Closes https://github.com/w3c/pointerevents/issues/167 Bug: 827271 Change-Id: I8429b9541f8cfc38223b3a34116b74c2aba92ee5 Reviewed-on: https://chromium-review.googlesource.com/986877 Reviewed-by: Dave Tapuska <dtapuska@chromium.org> Commit-Queue: Mustaq Ahmed <mustaq@chromium.org> Cr-Commit-Position: refs/heads/master@{#550683}
1 parent 6ad1b51
button_with_defined_value_for_aria-pressed-manual.html
<!doctype html>
<html>
<head>
<title>button with defined value for aria-pressed</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link rel="stylesheet" href="/resources/testharness.css">
<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_TOGGLE_BUTTON"
]
],
"AXAPI" : [
[
"property",
"AXRole",
"is",
"AXCheckBox"
],
[
"property",
"AXSubrole",
"is",
"AXToggle"
],
[
"property",
"AXRoleDescription",
"is",
"toggle button"
]
],
"IAccessible2" : [
[
"property",
"role",
"is",
"IA2_ROLE_TOGGLE_BUTTON"
]
],
"MSAA" : [
[
"property",
"role",
"is",
"ROLE_SYSTEM_PUSHBUTTON"
]
],
"UIA" : [
[
"property",
"ControlType",
"is",
"Button"
]
]
},
"title" : "step 1",
"type" : "test"
}
],
"title" : "button with defined value for aria-pressed"
}
) ;
</script>
</head>
<body>
<p>This test examines the ARIA properties for button with defined value for aria-pressed.</p>
<div role='button' id='test' aria-pressed='true'>content</div>
<div id="manualMode"></div>
<div id="log"></div>
<div id="ATTAmessages"></div>
</body>
</html>
Computing file changes ...