| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <title>Test for MathML crash</title> | |
| 4 <script src="../../resources/js-test.js"></script> | |
| 5 <style> | |
| 6 #example-text { | |
| 7 -webkit-flow-into: example-text-flow; | |
| 8 padding: 0; | |
| 9 margin: 0; | |
| 10 } | |
| 11 .regions { | |
| 12 -webkit-flow-from: example-text-flow; | |
| 13 border: 1px solid black; | |
| 14 width: 200px; | |
| 15 height: 50px; | |
| 16 } | |
| 17 </style> | |
| 18 </head> | |
| 19 <body> | |
| 20 <div> | |
| 21 <p>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=110686">110686</a>:
[CSS Regions] Crash when MathML used in CSS Regions</p> | |
| 22 <p>This test PASSES if it does not CRASH or ASSERT.</p> | |
| 23 <div id="example-text"> | |
| 24 <div> | |
| 25 <math> | |
| 26 <mrow> | |
| 27 <mn>2</mn> | |
| 28 <mo>+</mo> | |
| 29 <mn>4</mn> | |
| 30 </mrow> | |
| 31 </math> | |
| 32 </div> | |
| 33 </div> | |
| 34 <div class="regions"></div> | |
| 35 </div> | |
| 36 <script type="text/javascript"> | |
| 37 if (window.testRunner) | |
| 38 testRunner.dumpAsText(); | |
| 39 document.body.offsetTop; | |
| 40 if (window.testRunner) | |
| 41 document.getElementById("example-text").style.display = "none"; | |
| 42 </script> | |
| 43 </body> | |
| 44 </html> | |
| OLD | NEW |