OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <meta charset="utf-8"/> |
| 5 <title>SVG requiredExtensions</title> |
| 6 <link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#S
S1.SSS1"/> |
| 7 <link rel="match" href="required-extensions-2-ref.html"/> |
| 8 <meta name="assert" content="Verify that a foreignObject with MathML used as a r
equiredExtensions value is selected for display in a SVG switch element."> |
| 9 </head> |
| 10 <body> |
| 11 <p>Test passes if there is a green square and no red.</p> |
| 12 <svg width="200px" height="200px"> |
| 13 <rect width="200px" height="100px" fill="red"/> |
| 14 <switch> |
| 15 <foreignObject width="200px" height="200px" |
| 16 requiredExtensions="http://www.w3.org/1998/Math/MathML"> |
| 17 <div style="width: 200px; height: 200px; background: green"></div> |
| 18 </foreignObject> |
| 19 <rect y="100px" width="200px" height="100px" fill="red"/> |
| 20 </switch> |
| 21 </svg> |
| 22 </body> |
| 23 </html> |
OLD | NEW |