Source code

Revision control

Other Tools

Test Info:

<!DOCTYPE html>
<html class="reftest-wait">
<title>Dynamic OpenType 'math' script tests</title>
<!-- See mathscript-1-ref.html for an explanation of this font -->
<style type="text/css" media="screen, print">
@font-face {
font-family: "mathssty";
src: url("mathssty.woff");
<!-- Demonstrate that it has no effect outside MathML -->
<div style="font-family: 'mathssty';
font-feature-settings: 'ssty' " id="div0">A</div>
<!-- Demonstrate that it works within MathML -->
<mstyle style="font-family: 'mathssty'; font-feature-settings: 'ssty' 2">
<mo id="mo0">A</mo>
function doTest()
// Does nothing to non-MathML
// Does something to MathML
window.addEventListener("MozReftestInvalidate", doTest);