Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<meta charset="utf-8">
<title>MathML and ::first-line/::first-letter pseudo-elements (reference)</title>
<p>PASS if there is no red.</p>
<ol>
<li>
<div class="firstline">
<math style="display: inline math"><mtext>Hello<br>World!</mtext></math>
</li>
<li>
<div class="firstletter">
<math>
<mtext style="display: inline math">Hello<br>World!</mtext>
</math>
</div>
</li>
<li>
<div class="firstline">
<math>
<mtext style="display: block math">Hello<br>World!</mtext>
</math>
</div>
</li>
<li>
<div class="firstletter">
<math>
<mtext style="display: block math">Hello<br>World!</mtext>
</math>
</div>
</li>
</ol>