diff options
Diffstat (limited to '')
-rw-r--r-- | layout/reftests/mathml/mo-invisibleoperators.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/layout/reftests/mathml/mo-invisibleoperators.html b/layout/reftests/mathml/mo-invisibleoperators.html new file mode 100644 index 0000000000..6937dafc80 --- /dev/null +++ b/layout/reftests/mathml/mo-invisibleoperators.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<html> + <math> + <mrow> + <mn>1</mn> + <mo>⁡<!-- FUNCTION APPLICATION --></mo> + <mn>2</mn> + <mo>⁢<!-- INVISIBLE TIMES --></mo> + <mn>3</mn> + <mo>⁣<!-- INVISIBLE SEPARATOR --></mo> + <mn>4</mn> + <mo>⁤<!-- INVISIBLE PLUS --></mo> + <mn>5</mn> + <!-- Hack. The invisible operators may not belong to the same font as + the numbers, so they may have different heights. The mspace + compensates for this by ensuring the height of the mrow does not + depend on character height --> + <mspace height="2em" width="0.1em"></mspace> + </mrow> + </math> + <p> + <!-- Should be invisible --> + <math> + <mo style="background: red; color: blue;">⁡</mo> + </math> +</html> |