diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/mathml/355548-3.xml | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/mathml/355548-3.xml')
-rw-r--r-- | layout/reftests/mathml/355548-3.xml | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/layout/reftests/mathml/355548-3.xml b/layout/reftests/mathml/355548-3.xml new file mode 100644 index 0000000000..e76e418517 --- /dev/null +++ b/layout/reftests/mathml/355548-3.xml @@ -0,0 +1,60 @@ +<html xmlns="http://www.w3.org/1999/xhtml" xmlns:m="http://www.w3.org/1998/Math/MathML"> +<body> +<!-- Test attribute parsing --> +<p><m:math><m:mstyle scriptlevel="0" scriptsizemultiplier="0.5" scriptminsize="18px" style="font-size:48px;"> + <!-- MathML number attributes cannot start with '+' --> + <m:mstyle scriptsizemultiplier="+1"><m:mstyle scriptlevel="+1"><m:mi>Id</m:mi></m:mstyle></m:mstyle> +</m:mstyle></m:math></p> + +<p><m:math><m:mstyle scriptlevel="0" scriptsizemultiplier="0.5" scriptminsize="18px" style="font-size:48px;"> + <m:mstyle mathsize="30px"><m:mi>Id</m:mi></m:mstyle> + <!-- CSS takes priority over mathsize --> + <m:mstyle mathsize="24px" style="font-size:30px;"><m:mi>Id</m:mi></m:mstyle> +</m:mstyle></m:math></p> + +<p><m:math><m:mstyle scriptlevel="0" scriptsizemultiplier="0.5" scriptminsize="18px" style="font-size:48px;"> + <m:mstyle mathsize="small"><m:mi>Id</m:mi></m:mstyle> + <m:mstyle mathsize="normal"><m:mi>Id</m:mi></m:mstyle> + <m:mstyle mathsize="big"><m:mi>Id</m:mi></m:mstyle> +</m:mstyle></m:math></p> + +<p><m:math><m:mstyle scriptlevel="0" scriptsizemultiplier="0.5" scriptminsize="18px" style="font-size:48px;"> + <m:mstyle mathbackground="green"><m:mi>Id</m:mi></m:mstyle> + <!-- CSS takes priority over mathbackground --> + <m:mstyle mathbackground="red" style="background:green;"><m:mi>Id</m:mi></m:mstyle> +</m:mstyle></m:math></p> + +<p><m:math><m:mstyle scriptlevel="0" scriptsizemultiplier="0.5" scriptminsize="18px" style="font-size:48px;"> + <m:mstyle mathbackground="#0F0"><m:mi>Id</m:mi></m:mstyle> + <m:mstyle mathbackground="#00FF00"><m:mi>Id</m:mi></m:mstyle> +</m:mstyle></m:math></p> + +<p><m:math><m:mstyle scriptlevel="0" scriptsizemultiplier="0.5" scriptminsize="18px" style="font-size:48px;"> + <m:mstyle mathcolor="green"><m:mi>Id</m:mi></m:mstyle> + <!-- CSS takes priority over mathcolor --> + <m:mstyle mathcolor="red" style="color:green;"><m:mi>Id</m:mi></m:mstyle> +</m:mstyle></m:math></p> + +<p><m:math><m:mstyle scriptlevel="0" scriptsizemultiplier="0.5" scriptminsize="18px" style="font-size:48px;"> + <!-- test invalid values for MathML length attributes --> + <m:mstyle mathsize="20 px"><m:mi>Id</m:mi></m:mstyle> + <m:mstyle mathsize=".px"><m:mi>Id</m:mi></m:mstyle> + <m:mstyle mathsize="..px"><m:mi>Id</m:mi></m:mstyle> + <m:mstyle mathsize="+20px"><m:mi>Id</m:mi></m:mstyle> + <m:mstyle mathsize="0.5"><m:mi>Id</m:mi></m:mstyle> + <m:mstyle mathsize="24.px"><m:mi>Id</m:mi></m:mstyle> +</m:mstyle></m:math></p> + +<p><m:math><m:mstyle scriptlevel="0" scriptsizemultiplier="0.5" scriptminsize="18px" style="font-size:48px;"> + <!-- test valid values for MathML length attributes --> + <m:mstyle mathsize=" 24px "><m:mi>Id</m:mi></m:mstyle> + <m:mstyle mathsize="24.0px"><m:mi>Id</m:mi></m:mstyle> + <m:mstyle mathsize="50%"><m:mi>Id</m:mi></m:mstyle> + <m:mstyle mathsize=".0px"><m:mi>Id</m:mi></m:mstyle> + <m:mstyle mathsize="-0px"><m:mi>Id</m:mi></m:mstyle> + <m:mstyle mathsize="0"><m:mi>Id</m:mi></m:mstyle> + <m:mstyle mathsize="20PX"><m:mi>Id</m:mi></m:mstyle> +</m:mstyle></m:math></p> + +</body> +</html> |