Skip to content

Commit

Permalink
Bug 1581730 [wpt PR 19112] - Add MathML test to check that menclose@n…
Browse files Browse the repository at this point in the history
…otation="radical" is not supp…, a=testonly

Automatic update from web-platform-tests
Add MathML test to check that menclose@notation="radical" is not supported (#19112)

See w3c/mathml#3
--

wpt-commits: b3e39b3f3c81ffd6c0995ea8e34d9147ac3f62d8
wpt-pr: 19112
  • Loading branch information
fred-wang authored and moz-wptsync-bot committed Sep 18, 2019
1 parent b662038 commit 502ac23
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 502ac23

Please sign in to comment.