Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / mathml / fallback.html
blob1f86ae6adecdcb9b2469584018e94ced6db23511
1 <!doctype html>
2 <html>
3 <head>
4 <title>MathML fallback</title>
5 <meta charset="utf-8"/>
6 <!-- This test passes if the appropriate fallback content is displayed and the display attribute is taken into account. -->
7 </head>
8 <body>
10 <!-- No fallback is given so the formula should render without any formatting other than the one specified by the display attribute. -->
11 <p>
12 <math>
13 <mfrac>
14 <mn>2</mn>
15 <mi>x</mi>
16 </mfrac>
17 </math>
18 <math display="block">
19 <mfrac>
20 <mn>2</mn>
21 <mi>x</mi>
22 </mfrac>
23 </math>
24 </p>
26 <!-- The TeX annotation should be displayed. -->
27 <p>
28 <math>
29 <semantics>
30 <mfrac>
31 <mn>2</mn>
32 <mi>x</mi>
33 </mfrac>
34 <annotation encoding="TeX">\frac{2}{x}</annotation>
35 </semantics>
36 </math>
37 <math display="block">
38 <semantics>
39 <mfrac>
40 <mn>2</mn>
41 <mi>x</mi>
42 </mfrac>
43 <annotation encoding="TeX">\frac{2}{x}</annotation>
44 </semantics>
45 </math>
46 </p>
48 <!-- The MathML-Presentation annotation (containing an image) should be displayed. -->
49 <p>
50 <math>
51 <semantics>
52 <mfrac>
53 <mn>2</mn>
54 <mi>x</mi>
55 </mfrac>
56 <annotation-xml encoding="MathML-Presentation"><mtext><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAsCAIAAADjKa/gAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAB3RJTUUH3QwfDiog8WXOcwAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAG6SURBVEjH7VQ/qHlhGH7P7YoUKZ1i06GODWWQskrKJB1lsVllOYPFJMogKTYrq0VZTpTJyWaUcjgmkZA/fd+5g+W7555z+9l+tzzb873PU++f730pRVHgFXzAi/gDBkmSUqmUzWZzuVw8z59OJ7VDIXA+n1mW7fV6h8Oh3W4DQDwexxiTmm+GwWAAAOl0+kl9Ph8AiKJIar6l5PV6GYZxu91ParfbAUCWZd2USNzvd5qmjUbjdrvVTYlEvV4HgGazqXrXNoiiaDabq9Xqz5CGYbVaOZ3OSqWiKMpsNttsNr8ZjsdjIBBotVpPGolEBEEgBRT5Wx+PRyKRmE6noVAIY4wQEgRBkiSHw6HdpW63qxqrxWJRDY5678M/4JMkFEVpishOvtv6fxoQQjzPezyeYDBYLpdZlo3FYrvdTvfMFItFjuMQQn6/32q11mo1ABiNRro7nc/nZVm+XC4mk4njuPV63e/3yaXTPjPD4RAAOp3Oz5C6hvF4vFgsnoZoNHq73XK5HEJIu4blcgkAhUKBYRiapjHGpVIpm83qHoHr9ZrJZObzeTKZnEwm+/0+HA43Gg2DwfD+3i/hCwlnLMO2QWEsAAAAAElFTkSuQmCC" alt="2/x"/></mtext></annotation-xml>
57 </semantics>
58 </math>
59 <math display="block">
60 <semantics>
61 <mfrac>
62 <mn>2</mn>
63 <mi>x</mi>
64 </mfrac>
65 <annotation-xml encoding="MathML-Presentation"><mtext><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAsCAIAAADjKa/gAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAB3RJTUUH3QwfDiog8WXOcwAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAG6SURBVEjH7VQ/qHlhGH7P7YoUKZ1i06GODWWQskrKJB1lsVllOYPFJMogKTYrq0VZTpTJyWaUcjgmkZA/fd+5g+W7555z+9l+tzzb873PU++f730pRVHgFXzAi/gDBkmSUqmUzWZzuVw8z59OJ7VDIXA+n1mW7fV6h8Oh3W4DQDwexxiTmm+GwWAAAOl0+kl9Ph8AiKJIar6l5PV6GYZxu91ParfbAUCWZd2USNzvd5qmjUbjdrvVTYlEvV4HgGazqXrXNoiiaDabq9Xqz5CGYbVaOZ3OSqWiKMpsNttsNr8ZjsdjIBBotVpPGolEBEEgBRT5Wx+PRyKRmE6noVAIY4wQEgRBkiSHw6HdpW63qxqrxWJRDY5678M/4JMkFEVpishOvtv6fxoQQjzPezyeYDBYLpdZlo3FYrvdTvfMFItFjuMQQn6/32q11mo1ABiNRro7nc/nZVm+XC4mk4njuPV63e/3yaXTPjPD4RAAOp3Oz5C6hvF4vFgsnoZoNHq73XK5HEJIu4blcgkAhUKBYRiapjHGpVIpm83qHoHr9ZrJZObzeTKZnEwm+/0+HA43Gg2DwfD+3i/hCwlnLMO2QWEsAAAAAElFTkSuQmCC" alt="2/x"/></mtext></annotation-xml>
66 </semantics>
67 </math>
68 </p>
70 </body>
71 </html>