Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-multicol/multicol-width-ch-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>CSS Multi-column Layout Test: column-width (ch units)</title>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="match" href="multicol-width-ch-ref.html">
<meta name="assert" value="Test that the ch unit can be used as a value for column-width.">
<style>
.multicol {
font: 10px ahem;
width: 69ch;
column-width: 13ch;
column-gap: 1ch;
background: yellow;
}
</style>
<div class="multicol">
one two three four
five six seven eight
nineten eleven twelve
thirtn fourtnfiftn sixtn
seventn eightn ninetn twenty
hundred thousand million billionx
trillionsopp
</div>