Reftests for bug 208309: mirroring of some mo characters in MathML. r=karlt

This commit is contained in:
Frédéric Wang 2011-12-21 17:22:00 -05:00
parent 96e7ae00c7
commit 216d5af9d7
9 changed files with 91 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head><title>Test mirror op</title></head>
<style type="text/css">
mo {
-moz-transform: scaleX(-1.0);
}
</style>
<body>
<p><math><mo>(</mo></math></p>
<p><math><mo>)</mo></math></p>
<p><math><mo>[</mo></math></p>
<p><math><mo>]</mo></math></p>
<p><math><mo>{</mo></math></p>
<p><math><mo>}</mo></math></p>
</body>
</html>

View File

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head><title>Test mirror op</title></head>
<body>
<p><math dir="rtl"><mo>(</mo></math></p>
<p><math dir="rtl"><mo>)</mo></math></p>
<p><math dir="rtl"><mo>[</mo></math></p>
<p><math dir="rtl"><mo>]</mo></math></p>
<p><math dir="rtl"><mo>{</mo></math></p>
<p><math dir="rtl"><mo>}</mo></math></p>
</body>
</html>

View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head><title>Test mirror op</title></head>
<body>
<p><math display="block"><mo>&#x2211;</mo></math></p>
</body>
</html>

View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head><title>Test mirror op</title></head>
<body>
<p><math display="block" dir="rtl"><mo>&#x2211;</mo></math></p>
</body>
</html>

View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head><title>Test mirror op</title></head>
<body>
<p><math display="block"><mo>&#x221A;</mo></math></p>
</body>
</html>

View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head><title>Test mirror op</title></head>
<body>
<p><math display="block" dir="rtl"><mo>&#x221A;</mo></math></p>
</body>
</html>

View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head><title>Test mirror op</title></head>
<body>
<p><math display="block"><mo>&#x222B;</mo></math></p>
</body>
</html>

View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head><title>Test mirror op</title></head>
<body>
<p><math display="block" dir="rtl"><mo>&#x222B;</mo></math></p>
</body>
</html>

View File

@ -6,6 +6,10 @@
fails == dir-6.html dir-6-ref.html
== dir-7.html dir-7-ref.html
fails == dir-8.html dir-8-ref.html
== mirror-op-1.html mirror-op-1-ref.html
!= mirror-op-2.html mirror-op-2-ref.html
!= mirror-op-3.html mirror-op-3-ref.html
!= mirror-op-4.html mirror-op-4-ref.html
== dynamic-mi.xhtml dynamic-mi-ref.xhtml
== mfenced-1.xhtml mfenced-1-ref.xhtml
== mfenced-2a.xhtml mfenced-2-ref.xhtml