prev  ( testsuite > Presentation > TokenElements > mo > moAlrspace13  )  next

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:Presentation/TokenElements/mo/moAlrspace13
CVS-ID:
Author:Robert Miner and Jeff Schaefer, Geometry Technologies
Description:This tests the 'lspace' and 'rspace' attributes for <mo>. Ordinarily, these are set by the operator dictionary, and that isn't really tested here (except for +). This test also checks that CSS units are being processed for the attribute values. Units should be ems by default.

Sample Rendering:

Created by: webeq

Your browser's rendering:

x + x + x + x + x + x

Source Code:

<math xmlns="http://www.w3.org/1998/Math/MathML"> 
  <mi>x</mi> 
  <mo>+</mo> 
  <mi>x</mi> 
  <mo lspace="0px">+</mo> 
  <mi>x</mi> 
  <mo rspace="0%">+</mo> 
  <mi>x</mi> 
  <mo lspace="2em" rspace="1em">+</mo> 
  <mi>x</mi> 
  <mo lspace="1cm" rspace="10px">+</mo> 
  <mi>x</mi> 
</math>