underover-legacy-align-attribute-001.html (2728B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>munder/mover/munderover align</title> 6 <link rel="help" href="https://w3c.github.io/mathml-core/#underscripts-and-overscripts-munder-mover-munderover"> 7 <link rel="help" href="https://www.w3.org/TR/MathML3/chapter3.html#presm.munder"> 8 <link rel="help" href="https://www.w3.org/TR/MathML3/chapter3.html#presm.mover"> 9 <link rel="help" href="https://www.w3.org/TR/MathML3/chapter3.html#presm.munderover"> 10 <meta name="assert" content="Check that the legacy align attribute is ignored."> 11 <link rel="match" href="underover-legacy-align-attribute-001-ref.html"> 12 </head> 13 <body> 14 <p>Test passes if the center of the following rectangles is aligned 15 on the same vertical axis.</p> 16 <p> 17 <math> 18 <munder align="left"> 19 <mspace width="30px" height="20px" style="background: cyan;"></mspace> 20 <mspace width="10px" height="20px" style="background: blue;"></mspace> 21 </munder> 22 </math> 23 </p> 24 <p> 25 <math> 26 <munder align="right"> 27 <mspace width="30px" height="20px" style="background: cyan;"></mspace> 28 <mspace width="10px" height="20px" style="background: blue;"></mspace> 29 </munder> 30 </math> 31 </p> 32 <p> 33 <math> 34 <mover align="left"> 35 <mspace width="30px" height="20px" style="background: cyan;"></mspace> 36 <mspace width="10px" height="20px" style="background: blue;"></mspace> 37 </mover> 38 </math> 39 </p> 40 <p> 41 <math> 42 <mover align="right"> 43 <mspace width="30px" height="20px" style="background: cyan;"></mspace> 44 <mspace width="10px" height="20px" style="background: blue;"></mspace> 45 </mover> 46 </math> 47 </p> 48 <p> 49 <math> 50 <munderover align="left"> 51 <mspace width="30px" height="20px" style="background: cyan;"></mspace> 52 <mspace width="10px" height="20px" style="background: blue;"></mspace> 53 <mspace width="10px" height="20px" style="background: blue;"></mspace> 54 </munderover> 55 </math> 56 </p> 57 <p> 58 <math> 59 <munderover align="right"> 60 <mspace width="30px" height="20px" style="background: cyan;"></mspace> 61 <mspace width="10px" height="20px" style="background: blue;"></mspace> 62 <mspace width="10px" height="20px" style="background: blue;"></mspace> 63 </munderover> 64 </math> 65 </p> 66 <script src="/mathml/support/feature-detection.js"></script> 67 <script> 68 MathMLFeatureDetection.ensure_for_match_reftest("has_mspace"); 69 MathMLFeatureDetection.ensure_for_match_reftest("has_munderover"); 70 </script> 71 </body> 72 </html>