diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /testing/web-platform/tests/core-aam/superscript-manual.html | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | testing/web-platform/tests/core-aam/superscript-manual.html | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/testing/web-platform/tests/core-aam/superscript-manual.html b/testing/web-platform/tests/core-aam/superscript-manual.html new file mode 100644 index 0000000000..5863f9b188 --- /dev/null +++ b/testing/web-platform/tests/core-aam/superscript-manual.html @@ -0,0 +1,95 @@ +<!doctype html> +<html> + <head> + <title>superscript</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_SUPERSCRIPT" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXGroup" + ], + [ + "property", + "AXSubrole", + "is", + "AXSuperscriptStyleGroup" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "IA2_ROLE_TEXT_FRAME" + ], + [ + "property", + "textAttributes", + "contains", + "text-position:super" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_GROUPING" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Text" + ], + [ + "property", + "TextRange.IsSuperscript", + "is", + "true" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "superscript" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for superscript.</p> + <div role="superscript" id="test">content</div> + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> |