blob: 7034aeefa0ee35ad5f348bc37c7a775f9aa5b573 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
@font-face {
font-family: "WebFont";
src: url("../../resources/Ahem.ttf") format("truetype");
}
</style>
</head>
<body>
This test makes sure that fonts with negative line gap metrics get their effective line gap clamped to 0.
The test passes if you see a black rectangle below of width 240 and height 96, and it doesn't overlap this text.
<div style="padding-top: 2px; width: 5ch; font: 48px 'WebFont';">Hello Hello</div>
</body>
</html>