diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
commit | 2aa4a82499d4becd2284cdb482213d541b8804dd (patch) | |
tree | b80bf8bf13c3766139fbacc530efd0dd9d54394c /layout/reftests/mathml/mstyle-1.xhtml | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/mathml/mstyle-1.xhtml')
-rw-r--r-- | layout/reftests/mathml/mstyle-1.xhtml | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/layout/reftests/mathml/mstyle-1.xhtml b/layout/reftests/mathml/mstyle-1.xhtml new file mode 100644 index 0000000000..692bcc5e0d --- /dev/null +++ b/layout/reftests/mathml/mstyle-1.xhtml @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="us-ascii"?> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta http-equiv="content-type" + content="application/xhtml+xml; charset=us-ascii" /> + <title>Test mstyle</title> + <style type="text/css"> + table { width: 100%; border-collapse: collapse; } + td { border: solid black 1px; } + </style> +</head> + +<body> + +<table> + <tbody> + <tr> + <td>mfenced: open, close, separators </td> + <td><math xmlns="http://www.w3.org/1998/Math/MathML"> + <mstyle open="[" close="]" separators=";"> + <mfenced> + <mn>1</mn> + <mn>2</mn> + </mfenced> + </mstyle> + </math></td> + </tr> + <tr> + <td>menclose: notation</td> + <td><math xmlns="http://www.w3.org/1998/Math/MathML"> + <mstyle notation="box"> + <menclose> + <mtext>menclose</mtext> + </menclose> + </mstyle> + </math></td> + </tr> + <tr> + <td>mfrac: bevelled, linethickness</td> + <td><math xmlns="http://www.w3.org/1998/Math/MathML"> + <mstyle bevelled="true" linethickness="10px"> + <mfrac> + <mi>a</mi> + <mi>b</mi> + </mfrac> + </mstyle> + </math></td> + </tr> + <tr> + <td>mfrac: numalign</td> + <td><math xmlns="http://www.w3.org/1998/Math/MathML"> + <mstyle numalign="right"> + <mfrac> + <mn>1</mn> + <mn>234</mn> + </mfrac> + </mstyle> + </math></td> + </tr> + <tr> + <td>mfrac: denomalign</td> + <td><math xmlns="http://www.w3.org/1998/Math/MathML"> + <mstyle denomalign="right"> + <mfrac> + <mn>123</mn> + <mn>4</mn> + </mfrac> + </mstyle> + </math></td> + </tr> + <tr> + <td>mmultiscripts: subscriptshift, superscriptshift </td> + <td><math xmlns="http://www.w3.org/1998/Math/MathML"> + <mstyle subscriptshift="1em" superscriptshift="1em"> + <mmultiscripts> + <mi>a</mi> + <mi>b</mi> + <mi>c</mi> + <mprescripts/> + <mi>e</mi> + <mi>f</mi> + </mmultiscripts> + </mstyle> + </math></td> + </tr> + <tr> + <td>msubsup: subscriptshift, superscriptshift</td> + <td><math xmlns="http://www.w3.org/1998/Math/MathML"> + <mstyle subscriptshift="1em" superscriptshift="1em"> + <msubsup> + <mi>a</mi> + <mi>b</mi> + <mi>c</mi> + </msubsup> + </mstyle> + </math></td> + </tr> + <tr> + <td>msub: subscriptshift</td> + <td><math xmlns="http://www.w3.org/1998/Math/MathML"> + <mstyle subscriptshift="1em"> + <msub> + <mi>a</mi> + <mi>b</mi> + </msub> + </mstyle> + </math></td> + </tr> + <tr> + <td>msup: superscriptshift</td> + <td><math xmlns="http://www.w3.org/1998/Math/MathML"> + <mstyle superscriptshift="1em"> + <msup> + <mi>a</mi> + <mi>b</mi> + </msup> + </mstyle> + </math></td> + </tr> + </tbody> +</table> +</body> +</html> |