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-003.html (1122B)


      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-003-ref.html"/>
      6 <meta name="assert" content="display math elements do not contribute a first formatted line/letter to ancestors.">
      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    <div class="firstline">
     15      <math style="display: inline math"><mtext>Hello<br>World!</mtext></math>
     16  </li>
     17  <li>
     18    <div class="firstletter">
     19      <math>
     20        <mtext style="display: inline math">Hello<br>World!</mtext>
     21      </math>
     22    </div>
     23  </li>
     24  <li>
     25    <div class="firstline">
     26      <math>
     27        <mtext style="display: block math">Hello<br>World!</mtext>
     28      </math>
     29    </div>
     30  </li>
     31  <li>
     32    <div class="firstletter">
     33      <math>
     34        <mtext style="display: block math">Hello<br>World!</mtext>
     35      </math>
     36    </div>
     37  </li>
     38 </ol>