layout/reftests/mathml/opentype-stretchy-ref.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 <!doctype html>
     2 <html>
     3   <head>
     4     <title>Open Type MATH - stretchy operator</title>
     5     <meta charset="utf-8"/>
     6     <style type="text/css">
     7       @font-face {
     8         font-family: stretchy;
     9         src: url(../fonts/math/stretchy.otf);
    10       }
    11       math {
    12         font-family: stretchy;
    13         font-size: 10px;
    14       }
    15     </style>
    16   </head>
    17   <body>
    19 <!--
    20 hstretchy = [
    21     0x219C, # leftwards wave arrow
    22     0x219D, # rightwards wave arrow
    23     0x219E, # leftwards two headed arrow
    24     0x21A0, # rightwards two headed arrow
    25     0x21A2  # leftwards arrow with tail
    26 ]
    27 vstretchy = [
    28     0x219F, # upwards two headed arrow
    29     0x21A1, # downwards two headed arrow
    30     0x21A5, # upwards arrow from bar
    31     0x21A7, # downwards arrow from bar
    32     0x21A8  # up down arrow with base
    33 ]
    35 hstretchy[0] and vstretchy[0] have all the variants and the components. The others only have one of them.
    36 -->
    38     <p>
    39       <math>
    40         <mstyle scriptsizemultiplier="1">
    41           <mover><mo stretchy="true">&#x219D;</mo><mspace width="1em" height="1px" mathbackground="red"/></mover>
    42           <mover><mo stretchy="true">&#x219E;</mo><mspace width="2em" height="1px" mathbackground="red"/></mover>
    43           <mover><mo stretchy="true">&#x21A0;</mo><mspace width="3em" height="1px" mathbackground="red"/></mover>
    44           <mover><mo stretchy="true">&#x21A2;</mo><mspace width="15em" height="1px" mathbackground="red"/></mover>
    45         </mstyle>
    46       </math>
    47     </p>
    49     <p>
    50       <math><mrow><mo symmetric="false" stretchy="true" minsize="1em">&#x21A1;</mo></mrow></math>
    51       <math><mrow><mo symmetric="false" stretchy="true" minsize="2em">&#x21A5;</mo></mrow></math>
    52       <math><mrow><mo symmetric="false" stretchy="true" minsize="3em">&#x21A7;</mo></mrow></math>
    53       <math><mrow><mo symmetric="false" stretchy="true" minsize="15em">&#x21A8;</mo></mrow></math>
    54     </p>
    56 <!--
    57 DisplayOperatorMinHeight = 8em
    58 largeop = [0x2A1B, 0x2A1C] # integral with overbar/underbar
    59 largeop[0] has variants of size 7, 8, 9em
    60 largeop[1] has one variant of size 8em.
    61 -->
    62     <p>
    63       <math displaystyle="true">
    64         <mrow><mo>&#x2A1C;</mo></mrow>
    65       </math>
    66     </p>
    68   </body>
    69 </html>

mercurial