blob: fdf5b71d4345f8254d8542b9f66d1f43d1b5710f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<!DOCTYPE html>
<title>Tests block boxes's edges are trimmed at text-over/text-under baselines of their first/last formatted lines</title>
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#leading-trim">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="match" href="text-box-trim-half-leading-block-box-002-ref.html">
<style>
.div-parent {
outline: 1px solid orange;
font-family: Ahem;
font-size: 20px;
line-height: 3;
writing-mode:vertical-lr;
}
</style>
<div class ="div-parent" style="text-box-trim:start">Test</div>
|