Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-inline/br-line-height-stretch-quirks.html - WPT Dashboard Interop Dashboard
<!-- Quirks mode (no doctype) -->
<html>
<head>
<title>CSS Test: BR with explicit line-height stretches the line box in quirks mode</title>
<link rel="match" href="br-line-height-stretch-quirks-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
body {
margin: 0;
}
div {
font: 20px/1 Ahem;
}
br {
line-height: 200px;
}
</style>
</head>
<body>
<!-- The BR with line-height: 200px should stretch the line to 200px.
X should appear at approximately 200px from the top. -->
<div><br>X</div>
</body>
</html>