1
0
Fork 0
firefox/testing/web-platform/tests/css/css-fonts/line-gap-override.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

26 lines
568 B
HTML

<!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: Ahem;
src: local(Ahem), url(/fonts/Ahem.ttf);
line-gap-override: 100%;
}
.target {
font: 20px Ahem;
color: green;
position: absolute;
top: 10px;
left: 10px;
}
</style>
<div class="target">
X<br>
X
</div>