<!DOCTYPE html><html><head><metacharset="utf-8"/><title>Class</title><linkrel="help"href="https://w3c.github.io/mathml-core/#attributes-common-to-html-and-mathml-elements"><linkrel="help"href="https://w3c.github.io/mathml-core/#css-styling"><linkrel="match"href="class-1-ref.html"/><metaname="assert"content="Verify that the class attribute affects CSS selectors."><style>mtext.fail{display:none;}mtext.pass{background:green;}</style></head><body><p>Test passes if you see the text "PASS".</p><math><mtextclass="fail"style="background: red; color: white;">FAIL</mtext><mtextclass="pass"style="color: white;">PASS</mtext></math></body></html>