63 lines
3.3 KiB
HTML
63 lines
3.3 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Open Type MATH - large operators - displaystyle</title>
|
|
<meta charset="utf-8"/>
|
|
<style type="text/css">
|
|
@font-face {
|
|
font-family: stretchy;
|
|
src: url("stretchy.woff");
|
|
}
|
|
div.largeop_test * {
|
|
font-family: stretchy;
|
|
font-size: 10px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="largeop_test">
|
|
<math class="update" display="block"><mo>⨛</mo></math>
|
|
<math class="update" display="inline"><mo>⨛</mo></math>
|
|
<math class="update" displaystyle="true"><mo>⨛</mo></math>
|
|
<math class="update" displaystyle="false"><mo>⨛</mo></math>
|
|
<math class="update"><mstyle class="update" displaystyle="true"><mo>⨛</mo></mstyle></math>
|
|
<math class="update"><mstyle class="update" displaystyle="false"><mo>⨛</mo></mstyle></math>
|
|
<math class="update" displaystyle="false"><mtable><mtr><mtd><mo>⨛</mo></mtd></mtr></mtable></math>
|
|
<math class="update"><mtable class="update" displaystyle="false"><mtr><mtd><mo>⨛</mo></mtd></mtr></mtable></math>
|
|
<math class="update" displaystyle="false"><mtable class="update" displaystyle="true"><mtr><mtd><mo>⨛</mo></mtd></mtr></mtable></math>
|
|
<math class="update" displaystyle="false"><mfrac><mo>⨛</mo><mo>⨛</mo></mfrac></math>
|
|
<math class="update" displaystyle="false"><mroot><mo>⨛</mo><mo>⨛</mo></mroot></math>
|
|
<math class="update" displaystyle="false"><msub><mo>⨛</mo><mo>⨛</mo></msub></math>
|
|
<math class="update" displaystyle="false"><msup><mo>⨛</mo><mo>⨛</mo></msup></math>
|
|
<math class="update" displaystyle="false"><msubsup><mo>⨛</mo><mo>⨛</mo><mo>⨛</mo></msubsup></math>
|
|
<math class="update" displaystyle="false"><mmultiscripts><mo>⨛</mo><mo>⨛</mo><mo>⨛</mo><mprescripts/><mo>⨛</mo><mo>⨛</mo></mmultiscripts></math>
|
|
<math class="update" displaystyle="false"><munder><mo>⨛</mo><mo>⨛</mo></munder></math>
|
|
<math class="update" displaystyle="false"><mover><mo>⨛</mo><mo>⨛</mo></mover></math>
|
|
<math class="update" displaystyle="false"><munderover><mo>⨛</mo><mo>⨛</mo><mo>⨛</mo></munderover></math>
|
|
</div>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.waitUntilDone();
|
|
|
|
function updatePageAfterRendering()
|
|
{
|
|
// Switch the value of display/displaystyle attributes.
|
|
var mathmlElements = document.getElementsByClassName("update");
|
|
for (var i = 0; i < mathmlElements.length; i++) {
|
|
var e = mathmlElements[i];
|
|
if (e.hasAttribute("displaystyle"))
|
|
e.setAttribute("displaystyle", e.getAttribute("displaystyle") == "true" ? "false" : "true");
|
|
if (e.hasAttribute("display"))
|
|
e.setAttribute("display", e.getAttribute("display") == "block" ? "inline" : "block");
|
|
}
|
|
window.requestAnimationFrame(function() {
|
|
if (window.testRunner)
|
|
testRunner.notifyDone();
|
|
});
|
|
}
|
|
|
|
addEventListener('load', updatePageAfterRendering, false);
|
|
</script>
|
|
</body>
|
|
</html>
|