Tools: [EFL] [GTK] Use Latin Modern Math in the jhbuild environments.
[WebKit-https.git] / LayoutTests / mathml / operator-hijacks-fenced-node.xhtml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:m="http://www.w3.org/1998/Math/MathML">
3 <body>
4     <p>
5         This tests that an anonymous operator created by mfenced does not
6         set itself as the mfenced node&#x2019;s renderer.
7     </p>
8     <p>
9         The test passes if it does not crash or cause an assertion failure.
10     </p>
11     <div id="container">
12         <m:math><span><m:mfenced id="target"><m:mo></m:mo></m:mfenced></span></m:math>
13     </div>
14     <script><![CDATA[
15         if (window.testRunner)
16             testRunner.dumpAsText();
17
18         document.body.offsetTop;
19         document.getElementById("target").parentNode.insertBefore(document.createElement("div"), document.getElementById("target"));
20         document.body.offsetTop;
21         document.getElementById("container").style.display = "none";
22     ]]></script>
23 </body>
24 </html>