Bug 553918 - Add more reftests for mfenced r=karlt

--HG--
extra : rebase_source : 5a8b1df6fbccc4216870fb433a436885a8101c35
This commit is contained in:
Florian Scholz 2011-07-11 16:11:31 +12:00
parent 2d8057d437
commit 6a242a47fa
11 changed files with 206 additions and 0 deletions

View File

@ -0,0 +1,29 @@
<!DOCTYPE HTML>
<html>
<body>
<!-- Stretchy fences -->
<math>
<mrow>
<mo form="prefix" fence="true" stretchy="true">(</mo>
<mtable>
<mtr>
<mtd><mi>a</mi></mtd>
<mtd><mi>b</mi></mtd>
</mtr>
<mtr>
<mtd><mi>c</mi></mtd>
<mtd><mi>d</mi></mtd>
</mtr>
</mtable>
<mo form="postfix" fence="true" stretchy="true">)</mo>
</mrow>
</math>
</body>
</html>

View File

@ -0,0 +1,23 @@
<!DOCTYPE HTML>
<html>
<body>
<!-- Stretchy fences -->
<math>
<mfenced>
<mtable>
<mtr>
<mtd><mi>a</mi></mtd>
<mtd><mi>b</mi></mtd>
</mtr>
<mtr>
<mtd><mi>c</mi></mtd>
<mtd><mi>d</mi></mtd>
</mtr>
</mtable>
</mfenced>
</math>
</body>
</html>

View File

@ -0,0 +1,28 @@
<!DOCTYPE HTML>
<html>
<body>
<!-- Too many separators: Excess is ignored -->
<math>
<mfenced separators=";;;;">
<mi>a</mi>
<mi>b</mi>
<mi>c</mi>
<mi>d</mi>
<mi>e</mi>
</mfenced>
</math>
<!-- Too few separators: Last separator is repeated -->
<math>
<mfenced separators=";;,,">
<mi>a</mi>
<mi>b</mi>
<mi>c</mi>
<mi>d</mi>
<mi>e</mi>
</mfenced>
</math>
</body>
</html>

View File

@ -0,0 +1,28 @@
<!DOCTYPE HTML>
<html>
<body>
<!-- Too many separators: Excess is ignored -->
<math>
<mfenced separators=";;;;,,,,">
<mi>a</mi>
<mi>b</mi>
<mi>c</mi>
<mi>d</mi>
<mi>e</mi>
</mfenced>
</math>
<!-- Too few separators: Last separator is repeated -->
<math>
<mfenced separators=";;,">
<mi>a</mi>
<mi>b</mi>
<mi>c</mi>
<mi>d</mi>
<mi>e</mi>
</mfenced>
</math>
</body>
</html>

View File

@ -0,0 +1,17 @@
<!DOCTYPE HTML>
<html>
<body>
<!-- Default values for open, close, separators -->
<math>
<mfenced open="(" close=")" separators=",">
<mi>a</mi>
<mi>b</mi>
<mi>c</mi>
<mi>d</mi>
<mi>e</mi>
</mfenced>
</math>
</body>
</html>

View File

@ -0,0 +1,17 @@
<!DOCTYPE HTML>
<html>
<body>
<!-- Default values for open, close, separators -->
<math>
<mfenced>
<mi>a</mi>
<mi>b</mi>
<mi>c</mi>
<mi>d</mi>
<mi>e</mi>
</mfenced>
</math>
</body>
</html>

View File

@ -0,0 +1,16 @@
<!DOCTYPE HTML>
<html>
<body>
<!-- Empty separators -->
<math>
<mfenced>
<mi>a</mi>
<mi>b</mi>
<mi>c</mi>
</mfenced>
</math>
</body>
</html>

View File

@ -0,0 +1,16 @@
<!DOCTYPE HTML>
<html>
<body>
<!-- Empty separators -->
<math>
<mfenced separators="">
<mi>a</mi>
<mi>b</mi>
<mi>c</mi>
</mfenced>
</math>
</body>
</html>

View File

@ -0,0 +1,14 @@
<!DOCTYPE HTML>
<html>
<body>
<!-- No arguments -->
<math>
<mfenced>
<mspace />
</mfenced>
</math>
</body>
</html>

View File

@ -0,0 +1,13 @@
<!DOCTYPE HTML>
<html>
<body>
<!-- No arguments -->
<math>
<mfenced>
</mfenced>
</math>
</body>
</html>

View File

@ -12,6 +12,11 @@
== mfenced-5b.xhtml mfenced-5-ref.xhtml == mfenced-5b.xhtml mfenced-5-ref.xhtml
== mfenced-5c.xhtml mfenced-5-ref.xhtml == mfenced-5c.xhtml mfenced-5-ref.xhtml
== mfenced-5d.xhtml mfenced-5-ref.xhtml == mfenced-5d.xhtml mfenced-5-ref.xhtml
== mfenced-6.html mfenced-6-ref.html
== mfenced-7.html mfenced-7-ref.html
!= mfenced-8.html mfenced-8-ref.html
== mfenced-9.html mfenced-9-ref.html
fails-if(winWidget) == mfenced-10.html mfenced-10-ref.html
== mi-mathvariant-1.xhtml mi-mathvariant-1-ref.xhtml == mi-mathvariant-1.xhtml mi-mathvariant-1-ref.xhtml
== mi-mathvariant-2.xhtml mi-mathvariant-2-ref.xhtml == mi-mathvariant-2.xhtml mi-mathvariant-2-ref.xhtml
!= non-spacing-accent-1.xhtml non-spacing-accent-1-ref.xhtml != non-spacing-accent-1.xhtml non-spacing-accent-1-ref.xhtml