Blame result/SVG/mathswitch.xml

Packit Service a31ea6
Packit Service a31ea6
<svg xmlns="http://www.w3.org/Graphics/SVG/svg-19990412.dtd" width="4in" height="3in">
Packit Service a31ea6
  <desc>This example uses the switch element to provide a 
Packit Service a31ea6
  fallback graphical representation of an equation, if 
Packit Service a31ea6
  MathML is not supported.
Packit Service a31ea6
  </desc>
Packit Service a31ea6
Packit Service a31ea6
       whose testing attributes evaluate to true.-->
Packit Service a31ea6
  <switch>
Packit Service a31ea6
Packit Service a31ea6
         evaluates to true (i.e., the user agent supports MathML
Packit Service a31ea6
         embedded within SVG). -->
Packit Service a31ea6
    <foreignobject system-required="http://www.w3.org/TR/REC-MathML-19980407" width="100" height="50">
Packit Service a31ea6
Packit Service a31ea6
    </foreignobject>
Packit Service a31ea6
Packit Service a31ea6
         Note that there are no testing attributes on the <g> element.
Packit Service a31ea6
         If no testing attributes are provided, it is as if there
Packit Service a31ea6
         were testing attributes and they evaluated to true.-->
Packit Service a31ea6
    <g>
Packit Service a31ea6
Packit Service a31ea6
      <rect style="fill: red"/>
Packit Service a31ea6
      <text>Formula goes here</text>
Packit Service a31ea6
    </g>
Packit Service a31ea6
  </switch>
Packit Service a31ea6
</svg>