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/text-box-trim/text-box-trim-both-with-bottom-aligned-box.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>bottom aligned inline level box should stay bottom aligned when line box is trimmed</title>
<link rel="stylesheet" href="/fonts/ahem.css">
<link rel="match" href="text-box-trim-both-with-bottom-aligned-box-ref.html">
<style>
.trimmed {
font-size: 20px;
font-family: Ahem;
text-box-trim: trim-both;
color: green;
}
.bottom-aligned {
display: inline-block;
width: 30px;
height: 50px;
background-color: green;
vertical-align: bottom;
}
</style>
<div class=trimmed>content<div class=bottom-aligned></div></div>