Skip to content

Commit baadc0b

Browse files
committed
Add test for mathjax/MathJax#1474
1 parent 261d769 commit baadc0b

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<!DOCTYPE html>
2+
<html class="reftest-wait">
3+
<head>
4+
<title>Issue 1474</title>
5+
<!-- Copyright (c) 2016 MathJax Consortium
6+
License: Apache License 2.0 -->
7+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
8+
<script type="text/javascript" src="../../header.js"></script>
9+
<script type="text/javascript" src="../../scriptTests.js"></script>
10+
11+
<script type="text/javascript">
12+
gMaxErrorSignals["Math Processing Error"] = 2;
13+
gConfigObject.extensions.push("fast-preview.js");
14+
15+
function getTestCases() {
16+
var OK = (gMaxErrorSignals["Math Processing Error"] === 2);
17+
return [newScriptReftestResult("No processing error",OK)];
18+
}
19+
</script>
20+
</head>
21+
22+
<body>
23+
24+
<!-- empty \overset{} or \underset{} produces procesing error in fast-preview
25+
https://github.com/mathjax/MathJax/issues/1474 -->
26+
27+
<div>
28+
\(\overset{}X\)
29+
</div>
30+
<div>
31+
\(\underset{}X\)
32+
</div>
33+
34+
</body>
35+
</html>

0 commit comments

Comments
 (0)