diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
commit | 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /layout/reftests/mathml/opentype-stretchy-ref.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip |
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/mathml/opentype-stretchy-ref.html')
-rw-r--r-- | layout/reftests/mathml/opentype-stretchy-ref.html | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/layout/reftests/mathml/opentype-stretchy-ref.html b/layout/reftests/mathml/opentype-stretchy-ref.html new file mode 100644 index 0000000000..9f0f9b43f1 --- /dev/null +++ b/layout/reftests/mathml/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(../fonts/math/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 scriptsizemultiplier="1"> + <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> |