tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

class-1.html (704B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8"/>
      5 <title>Class</title>
      6 <link rel="help" href="https://w3c.github.io/mathml-core/#attributes-common-to-html-and-mathml-elements">
      7 <link rel="help" href="https://w3c.github.io/mathml-core/#css-styling">
      8 <link rel="match" href="class-1-ref.html"/>
      9 <meta name="assert" content="Verify that the class attribute affects CSS selectors.">
     10 <style>
     11  mtext.fail { display: none; }
     12  mtext.pass { background: green; }
     13 </style>
     14 </head>
     15 <body>
     16 
     17  <p>Test passes if you see the text "PASS".</p>
     18  <math>
     19    <mtext class="fail" style="background: red; color: white;">FAIL</mtext>
     20    <mtext class="pass" style="color: white;">PASS</mtext>
     21  </math>
     22 
     23 </body>
     24 </html>