summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-inline/text-box-trim/text-box-trim-half-leading-inline-box-001-ref.html
blob: 4824309291df136db30d79b4a9dddc115f48b117 (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
<!DOCTYPE html>
<title>Reference for trimming inline boxes</title>
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#leading-trim">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />

<style>
div {
  border: 1px solid orange;
  font-size: 20px;
  line-height: 1;
}

span {
  border: 1px solid blue;
  font-family: Ahem;
  font-size: 20px;
  line-height: 1;
  text-box-trim: both;
}
</style>

<div>
  <span>Test</span>
</div>