blob: 539dc7df7d6900aba74239511840d2f291e819cb [file] [log] [blame] [edit]
<!DOCTYPE HTML><!-- webkit-test-runner [ CoreMathMLEnabled=false ] -->
<html>
<head>
<script src="../resources/js-test-pre.js"></script>
<script src="../resources/accessibility-helper.js"></script>
</head>
<body>
<div id="content">
<math id="math">
<mfenced open="{" close="}" separators=",;">
<mi>2</mi>
<mi>a</mi>
<mi>e</mi>
</mfenced>
</math>
</div>
<p id="description"></p>
<pre id="tree"></pre>
<div id="console"></div>
<script>
description("This verifies the expected roles and values are exposed for mfenced.");
// This test checks that mfenced exposes fences to the a11y trees. However, it is now deprecated
// as mfenced is not a part of MathML Core
if (window.accessibilityController) {
dumpAccessibilityTree(accessibilityController.accessibleElementById("math"), null, 0, false, false, true);
document.getElementById("content").style.visibility = "hidden";
}
</script>
<script src="../resources/js-test-post.js"></script>
</body>
</html>