Prev Next

Problems Using Firefox To Display OMhelp Output

Format
Purpose
mathvariant
Copy and Paste
Javascript
Background Color
Operator Sizes
Symbols

Format
XHTML + MATHML version of this web page .
HTML version of this web page .

Purpose
The Firefox browser can display both XHTML and MathML commands. Below is a list of cases where Firefox appears to have problems displaying MathML commands. If you have any feed back, please send e-mail to: bradbell@seanet.com .

mathvariant
The mathvariant='script' option does not work properly in Firefox. To see this select the following link to a www.w3.org test case: mimathvariant14.xml This bug has the effect of displaying the Latex \cal font the same as its default font.

Copy and Paste
The link firefox_copy_paste.xml is to the XHTML commands below. If you select that link, then copy all the text, then paste it anywhere (e.g., notepad in Windows), there will be extra white-space in the pasted text (as compared to the text display in the Firefox browser). For example, there is a blank line between "First line." and "Second line." in the copied text:
 
<?xml version='1.0'?>
<?xml-stylesheet type='text/xsl'?>
<html xmlns='http://www.w3.org/1999/xhtml'>
        <head></head>
        <body>
                First line.<br/>
                Second line.
        </body>
</html>

Javascript
The file FirefoxJavascript.htm contains the HTML commands below. Note that the word Test will appear in the text area.
 
<html>
     <head></head>
     <body>
          The word "Test" should appears in the text area below:
          <br/>
          <form name="search">
               <textarea name="list" rows="1" cols="20" ></textarea>
          </form>
          <script type='text/javascript'>
               document.search.list.value    = "Test";
          </script>
     </body>
</html>
The file FirefoxJavascript.xml which contains the XML commands below. Note that the word Test should, but does not, appear in the text area.
 
<?xml version='1.0'?>
<?xml-stylesheet type='text/xsl' href='pmathml.xsl'?>
<html xmlns='http://www.w3.org/1999/xhtml'>
     <head></head>
     <body>
          The word "Test" should appear in the text area below:
          <br/>
          <form name="search">
               <textarea name="list" rows="1" cols="20" ></textarea>
          </form>
          <script type='text/javascript'>
               document.search.list.value    = "Test";
          </script>
     </body>
</html>

Background Color
The file FirefoxBackground.htm contains the HTML commands below.
 
<html>
     <head></head>
     <body style ='background-color : rgb(210, 210, 210)'>
          The background color around this text is a light shade of gray.
          Note that this color applies to the entire frame.
     </body>
</html>
The file FirefoxBackground.xml contains the XML commands below.
 
<?xml version='1.0'?>
<?xml-stylesheet type='text/xsl' href='pmathml.xsl'?>
<html xmlns='http://www.w3.org/1999/xhtml'>
     <head></head>
     <body style ='background-color : rgb(210, 210, 210)'>
          The background color around this text is a light shade of gray.
          Note that this color only applies to the text.
     </body>
</html>

Operator Sizes
In section 3.2.5.9 of http://www.w3.org/TR/MathML2/chapter3.html#presm.mo it states "The largeop attribute specifies whether the operator should be drawn larger than normal if displaystyle="true" in the current rendering environment. This does not work properly for the &coprod; (code &#x02210;) or &bigvee; (code &#x022C1;) or &bigwedge; (code &#x022C0;) symbols. For example
 
     <mo displaystyle="false" largeop="true">&#x022C1;</mo>
     <mo displaystyle="true" largeop="true">&#x022C1;</mo>
generates the output @[@ \mathml{ } @]@

Symbols
The following symbols do not seem to be displayed correctly:
Latex MathML W3 File W3 Image Firefox
\biguplus <mo>&#x02A04;</mo> 02A.html @(@ \mathml{} @)@

Input File: omh/firefox.omh