chromium/third_party/blink/web_tests/fast/css/style-for-math-with-class.html

<!DOCTYPE html>
<style>
    math { background: red }
    math.x { background: green }
</style>
<math class="x">Text</math>