diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/mozilla/tests/mathml/fonts/opentype-stretchy-ref.html | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/mozilla/tests/mathml/fonts/opentype-stretchy-ref.html')
-rw-r--r-- | testing/web-platform/mozilla/tests/mathml/fonts/opentype-stretchy-ref.html | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/mathml/fonts/opentype-stretchy-ref.html b/testing/web-platform/mozilla/tests/mathml/fonts/opentype-stretchy-ref.html new file mode 100644 index 0000000000..7de372170d --- /dev/null +++ b/testing/web-platform/mozilla/tests/mathml/fonts/opentype-stretchy-ref.html @@ -0,0 +1,69 @@ +<!DOCTYPE html> +<html> + <head> + <title>Open Type MATH - stretchy operator</title> + <meta charset="utf-8"/> + <style type="text/css"> + @font-face { + font-family: stretchy; + src: url(stretchy.otf); + } + math { + font-family: stretchy; + font-size: 10px; + } + </style> + </head> + <body> + +<!-- +hstretchy = [ + 0x219C, # leftwards wave arrow + 0x219D, # rightwards wave arrow + 0x219E, # leftwards two headed arrow + 0x21A0, # rightwards two headed arrow + 0x21A2 # leftwards arrow with tail +] +vstretchy = [ + 0x219F, # upwards two headed arrow + 0x21A1, # downwards two headed arrow + 0x21A5, # upwards arrow from bar + 0x21A7, # downwards arrow from bar + 0x21A8 # up down arrow with base +] + +hstretchy[0] and vstretchy[0] have all the variants and the components. The others only have one of them. +--> + + <p> + <math> + <mstyle> + <mover><mo stretchy="true">↝</mo><mspace width="1em" height="1px" mathbackground="red"/></mover> + <mover><mo stretchy="true">↞</mo><mspace width="2em" height="1px" mathbackground="red"/></mover> + <mover><mo stretchy="true">↠</mo><mspace width="3em" height="1px" mathbackground="red"/></mover> + <mover><mo stretchy="true">↢</mo><mspace width="15em" height="1px" mathbackground="red"/></mover> + </mstyle> + </math> + </p> + + <p> + <math><mrow><mo symmetric="false" stretchy="true" minsize="1em">↡</mo></mrow></math> + <math><mrow><mo symmetric="false" stretchy="true" minsize="2em">↥</mo></mrow></math> + <math><mrow><mo symmetric="false" stretchy="true" minsize="3em">↧</mo></mrow></math> + <math><mrow><mo symmetric="false" stretchy="true" minsize="15em">↨</mo></mrow></math> + </p> + +<!-- +DisplayOperatorMinHeight = 8em +largeop = [0x2A1B, 0x2A1C] # integral with overbar/underbar +largeop[0] has variants of size 7, 8, 9em +largeop[1] has one variant of size 8em. +--> + <p> + <math displaystyle="true"> + <mrow><mo>⨜</mo></mrow> + </math> + </p> + + </body> +</html> |