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

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

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

mercurial