<?xml version='1.0'?>
<html xmlns='http://www.w3.org/1999/xhtml'
      xmlns:math='http://www.w3.org/1998/Math/MathML'
>
<head>
<title>Mozilla Bug Report For Negative Width in Mspace Command</title>
<meta name="description" id="description" content="Mozilla Bug Report For Negative Width in Mspace Command"/>
<link rel='icon' type='image/png' href='_favicon.png'/>
<meta name="keywords" id="keywords" content=" negative width in mspace "/>
<style type='text/css'>
body { color : black }
body { background-color : white }
A:link { color : blue }
A:visited { color : purple }
A:active { color : purple }
</style>
<script type='text/javascript' language='JavaScript' src='_negativespace_xml.js'>
</script>
</head>
<body>
<table><tr>
<td>
<a href="../home.htm" target="_top"><img border="0" src="_image.gif"/></a>
</td>
<td><a href="firefox.xml" target="_top">Prev</a>
</td><td><a href="explorer.xml" target="_top">Next</a>
</td><td>
<select onchange='choose_across0(this)'>
<option>Index-&gt;</option>
<option>contents</option>
<option>reference</option>
<option>index</option>
<option>search</option>
<option>external</option>
</select>
</td>
<td>
<select onchange='choose_up0(this)'>
<option>Up-&gt;</option>
<option>overview</option>
<option>browser</option>
<option>Firefox</option>
<option>NegativeSpace</option>
</select>
</td>
<td>
<select onchange='choose_down3(this)'>
<option>overview-&gt;</option>
<option>License</option>
<option>why</option>
<option>Install</option>
<option>get_started</option>
<option>running</option>
<option>files</option>
<option>titles+headings</option>
<option>cross</option>
<option>format</option>
<option>spellchecking</option>
<option>latex</option>
<option>other</option>
<option>browser</option>
<option>glossary</option>
<option>whatsNew</option>
</select>
</td>
<td>
<select onchange='choose_down2(this)'>
<option>browser-&gt;</option>
<option>Firefox</option>
<option>Explorer</option>
</select>
</td>
<td>
<select onchange='choose_down1(this)'>
<option>Firefox-&gt;</option>
<option>NegativeSpace</option>
</select>
</td>
<td>NegativeSpace</td>
<td>
<select onchange='choose_current0(this)'>
<option>Headings-&gt;</option>
<option>Claim</option>
<option>Reason for Negative Spaces</option>
<option>Examples of Incorrect Display</option>
</select>
</td>
</tr></table><br/>
<center><b><big><big>Mozilla Bug Report For Negative Width in Mspace Command</big></big></b></center>
<a href="negativespace.xml" target="_top"><span style='white-space: nowrap'>Link&#xA0;To&#xA0;XML&#xA0;Version&#xA0;Of&#xA0;This&#xA0;Page</span></a>


<br/>
<br/>
<b><big><a name="Claim" id="Claim">Claim</a></big></b>
<br/>
It appears to me that negative values for <i>number</i> are valid in the
MathML command
<code><font color="blue"><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&lt;mspace&#xA0;width=&quot;</span></font></code><i><span style='white-space: nowrap'>number</span></i><code><font color="blue"><span style='white-space: nowrap'>em&quot;/&gt;<br/>
</span></font></code>commands.
In addition,
it appears to me that Mozilla version 1.2b for MS Windows
is not displaying negative spaces correctly.

<br/>
<br/>
<b><big><a name="Reason for Negative Spaces" id="Reason for Negative Spaces">Reason for Negative Spaces</a></big></b>
<br/>
Here is the reason that it appears so to me.
In Section 3.2.7.2 of
<code><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;</span></code>
	<a href="http://www.w3.org/TR/MathML2/chapter3.html#presm_mspace" target="_top"><span style='white-space: nowrap'>http://www.w3.org/TR/MathML2/chapter3.html#presm_mspace</span></a>

<code><span style='white-space: nowrap'><br/>
</span></code>the value of the attribute <code><font color="blue">width</font></code> is specified as a
<i>number</i> followed by an <i>h-unit</i>.
In Section 2.4.4.1 of
<code><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;</span></code>
	<a href="http://www.w3.org/TR/MathML2/chapter2.html#fund_attval" target="_top"><span style='white-space: nowrap'>http://www.w3.org/TR/MathML2/chapter2.html#fund_attval</span></a>

<code><span style='white-space: nowrap'><br/>
</span></code>a <i>number</i> is defined as
&quot; decimal integer or rational number 
(a string of digits with one decimal point), 
optionally starting with '-' &quot;.

<br/>
<br/>
<b><big><a name="Examples of Incorrect Display" id="Examples of Incorrect Display">Examples of Incorrect Display</a></big></b>
<br/>
A positive space display is demonstrated by 
the following input
<code><font color='blue'><pre style='display:inline'> 
	&lt;mi&gt;x&lt;/mi&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;mspace width=&quot;1em&quot;/&gt;&lt;mi&gt;z&lt;/mi&gt;
</pre></font></code>

which generates the output
<code><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;</span></code> 
<math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><mrow>

		<mi>x</mi><mi>y</mi><mspace width="1em"/><mi>z</mi>
</mrow></math>


<code><span style='white-space: nowrap'><br/>
</span></code>The negative spaces do not display correctly 
as demonstrated by the following input
<code><font color='blue'><pre style='display:inline'> 
	&lt;mi&gt;x&lt;/mi&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;mspace width=&quot;-1em&quot;/&gt;&lt;mi&gt;z&lt;/mi&gt;
</pre></font></code>

which generates the output
<code><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;</span></code> 
<math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><mrow>

		<mi>x</mi><mi>y</mi><mspace width="-1em"/><mi>z</mi>
</mrow></math>


<code><span style='white-space: nowrap'><br/>
</span></code>Finally,
note that a useful negative space example is included in the file
<code><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;</span></code>
<a href="http://www.w3.org/Math/testsuite/testsuite/Presentation/TokenElements/mspace/mspace2.xml" target="_top"><span style='white-space: nowrap'>http://www.w3.org/Math/testsuite/testsuite/Presentation/TokenElements/mspace/mspace2.xml</span></a>



<hr/>Input File: latex/NegativeSpace.omh

</body>
</html>
