Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<title>hyphen operator is rendered as a minus sign</title>
<meta charset="utf-8"/>
<style>
  math {
    font-size: 64pt;
  }
  .box {
    position: absolute;
    left: 2em;
    top: 2em;
    border: 1px solid lightgreen;
  }
</style>
<body>
  <p>This test passes if you see a green rectangle and no red.</p>
  <math class="box" style="position: absolute; color: red"><mo>−</mo></math>
  <math class="box" style="position: absolute; color: green; background: green;"><mo>−</mo></math>
</body>