integration-point-1.html (910B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"/> 5 <title>MathML inside foreignObject</title> 6 <link rel="help" href="https://w3c.github.io/mathml-core/#html-and-svg"> 7 <link rel="match" href="integration-point-1-ref.html"/> 8 <meta name="assert" content="Verify that MathML can be used inside a foreignObject element."> 9 </head> 10 <body> 11 <p>Test passes if there is a green square and no red.</p> 12 <div> 13 <div style="position: absolute; width: 200px; height: 200px; background: red"></div> 14 <div style="position: absolute;"> 15 <svg width="200px" height="200px"> 16 <rect width="200px" height="100px" fill="red"/> 17 <foreignObject width="200px" height="200px" 18 requiredExtensions="http://www.w3.org/1998/Math/MathML"> 19 <div style="width: 200px; height: 200px; background: green"></div> 20 </foreignObject> 21 </svg> 22 </div> 23 </div> 24 </body> 25 </html>