blob: d4c79c721838eb5a9a279afed5a73222e73e8ee6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<!DOCTYPE html>
<meta charset="utf-8">
<title>MathML and ::first-line/::first-letter pseudo-elements (reference)</title>
<style>
.firstline > span { background: lime; }
.firstletter > span { background: lime; }
</style>
<p>PASS if the first line or letter is green.</p>
<ol>
<li>
<div style="display: inline math" class="firstline">
<span>Hello,</span><br/>World!
</div>
</li>
<li>
<div style="display: inline math" class="firstletter">
<span>H</span>ello, World!
</div>
</li>
<li>
<div style="display: block math" class="firstline">
<span>Hello,</span><br/>World!
</div>
</li>
<li>
<div style="display: block math" class="firstletter">
<span>H</span>ello, World!
</div>
</li>
</ol>
|