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-011.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Test text-box-trim with orphans</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-011-ref.html">
<style>
.multicol {
columns: 3;
column-fill: auto;
width: 640px;
height: 400px;
gap: 20px;
text-box-trim: trim-both;
font-family: Ahem;
font-size: 50px;
line-height: 100px;
orphans: 2;
widows: 1;
background: yellow;
}
</style>
<div class="multicol">
<div style="height:225px; background:cyan;"></div>
xxx<br>
xxx<br>
xxx<br>
xxx<br>
</div>