<!DOCTYPE html>
<meta charset="utf-8">
<title>mathbackground on semantics (reference)</title>
<math xmlns="http://www.w3.org/1998/Math/MathML">
  <semantics mathbackground="red">
    <mtext>□■□■□■□</mtext>
  </semantics>
</math>