Update the DOCTYPE in the examples - not part of build

This commit is contained in:
rbs%maths.uq.edu.au 2002-08-09 01:05:00 +00:00
Родитель 3b73ee86f9
Коммит 8b78342f34
6 изменённых файлов: 86 добавлений и 26 удалений

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

@ -1,5 +1,10 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "mathml.dtd"> <!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">
]>
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<!-- <!--
* The contents of this file are subject to the Mozilla Public * The contents of this file are subject to the Mozilla Public

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

@ -1,8 +1,9 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "mathml.dtd" <!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 vec "&RightArrow;"> <!ENTITY mathml "http://www.w3.org/1998/Math/MathML">
<!ENTITY partial "&PartialD;"> <!ENTITY vec "&RightArrow;">
<!ENTITY partial "&PartialD;">
]> ]>
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<!-- <!--

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

@ -1,5 +1,10 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "mathml.dtd"> <!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">
]>
<html xmlns="http://www.w3.org/1999/xhtml" <html xmlns="http://www.w3.org/1999/xhtml"
xmlns:html="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:math="http://www.w3.org/1998/Math/MathML"
@ -31,7 +36,11 @@
<title>Mixing MathML with other markup</title> <title>Mixing MathML with other markup</title>
</head> </head>
<body style="font-size: 18pt; background-color: gold; background-image: url(resource:/res/samples/raptor.jpg); background-repeat: no-repeat; background-attachment: fixed;"> <body style="font-size: 18pt;
background-color: gold;
background-image: url(resource:/res/samples/raptor.jpg);
background-repeat: no-repeat;
background-attachment: fixed;">
<h2 style="text-align: center; color: blue"> <h2 style="text-align: center; color: blue">
Mixing MathML markups and other markups to get special effects</h2> Mixing MathML markups and other markups to get special effects</h2>
@ -44,30 +53,44 @@ View the source...
<math mode="display" xmlns="http://www.w3.org/1998/Math/MathML"> <math mode="display" xmlns="http://www.w3.org/1998/Math/MathML">
<mfrac linethickness="3"> <mfrac linethickness="3">
<mi>a</mi> <mi>a</mi>
<html:img src="resource:/chrome/skins/modern/global/skin/animthrob.gif" /> <html:img src="chrome://communicator/skin/brand/throbber-anim.gif" />
</mfrac> </mfrac>
</math> </math>
Fill the gaps in this matrix with input fields
<math mode="display" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mo>[</mo>
<mtable>
<mtr>
<mtd><mi>a</mi></mtd>
<mtd><html:input value="?" size="1"/></mtd>
</mtr>
<mtr>
<mtd><html:input value="?" size="1"/></mtd>
<mtd><mi>d</mi></mtd>
</mtr>
</mtable>
<mo>]</mo>
</mrow>
</math>
<br /> <br />
See the difference between &lt;mi&gt; an &lt;html:i&gt; See the difference of rendering between <br />
(which doesn't understand the scriptlevel) :
<math mode="display" xmlns="http://www.w3.org/1998/Math/MathML"> <math xmlns="http://www.w3.org/1998/Math/MathML">
<mfrac> <msup>
<mi>a</mi> <mi fontstyle="italic">jif</mi>
<mi>a</mi> <mi fontstyle="italic">jif</mi>
</mfrac> </msup>
</math> -- italic MathML &lt;msup&gt; and
&nbsp; <br />
<mfrac> <span><i>jif</i><sup><i>jif</i></sup></span> -- italic HTML &lt;sup&gt;
<html:i>a</html:i>
<html:i>a</html:i>
</mfrac>
</math>
<br />
<br /> <br />
And there could be more... And there could be more...
@ -75,7 +98,7 @@ And there could be more...
<div style="text-align: center"> <div style="text-align: center">
<button style="background-color:rgb(192,192,192)"> <button style="background-color:rgb(192,192,192)">
<span style="color: brown;"> <span style="color: brown;">
For example, a MathML continued fraction inside a HTML button<br /> For example, click this MathML continued fraction inside a HTML button<br />
</span> </span>
<math xmlns="&mathml;"> <math xmlns="&mathml;">
<mrow> <mrow>

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

@ -1,5 +1,10 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "mathml.dtd"> <!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">
]>
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<!-- <!--
* The contents of this file are subject to the Mozilla Public * The contents of this file are subject to the Mozilla Public

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

@ -1,5 +1,10 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "mathml.dtd"> <!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">
]>
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<!-- <!--
* The contents of this file are subject to the Mozilla Public * The contents of this file are subject to the Mozilla Public

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

@ -1,5 +1,10 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "mathml.dtd"> <!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">
]>
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<!-- <!--
* The contents of this file are subject to the Mozilla Public * The contents of this file are subject to the Mozilla Public
@ -24,7 +29,23 @@
--> -->
<head> <head>
<title>Various examples of MathML</title> <title>Various examples of MathML</title>
<style>
maction {
background-color: yellow;
}
maction:hover {
-moz-outline: 1px dotted black;
/* border: 1px solid black; */
}
maction[actiontype="restyle#background"] {
background-color: #3C6;
border: 1px dotted red;
}
maction[actiontype="restyle#zoom"] {
font-size: 40pt;
}
</style>
</head> </head>
<body> <body>