W3C home > Mailing lists > Public > www-math@w3.org > August 2006

Whitespace handling following inline math

From: Waters, Michael, Springer US <Mike.Waters@springer.com>
Date: Tue, 29 Aug 2006 17:25:06 -0400
To: www-math@w3.org
Message-id: <F9A426730B49D8489A32B966BBF03D5703C99233@NY-EX001.springer-sbm.com>
Hi All,

Given the XHTML+MathML document below, in the Mozilla-based browsers the space after the inline math is being rendered, whereas in IE6 + MathPlayer2 the space seems to be removed. Is there a way to preserve this significant whitespace after inline math, so it renders in all browsers?

Best regards,
Mike Waters
Springer
Content Management



****
test-math.xml:

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
 "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Minimum Document with MathML</title>
<style type="text/css">
body {font-size: 24pt;}
</style>
</head>
<body>

<p>Some text, an inline math fraction
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
<mfrac>
<mi>c</mi>
<mi>d</mi>
</mfrac>
</math> and some more text.</p>

</body>
</html>
Received on Wednesday, 30 August 2006 15:56:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:59 GMT