diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:44:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:44:51 +0000 |
commit | 9e3c08db40b8916968b9f30096c7be3f00ce9647 (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /layout/reftests/mathml/ssty-2-ref.html | |
parent | Initial commit. (diff) | |
download | thunderbird-9e3c08db40b8916968b9f30096c7be3f00ce9647.tar.xz thunderbird-9e3c08db40b8916968b9f30096c7be3f00ce9647.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/mathml/ssty-2-ref.html')
-rw-r--r-- | layout/reftests/mathml/ssty-2-ref.html | 275 |
1 files changed, 275 insertions, 0 deletions
diff --git a/layout/reftests/mathml/ssty-2-ref.html b/layout/reftests/mathml/ssty-2-ref.html new file mode 100644 index 0000000000..7e08acd6c8 --- /dev/null +++ b/layout/reftests/mathml/ssty-2-ref.html @@ -0,0 +1,275 @@ +<!DOCTYPE html> +<head> + <!-- See ssty-1-ref.html for an explanation of this font --> + <style type="text/css" media="screen, print"> + @font-face { + font-family: "sstyfont"; + src: url("ssty.woff"); + } + </style> +</head> +<body> + <!-- Test whether the ssty font feature setting is used appropriately for + mroot, mfrac, munderover et al. + Assumes kMathMLDefaultScriptSizeMultiplier is 0.71--> + <math> + <mstyle style="font-family: 'sstyfont';"> + <mroot> + <mo>D</mo> + <mo>C</mo> + </mroot> + + <mfrac> + <mo>B</mo> + <mo>B</mo> + </mfrac> + + <mfrac> + <mfrac> + <mo>C</mo> + <mo>C</mo> + </mfrac> + <mfrac> + <mo>C</mo> + <mo>C</mo> + </mfrac> + </mfrac> + + <mfrac> + <mroot> + <mo>B</mo> + <mo>C</mo> + </mroot> + <mo>B</mo> + </mfrac> + + <mover> + <mo>D</mo> + <mover> + <mo>B</mo> + <mo>C</mo> + </mover> + </mover> + + <munder> + <mo>D</mo> + <munder> + <mo>B</mo> + <mo>C</mo> + </munder> + </munder> + + <munderover> + <mo>D</mo> + <munderover> + <mo>B</mo> + <mo>C</mo> + <mo>C</mo> + </munderover> + <munderover> + <mo>B</mo> + <mo>C</mo> + <mo>C</mo> + </munderover> + </munderover> + + </mstyle> + </math> + + <p> + <!-- ssty font feature not set on mfrac et al when displaystyle is + set (still allowed on mroot, mover et al.)--> + <math> + <mstyle style="font-family: 'sstyfont';" displaystyle="true"> + <mroot> + <mo>D</mo> + <mo>C</mo> + </mroot> + + <mfrac> + <mo>D</mo> + <mo>D</mo> + </mfrac> + + <mfrac> + <mfrac> + <!-- ssty gets set as script level incremented because displaystyle + is now false --> + <mo>B</mo> + <mo>B</mo> + </mfrac> + <mfrac> + <mo>B</mo> + <mo>B</mo> + </mfrac> + </mfrac> + + <mfrac> + <mroot> + <mo>D</mo> + <mo>C</mo> + </mroot> + <mo>D</mo> + </mfrac> + + <mover> + <mo>D</mo> + <mover> + <mo>B</mo> + <mo>C</mo> + </mover> + </mover> + + <munder> + <mo>D</mo> + <munder> + <mo>B</mo> + <mo>C</mo> + </munder> + </munder> + + <munderover> + <mo>D</mo> + <munderover> + <mo>B</mo> + <mo>C</mo> + <mo>C</mo> + </munderover> + <munderover> + <mo>B</mo> + <mo>C</mo> + <mo>C</mo> + </munderover> + </munderover> + </mstyle> + </math> + + <p> + + <math> + <!-- scriptlevel is not incremented when accent for overframes and + accentunder for underframes are true, so there shouldn't be a + change in the ssty value --> + <mstyle style="font-family: 'sstyfont';"> + <mover accent="true"> + <mo>D</mo> + <mover accent="true"> + <mo>D</mo> + <mo>D</mo> + </mover> + </mover> + + <munder accentunder="true"> + <mo>D</mo> + <munder accentunder="true"> + <mo>D</mo> + <mo>D</mo> + </munder> + </munder> + + <munderover accentunder="true" accent="true"> + <mo>D</mo> + <munderover accentunder="true" accent="true"> + <mo>D</mo> + <mo>D</mo> + <mo>D</mo> + </munderover> + <munderover accentunder="true" accent="true"> + <mo>D</mo> + <mo>D</mo> + <mo>D</mo> + </munderover> + </munderover> + + <mover accent="true"> + <mo>D</mo> + <mover accent="false"> + <mo>D</mo> + <mo>B</mo> + </mover> + </mover> + + <munder accentunder="true"> + <mo>D</mo> + <munder accentunder="false"> + <mo>D</mo> + <mo>B</mo> + </munder> + </munder> + + <munderover accentunder="true" accent="true"> + <mo>D</mo> + <munderover accentunder="false" accent="false"> + <mo>D</mo> + <mo>B</mo> + <mo>B</mo> + </munderover> + <munderover accentunder="false" accent="false"> + <mo>D</mo> + <mo>B</mo> + <mo>B</mo> + </munderover> + </munderover> + + <mover accentunder="false" accent="false"> + <mo>D</mo> + <mover accentunder="true" accent="true"> + <mo>B</mo> + <mo>B</mo> + </mover> + </mover> + + <munder accentunder="false" accent="false"> + <mo>D</mo> + <munder accentunder="true" accent="true"> + <mo>B</mo> + <mo>B</mo> + </munder> + </munder> + + <munderover accentunder="false" accent="false"> + <mo>D</mo> + <munderover accentunder="true" accent="true"> + <mo>B</mo> + <mo>B</mo> + <mo>B</mo> + </munderover> + <munderover accentunder="true" accent="true"> + <mo>B</mo> + <mo>B</mo> + <mo>B</mo> + </munderover> + </munderover> + + <munderover accentunder="false" accent="true"> + <mo>D</mo> + <munderover accentunder="false" accent="true"> + <mo>B</mo> + <mo>C</mo> + <mo>B</mo> + </munderover> + <munderover accentunder="false" accent="true"> + <mo>D</mo> + <mo>B</mo> + <mo>D</mo> + </munderover> + </munderover> + + <munderover accentunder="true" accent="false"> + <mo>D</mo> + <munderover accentunder="true" accent="false"> + <mo>D</mo> + <mo>D</mo> + <mo>B</mo> + </munderover> + <munderover accentunder="true" accent="false"> + <mo>B</mo> + <mo>B</mo> + <mo>C</mo> + </munderover> + </munderover> + + </mstyle> + </math> + +</body>
\ No newline at end of file |