зеркало из https://github.com/mozilla/gecko-dev.git
Bug 975681 - Reftests for MathML mfrac. r=fredw
This commit is contained in:
Родитель
9c4428fd8a
Коммит
68e5e4ccb8
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac bevelled</title>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac style="font-size: 300%" bevelled="false">
|
||||
<mi> a </mi>
|
||||
<mi> b </mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac bevelled</title>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac style="font-size: 300%">
|
||||
<mi> a </mi>
|
||||
<mi> b </mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac denomalign</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="position: absolute;">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mfrac denomalign="left" linethickness="0">
|
||||
<mspace width="100px" height="20px" mathbackground="red"></mspace>
|
||||
<mspace width="50px" height="20px" mathbackground="red"></mspace>
|
||||
</mfrac>
|
||||
</math>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac denomalign</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="position: absolute;">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mfrac linethickness="0">
|
||||
<mspace width="100px" height="20px" mathbackground="red"></mspace>
|
||||
<mpadded width="100px" lspace="0px">
|
||||
<mspace width="50px" height="20px" mathbackground="red"></mspace>
|
||||
</mpadded>
|
||||
</mfrac>
|
||||
</math>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac denomalign</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="position: absolute;">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mfrac denomalign="right" linethickness="0">
|
||||
<mspace width="100px" height="20px" mathbackground="red"></mspace>
|
||||
<mspace width="50px" height="20px" mathbackground="red"></mspace>
|
||||
</mfrac>
|
||||
</math>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac denomalign</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="position: absolute;">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mfrac denomalign="right" linethickness="0">
|
||||
<mspace width="100px" height="20px" mathbackground="red"></mspace>
|
||||
<mpadded width="100px" lspace="50px">
|
||||
<mspace width="50px" height="20px" mathbackground="red"></mspace>
|
||||
</mpadded>
|
||||
</mfrac>
|
||||
</math>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac denomalign</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="position: absolute;">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mfrac linethickness="0">
|
||||
<mspace width="100px" height="20px" mathbackground="red"></mspace>
|
||||
<mspace width="50px" height="20px" mathbackground="red"></mspace>
|
||||
</mfrac>
|
||||
</math>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac denomalign</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="position: absolute;">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mfrac linethickness="0">
|
||||
<mspace width="100px" height="20px" mathbackground="red"></mspace>
|
||||
<mpadded width="100px" lspace="25px">
|
||||
<mspace width="50px" height="20px" mathbackground="red"></mspace>
|
||||
</mpadded>
|
||||
</mfrac>
|
||||
</math>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac linethickness</title>
|
||||
</head>
|
||||
<body>
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mfrac>
|
||||
<mi>a</mi>
|
||||
<mi>b</mi>
|
||||
</mfrac>
|
||||
<mo>=</mo>
|
||||
<mfrac>
|
||||
<mi>a</mi>
|
||||
<mi>b</mi>
|
||||
</mfrac>
|
||||
<mo>=</mo>
|
||||
<mfrac linethickness="1">
|
||||
<mi>a</mi>
|
||||
<mi>b</mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac linethickness</title>
|
||||
</head>
|
||||
<body>
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mfrac linethickness="medium">
|
||||
<mi>a</mi>
|
||||
<mi>b</mi>
|
||||
</mfrac>
|
||||
<mo>=</mo>
|
||||
<mfrac linethickness="1">
|
||||
<mi>a</mi>
|
||||
<mi>b</mi>
|
||||
</mfrac>
|
||||
<mo>=</mo>
|
||||
<mfrac linethickness="medium">
|
||||
<mi>a</mi>
|
||||
<mi>b</mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac numalign</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="position: absolute;">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mfrac numalign="left" linethickness="0">
|
||||
<mspace width="50px" height="20px" mathbackground="red"></mspace>
|
||||
<mspace width="100px" height="20px" mathbackground="red"></mspace>
|
||||
</mfrac>
|
||||
</math>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac numalign</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="position: absolute;">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mfrac linethickness="0">
|
||||
<mpadded width="100px" lspace="0px">
|
||||
<mspace width="50px" height="20px" mathbackground="red"></mspace>
|
||||
</mpadded>
|
||||
<mspace width="100px" height="20px" mathbackground="red"></mspace>
|
||||
</mfrac>
|
||||
</math>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac numalign</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="position: absolute;">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mfrac numalign="right" linethickness="0">
|
||||
<mspace width="50px" height="20px" mathbackground="red"></mspace>
|
||||
<mspace width="100px" height="20px" mathbackground="red"></mspace>
|
||||
</mfrac>
|
||||
</math>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac numalign</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="position: absolute;">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mfrac linethickness="0">
|
||||
<mpadded width="100px" lspace="50px">
|
||||
<mspace width="50px" height="20px" mathbackground="red"></mspace>
|
||||
</mpadded>
|
||||
<mspace width="100px" height="20px" mathbackground="red"></mspace>
|
||||
</mfrac>
|
||||
</math>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac numalign</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="position: absolute;">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mfrac linethickness="0">
|
||||
<mspace width="50px" height="20px" mathbackground="red"></mspace>
|
||||
<mspace width="100px" height="20px" mathbackground="red"></mspace>
|
||||
</mfrac>
|
||||
</math>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac numalign</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="position: absolute;">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mfrac linethickness="0">
|
||||
<mpadded width="100px" lspace="25px">
|
||||
<mspace width="50px" height="20px" mathbackground="red"></mspace>
|
||||
</mpadded>
|
||||
<mspace width="100px" height="20px" mathbackground="red"></mspace>
|
||||
</mfrac>
|
||||
</math>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac bevelled</title>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac style="font-size: 300%">
|
||||
<mspace width="20px" height="20px" mathbackground="red"></mspace>
|
||||
<mspace width="20px" height="20px" mathbackground="red"></mspace>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>mfrac bevelled</title>
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
document.getElementById("testMfrac").removeAttribute("bevelled");
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate",doTest, false);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac id="testMfrac" style="font-size: 300%" bevelled="true">
|
||||
<mspace width="20px" height="20px" mathbackground="red"></mspace>
|
||||
<mspace width="20px" height="20px" mathbackground="red"></mspace>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac linethickness</title>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac style="font-size: 300%">
|
||||
<mi> a </mi>
|
||||
<mi> b </mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>mfrac linethickness</title>
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
document.getElementById("testMfrac").removeAttribute("linethickness");
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate",doTest, false);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac id="testMfrac" style="font-size: 300%" linethickness="thick">
|
||||
<mi> a </mi>
|
||||
<mi> b </mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>mfrac linethickness</title>
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
document.getElementById("testMfrac").removeAttribute("linethickness");
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate",doTest, false);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac id="testMfrac" style="font-size: 300%" linethickness="thin">
|
||||
<mi> a </mi>
|
||||
<mi> b </mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac numalign</title>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac style="font-size: 300%">
|
||||
<mi>x</mi>
|
||||
<mrow><mn>a</mn><mo>+</mo><mn>b</mn><mo>+</mo><mn>c</mn><mo>+</mo><mn>d</mn><mo>+</mo><mn>e</mn></mrow>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>mfrac numalign</title>
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
document.getElementById("testMfrac").removeAttribute("numalign");
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate",doTest, false);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac id="testMfrac" style="font-size: 300%" numalign="left">
|
||||
<mi>x</mi>
|
||||
<mrow><mn>a</mn><mo>+</mo><mn>b</mn><mo>+</mo><mn>c</mn><mo>+</mo><mn>d</mn><mo>+</mo><mn>e</mn></mrow>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>mfrac numalign</title>
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
document.getElementById("testMfrac").removeAttribute("numalign");
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate",doTest, false);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac id="testMfrac" style="font-size: 300%" numalign="right">
|
||||
<mi>x</mi>
|
||||
<mrow><mn>a</mn><mo>+</mo><mn>b</mn><mo>+</mo><mn>c</mn><mo>+</mo><mn>d</mn><mo>+</mo><mn>e</mn></mrow>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac denomalign</title>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac style="font-size: 300%">
|
||||
<mrow><mn>a</mn><mo>+</mo><mn>b</mn><mo>+</mo><mn>c</mn><mo>+</mo><mn>d</mn><mo>+</mo><mn>e</mn></mrow>
|
||||
<mi>x</mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>mfrac denomalign</title>
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
document.getElementById("testMfrac").removeAttribute("denomalign");
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate",doTest, false);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac id="testMfrac" style="font-size: 300%" denomalign="left">
|
||||
<mrow><mn>a</mn><mo>+</mo><mn>b</mn><mo>+</mo><mn>c</mn><mo>+</mo><mn>d</mn><mo>+</mo><mn>e</mn></mrow>
|
||||
<mi>x</mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>mfrac denomalign</title>
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
document.getElementById("testMfrac").removeAttribute("denomalign");
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate",doTest, false);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac id="testMfrac" style="font-size: 300%" denomalign="right">
|
||||
<mrow><mn>a</mn><mo>+</mo><mn>b</mn><mo>+</mo><mn>c</mn><mo>+</mo><mn>d</mn><mo>+</mo><mn>e</mn></mrow>
|
||||
<mi>x</mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac bevelled</title>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac style="font-size: 300%" bevelled="true">
|
||||
<mi> a </mi>
|
||||
<mi> b </mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>mfrac bevelled</title>
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
document.getElementById("testMfrac").setAttribute("bevelled","true");
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate",doTest, false);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac id="testMfrac" style="font-size: 300%">
|
||||
<mi> a </mi>
|
||||
<mi> b </mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac linethickness</title>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac style="font-size: 300%" linethickness="thick">
|
||||
<mi> a </mi>
|
||||
<mi> b </mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>mfrac linethickness</title>
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
document.getElementById("testMfrac").setAttribute("linethickness","thick");
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate",doTest, false);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac id="testMfrac" style="font-size: 300%">
|
||||
<mi> a </mi>
|
||||
<mi> b </mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac numalign</title>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac style="font-size: 300%" numalign="left">
|
||||
<mi>x</mi>
|
||||
<mrow><mn>a</mn><mo>+</mo><mn>b</mn><mo>+</mo><mn>c</mn><mo>+</mo><mn>d</mn><mo>+</mo><mn>e</mn></mrow>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>mfrac numalign</title>
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
document.getElementById("testMfrac").setAttribute("numalign","left");
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate",doTest, false);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac id="testMfrac" style="font-size: 300%">
|
||||
<mi>x</mi>
|
||||
<mrow><mn>a</mn><mo>+</mo><mn>b</mn><mo>+</mo><mn>c</mn><mo>+</mo><mn>d</mn><mo>+</mo><mn>e</mn></mrow>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac denomalign</title>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac style="font-size: 300%" denomalign="left">
|
||||
<mrow><mn>a</mn><mo>+</mo><mn>b</mn><mo>+</mo><mn>c</mn><mo>+</mo><mn>d</mn><mo>+</mo><mn>e</mn></mrow>
|
||||
<mi>x</mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>mfrac denomalign</title>
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
document.getElementById("testMfrac").setAttribute("denomalign","left");
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate",doTest, false);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac id="testMfrac" style="font-size: 300%">
|
||||
<mrow><mn>a</mn><mo>+</mo><mn>b</mn><mo>+</mo><mn>c</mn><mo>+</mo><mn>d</mn><mo>+</mo><mn>e</mn></mrow>
|
||||
<mi>x</mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac bevelled</title>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac style="font-size: 300%" bevelled="true">
|
||||
<mi> a </mi>
|
||||
<mi> b </mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>mfrac bevelled</title>
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
document.getElementById("testMfrac").setAttribute("bevelled","true");
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate",doTest, false);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac id="testMfrac" style="font-size: 300%" bevelled="false">
|
||||
<mi> a </mi>
|
||||
<mi> b </mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac linethickness</title>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac style="font-size: 300%" linethickness="thick">
|
||||
<mi> a </mi>
|
||||
<mi> b </mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>mfrac linethickness</title>
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
document.getElementById("testMfrac").setAttribute("linethickness","thick");
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate",doTest, false);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac id="testMfrac" style="font-size: 300%" linethickness="thin">
|
||||
<mi> a </mi>
|
||||
<mi> b </mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac numalign</title>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac style="font-size: 300%" numalign="left">
|
||||
<mi>x</mi>
|
||||
<mrow><mn>a</mn><mo>+</mo><mn>b</mn><mo>+</mo><mn>c</mn><mo>+</mo><mn>d</mn><mo>+</mo><mn>e</mn></mrow>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>mfrac numalign</title>
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
document.getElementById("testMfrac").setAttribute("numalign","left");
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate",doTest, false);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac id="testMfrac" style="font-size: 300%" numalign="right">
|
||||
<mi>x</mi>
|
||||
<mrow><mn>a</mn><mo>+</mo><mn>b</mn><mo>+</mo><mn>c</mn><mo>+</mo><mn>d</mn><mo>+</mo><mn>e</mn></mrow>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac denomalign</title>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac style="font-size: 300%" denomalign="left">
|
||||
<mrow><mn>a</mn><mo>+</mo><mn>b</mn><mo>+</mo><mn>c</mn><mo>+</mo><mn>d</mn><mo>+</mo><mn>e</mn></mrow>
|
||||
<mi>x</mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>mfrac denomalign</title>
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
document.getElementById("testMfrac").setAttribute("denomalign","left");
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate",doTest, false);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac id="testMfrac" style="font-size: 300%" denomalign="right">
|
||||
<mrow><mn>a</mn><mo>+</mo><mn>b</mn><mo>+</mo><mn>c</mn><mo>+</mo><mn>d</mn><mo>+</mo><mn>e</mn></mrow>
|
||||
<mi>x</mi>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>mfrac childnode update</title>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac style="font-size: 300%">
|
||||
<mfrac>
|
||||
<mi> a </mi>
|
||||
<mi> b </mi>
|
||||
</mfrac>
|
||||
<mfrac>
|
||||
<mi> c </mi>
|
||||
<mi> d </mi>
|
||||
</mfrac>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>mfrac childnode update</title>
|
||||
<script type="text/javascript">
|
||||
function doTest() {
|
||||
var x = document.getElementById("innerMfrac");
|
||||
var y = document.createElementNS("http://www.w3.org/1998/Math/MathML","mi");
|
||||
var z = document.createElementNS("http://www.w3.org/1998/Math/MathML","mi");
|
||||
y.innerHTML = "c";
|
||||
z.innerHTML = "d";
|
||||
x.appendChild(y);
|
||||
x.appendChild(z);
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate",doTest, false);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<mfrac style="font-size: 300%">
|
||||
<mfrac>
|
||||
<mi> a </mi>
|
||||
<mi> b </mi>
|
||||
</mfrac>
|
||||
<mfrac id="innerMfrac">
|
||||
</mfrac>
|
||||
</mfrac>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
|
@ -273,3 +273,27 @@ fuzzy-if(OSX,1,100) == menclose-5-circle.html menclose-5-circle-ref.html
|
|||
!= op-dict-11.html op-dict-11-ref.html
|
||||
== op-dict-12.html op-dict-12-ref.html
|
||||
!= op-dict-13.html op-dict-13-ref.html
|
||||
== mfrac-A-1.html mfrac-A-1-ref.html
|
||||
== mfrac-A-2.html mfrac-A-2-ref.html
|
||||
== mfrac-A-3.html mfrac-A-3-ref.html
|
||||
== mfrac-A-4.html mfrac-A-4-ref.html
|
||||
== mfrac-A-5.html mfrac-A-5-ref.html
|
||||
== mfrac-A-6.html mfrac-A-6-ref.html
|
||||
== mfrac-A-7.html mfrac-A-7-ref.html
|
||||
== mfrac-A-8.html mfrac-A-8-ref.html
|
||||
== mfrac-B-1.html mfrac-B-1-ref.html
|
||||
== mfrac-B-2.html mfrac-B-2-3-ref.html
|
||||
== mfrac-B-3.html mfrac-B-2-3-ref.html
|
||||
== mfrac-B-4.html mfrac-B-4-5-ref.html
|
||||
== mfrac-B-5.html mfrac-B-4-5-ref.html
|
||||
== mfrac-B-6.html mfrac-B-6-7-ref.html
|
||||
== mfrac-B-7.html mfrac-B-6-7-ref.html
|
||||
fuzzy-if(OSX,1,100) == mfrac-C-1.html mfrac-C-1-ref.html
|
||||
== mfrac-C-2.html mfrac-C-2-ref.html
|
||||
== mfrac-C-3.html mfrac-C-3-ref.html
|
||||
== mfrac-C-4.html mfrac-C-4-ref.html
|
||||
fuzzy-if(OSX,1,100) == mfrac-D-1.html mfrac-D-1-ref.html
|
||||
== mfrac-D-2.html mfrac-D-2-ref.html
|
||||
== mfrac-D-3.html mfrac-D-3-ref.html
|
||||
== mfrac-D-4.html mfrac-D-4-ref.html
|
||||
== mfrac-E-1.html mfrac-E-1-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче