blob: 82e817e4debb12c4737cbcedb15774c6656b38d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Fraction mrow</title>
<link rel="help" href="https://w3c.github.io/mathml-core/#fractions-mfrac">
<link rel="help" href="https://w3c.github.io/mathml-core/#horizontally-group-sub-expressions-mrow">
<meta name="assert" content="This test that <mrow> elements can be used as numerator and denominator of fractions.">
<link rel="match" href="frac-mrow-001-ref.html">
</head>
<body style="font-size: 20pt;">
<p>This test passes if you see a fraction with a blue square as numerator and a cyan square as denominator.</p>
<math>
<mfrac>
<mrow>
<mspace width="30px" height="60px" style="background: blue"></mspace>
<mspace width="30px" height="60px" style="background: blue "></mspace>
</mrow>
<mrow>
<mspace width="30px" height="60px" style="background: cyan"></mspace>
<mspace width="30px" height="60px" style="background: cyan "></mspace>
</mrow>
</mfrac>
</math>
<script src="/mathml/support/feature-detection.js"></script>
<script>MathMLFeatureDetection.ensure_for_match_reftest("has_mfrac");</script>
</body>
</html>
|