| <!DOCTYPE html> |
| <html> |
| <head> |
| <script src="../../../../resources/gc.js"></script> |
| <meta charset="utf-8"/> |
| </head> |
| <body> |
| <p> |
| <math><mi id="sin">sin</mi></math> |
| <math><mi mathvariant="bold">x</mi></math> |
| </p> |
| <p> |
| <math><mo>-</mo><mi>sin</mi><mi>x</mi></math> |
| </p> |
| |
| </body> |
| <script> |
| document.getElementById("sin").setAttribute("style","text-rendering:auto;"); |
| document.getElementById("sin").appendChild(document.createTextNode('\u6888\u9867\uaa6f\u9b40\u7420\uf87f\u8491\ud608\u39bd\ucddb\u5d99\ud529\u8c59\u9e80')); |
| window.gc(); |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| document.body.innerText = "Passed - no crash."; |
| </script> |
| </html> |