Bug 403311 layout/mathml/tests/ : xml pages are not W3C-valid r=karlt

--HG--
extra : rebase_source : 82994603822ca886070d76c9aaadf8ac8676018a
This commit is contained in:
Frédéric WANG 2009-09-16 14:06:39 +12:00
Родитель 90e537dee2
Коммит 8db7318176
6 изменённых файлов: 36 добавлений и 28 удалений

Просмотреть файл

@ -48,7 +48,7 @@
</head>
<body>
<div>
Testing tensor indices &lt;mmultiscripts&gt;:
<!-- {3 \atop k} R {1 \atop i} {2 \atop j} -->
@ -388,8 +388,10 @@ Testing MathML merror, mtext,
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mtext>This is a text in mtext</mtext>
<merror>This is a text in merror</merror>
<merror><mtext>This is a text in merror</mtext></merror>
</math>
</div>
</body>
</html>

Просмотреть файл

@ -39,8 +39,6 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
"http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" [
<!ENTITY mathml "http://www.w3.org/1998/Math/MathML">
<!ENTITY vec "&RightArrow;">
<!ENTITY partial "&PartialD;">
]>
<html xmlns="http://www.w3.org/1999/xhtml">
@ -51,7 +49,7 @@
<body style="background-color: #ffffff">
<h2>Maxwell's Equations</h2>
<p align='center'>
<p style="text-align:center">
<math xmlns='&mathml;'>
<mstyle displaystyle='true'>
<mrow>
@ -67,7 +65,7 @@
<mi>B</mi>
</mstyle>
<mrow></mrow>
<mo stretchy='true'>&vec;</mo>
<mo stretchy='true'>&RightArrow;</mo>
</munderover>
<mo>-</mo>
<mfrac>
@ -76,17 +74,17 @@
</mfrac>
<mfrac>
<mrow>
<mo>&partial;</mo>
<mo>&PartialD;</mo>
<munderover accent='true'>
<mstyle fontweight='bold'>
<mi>E</mi>
</mstyle>
<mrow></mrow>
<mo stretchy='true'>&vec;</mo>
<mo stretchy='true'>&RightArrow;</mo>
</munderover>
</mrow>
<mrow>
<mo>&partial;</mo>
<mo>&PartialD;</mo>
<mi>t</mi>
</mrow>
</mfrac>
@ -109,7 +107,7 @@
<mi>j</mi>
</mstyle>
<mrow></mrow>
<mo stretchy='true'>&vec;</mo>
<mo stretchy='true'>&RightArrow;</mo>
</munderover>
</mrow>
</mtd>
@ -124,7 +122,7 @@
<mi>E</mi>
</mstyle>
<mrow></mrow>
<mo stretchy='true'>&vec;</mo>
<mo stretchy='true'>&RightArrow;</mo>
</munderover>
</mrow>
</mtd>
@ -149,7 +147,7 @@
<mi>E</mi>
</mstyle>
<mrow></mrow>
<mo stretchy='true'>&vec;</mo>
<mo stretchy='true'>&RightArrow;</mo>
</munderover>
<mo>+</mo>
<mfrac>
@ -158,17 +156,17 @@
</mfrac>
<mfrac>
<mrow>
<mo>&partial;</mo>
<mo>&PartialD;</mo>
<munderover accent='true'>
<mstyle fontweight='bold'>
<mi>B</mi>
</mstyle>
<mrow></mrow>
<mo stretchy='true'>&vec;</mo>
<mo stretchy='true'>&RightArrow;</mo>
</munderover>
</mrow>
<mrow>
<mo>&partial;</mo>
<mo>&PartialD;</mo>
<mi>t</mi>
</mrow>
</mfrac>
@ -183,7 +181,7 @@
<mn>0</mn>
</mstyle>
<mrow></mrow>
<mo stretchy='true'>&vec;</mo>
<mo stretchy='true'>&RightArrow;</mo>
</munderover>
</mtd>
</mtr>
@ -197,7 +195,7 @@
<mi>B</mi>
</mstyle>
<mrow></mrow>
<mo stretchy='true'>&vec;</mo>
<mo stretchy='true'>&RightArrow;</mo>
</munderover>
</mrow>
</mtd>
@ -216,7 +214,7 @@
<h2>Einstein's field equations</h2>
<p align='center'>
<p style="text-align:center">
<math xmlns='&mathml;'>
<mstyle displaystyle='true'>
<mrow>

Просмотреть файл

@ -60,15 +60,15 @@
<h2 style="text-align: center; color: blue">
Mixing MathML markups and other markups to get special effects</h2>
<br />
<div>
A fraction with the animated throbber as denominator...
View the source...
<math mode="display" xmlns="http://www.w3.org/1998/Math/MathML">
<mfrac linethickness="3">
<mi>a</mi>
<html:img src="chrome://communicator/skin/brand/throbber-anim.gif" />
<html:img src="chrome://communicator/skin/brand/throbber-anim.gif"
alt="throbber" />
</mfrac>
</math>
@ -179,5 +179,7 @@ And there could be more...
</button>
</div>
</div>
</body>
</html>

Просмотреть файл

@ -48,6 +48,7 @@
</head>
<body>
<div>
Testing stretchy symbols -- view the source...
<math xmlns="http://www.w3.org/1998/Math/MathML">
@ -395,5 +396,7 @@ and elsewhere,
</math>
</div>
</body>
</html>

Просмотреть файл

@ -1,3 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- ***** BEGIN LICENSE BLOCK *****
- Version: MPL 1.1/GPL 2.0/LGPL 2.1

Просмотреть файл

@ -45,7 +45,7 @@
<head>
<title>Various examples of MathML</title>
<style>
<style type="text/css">
maction {
background-color: yellow;
}
@ -64,6 +64,7 @@ maction[actiontype="restyle#zoom"] {
</head>
<body>
<div>
Click to toggle between expressions, and watch the satus line onmouseover/onmouseout:
<br />
@ -246,7 +247,7 @@ Click the expression below to see several definitions of pi:
<mi>i</mi><none/>
</mmultiscripts>
<br />
<mspace linebreak="newline"/>
<!-- {3 \atop k} R {1 \atop i} {2 \atop j} -->
<mmultiscripts>
@ -526,7 +527,7 @@ Click the expression below to see several definitions of pi:
<mtext>This is a text in mtext</mtext>
<merror>This is a text in merror</merror>
<merror><mtext>This is a text in merror</mtext></merror>
<mrow>
<msub>
@ -592,7 +593,7 @@ Click the expression below to see several definitions of pi:
</mrow>
</mrow>
<br />
<mspace linebreak="newline"/>
<mrow>
<msup>
@ -631,9 +632,7 @@ Click the expression below to see several definitions of pi:
<mi>t</mi><mo>+=</mo><mi>dt</mi>
</mrow>
<br />
<mspace linebreak="newline"/>
<mrow>
<mi>x</mi>
@ -1063,5 +1062,7 @@ And this is from the "Thomson scattering theory"
</mrow>
</math>
</div>
</body>
</html>