blob: d622fb48ac392beb9a0d733e911e822d82aa6f1f [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" href="mailto:xiaochengh@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-fonts-4/#font-metrics-override-desc">
<link rel="match" href="line-gap-override-ref.html">
<title>Tests the line-gap-override descriptor of @font-face</title>
<style>
@font-face {
font-family: custom-font;
src: local(Ahem), url(/fonts/Ahem.ttf);
line-gap-override: 100%;
}
.target {
font: 20px custom-font;
color: green;
position: absolute;
top: 10px;
left: 10px;
}
</style>
<div class="target">
X<br>
X
</div>