tor-browser

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

first-line-first-letter-pseudo-elements-001.html (733B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>MathML and ::first-line/::first-letter pseudo-elements</title>
      4 <link rel="help" href="https://w3c.github.io/mathml-core/#legacy-mathml-style-attributes">
      5 <link rel="match" href="first-line-first-letter-pseudo-elements-001-ref.html"/>
      6 <meta name="assert" content="::first-line and ::first-letter do not apply to MathML elements.">
      7 <style>
      8  .firstline::first-line { background: red; }
      9  .firstletter::first-letter { background: red; }
     10 </style>
     11 <p>PASS if there is no red.</p>
     12 <ol>
     13  <li>
     14    <math>
     15      <mtext class="firstline"><span>Hello,<br/>World!</span></mtext>
     16    </math>
     17  </li>
     18  <li>
     19    <math>
     20      <mtext class="firstletter">Hello, World!</mtext>
     21    </math>
     22  </li>
     23 </ol>