Skip to content

inferred mrow

Created by: aslakr

Given MathML like this:

<math>
  <msqrt>
    <mi>x</mi>
    <mo>&minus;</mo>
    <mn>2</mn>
  </msqrt>
</math>

and a CSS like

mrow {background-color: rgba(255, 0, 0, 0.25);}

how should it look like?

inferred mrow

Meaning, should the DOM have the inferred mrow-s?

<math>
  <mrow>
    <msqrt>
      <mrow>
        <mi>x</mi>
        <mo>&minus;</mo>
        <mn>2</mn>
      </mrow>
    </msqrt>
  </mrow>
</math>