Skip to content

Commit

Permalink
Add MathML test to check that menclose@notation="radical" is not supp…
Browse files Browse the repository at this point in the history
…orted

See w3c/mathml#3
  • Loading branch information
fred-wang committed Sep 17, 2019
1 parent f2835bb commit 9239b66
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Legacy menclose radical notation (reference)</title>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
math, math * {
font: 25px Ahem;
}
</style>
</head>
<body>
<math>
<menclose>
<mn>123</mn>
</menclose>
</math>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Legacy menclose radical notation</title>
<link rel="help" href="https://www.w3.org/TR/MathML3/chapter3.html#presm.menclose">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#enclose-expression-inside-notation-menclose">
<meta name="assert" content="Verify that the legacy menclose radical notation is not supported.">
<link rel="match" href="legacy-menclose-radical-notation-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
math, math * {
font: 25px Ahem;
}
</style>
</head>
<body>
<math>
<menclose notation="radical">
<mn>123</mn>
</menclose>
</math>

<script src="/mathml/support/feature-detection.js"></script>
<script>MathMLFeatureDetection.ensure_for_match_reftest("has_menclose");</script>
</body>
</html>

0 comments on commit 9239b66

Please sign in to comment.