summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/first-line-line-height-002-ref.html
blob: 904d5dad1823840780cc4ea881d7c4bf2b2afbb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS-Pseudo reference</title>
<style>
div {
  font: 24px/2em monospace;
  width: 45ch;
  background: #eee;
}
.fl {
  font-size: 16px;
  line-height: 1em;
  background: yellow;
}
</style>
<div>
<span class="fl">Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do</span> eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat.
</div>