Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Side by Side Diff: LayoutTests/mathml/fallback.html

Issue 138383003: Display MathML fallback content when it is specified and take into account inline/display modes for… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update comments in mathml.css Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/mathml/fallback-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 t he display attribute is taken into account. -->
7 </head>
8 <body>
9
10 <!-- No fallback is given so the formula should render without any formattin g 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>
25
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>
47
48 <!-- The MathML-Presentation annotation (containing an image) should be disp layed. -->
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:i mage/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAsCAIAAADjKa/gAAAACXBIWXMAAA7EAAAO xAGVKw4bAAAAB3RJTUUH3QwfDiog8WXOcwAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeB DhcAAAG6SURBVEjH7VQ/qHlhGH7P7YoUKZ1i06GODWWQskrKJB1lsVllOYPFJMogKTYrq0VZTpTJyWaU cjgmkZA/fd+5g+W7555z+9l+tzzb873PU++f730pRVHgFXzAi/gDBkmSUqmUzWZzuVw8z59OJ7VDIXA+ n1mW7fV6h8Oh3W4DQDwexxiTmm+GwWAAAOl0+kl9Ph8AiKJIar6l5PV6GYZxu91ParfbAUCWZd2USNzv d5qmjUbjdrvVTYlEvV4HgGazqXrXNoiiaDabq9Xqz5CGYbVaOZ3OSqWiKMpsNttsNr8ZjsdjIBBotVpP GolEBEEgBRT5Wx+PRyKRmE6noVAIY4wQEgRBkiSHw6HdpW63qxqrxWJRDY5678M/4JMkFEVpishOvtv6 fxoQQjzPezyeYDBYLpdZlo3FYrvdTvfMFItFjuMQQn6/32q11mo1ABiNRro7nc/nZVm+XC4mk4njuPV6 3e/3yaXTPjPD4RAAOp3Oz5C6hvF4vFgsnoZoNHq73XK5HEJIu4blcgkAhUKBYRiapjHGpVIpm83qHoHr 9ZrJZObzeTKZnEwm+/0+HA43Gg2DwfD+3i/hCwlnLMO2QWEsAAAAAElFTkSuQmCC" alt="2/x"/></m text></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:i mage/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAsCAIAAADjKa/gAAAACXBIWXMAAA7EAAAO xAGVKw4bAAAAB3RJTUUH3QwfDiog8WXOcwAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeB DhcAAAG6SURBVEjH7VQ/qHlhGH7P7YoUKZ1i06GODWWQskrKJB1lsVllOYPFJMogKTYrq0VZTpTJyWaU cjgmkZA/fd+5g+W7555z+9l+tzzb873PU++f730pRVHgFXzAi/gDBkmSUqmUzWZzuVw8z59OJ7VDIXA+ n1mW7fV6h8Oh3W4DQDwexxiTmm+GwWAAAOl0+kl9Ph8AiKJIar6l5PV6GYZxu91ParfbAUCWZd2USNzv d5qmjUbjdrvVTYlEvV4HgGazqXrXNoiiaDabq9Xqz5CGYbVaOZ3OSqWiKMpsNttsNr8ZjsdjIBBotVpP GolEBEEgBRT5Wx+PRyKRmE6noVAIY4wQEgRBkiSHw6HdpW63qxqrxWJRDY5678M/4JMkFEVpishOvtv6 fxoQQjzPezyeYDBYLpdZlo3FYrvdTvfMFItFjuMQQn6/32q11mo1ABiNRro7nc/nZVm+XC4mk4njuPV6 3e/3yaXTPjPD4RAAOp3Oz5C6hvF4vFgsnoZoNHq73XK5HEJIu4blcgkAhUKBYRiapjHGpVIpm83qHoHr 9ZrJZObzeTKZnEwm+/0+HA43Gg2DwfD+3i/hCwlnLMO2QWEsAAAAAElFTkSuQmCC" alt="2/x"/></m text></annotation-xml>
66 </semantics>
67 </math>
68 </p>
69
70 </body>
71 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/mathml/fallback-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698