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-multicol-009.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Test text-box-trim with widows</title>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="match" href="text-box-trim-multicol-009-ref.html">
<style>
.multicol {
columns: 3;
column-fill: auto;
width: 640px;
height: 350px;
gap: 20px;
text-box-trim: trim-both;
font-family: Ahem;
font-size: 50px;
line-height: 100px;
orphans: 1;
widows: 2;
background: yellow;
}
</style>
<div class="multicol">
xxx<br>
xxx<br>
xxx<br>
xxx<br>
xxx<br>
</div>