gecko-dev/testing/web-platform/tests/css/css-multicol/multicol-width-ch-ref.xht
Rachel Andrew a20b818562 Bug 1473548 [wpt PR 11802] - Multicol width tests, a=testonly
Automatic update from web-platform-testsMulticol width tests (#11802)

* tidying up rule shorthand test, adding assert

* Cleanup of existing multicol column-width tests

--

wpt-commits: f50337b1c4b570167408961211c44090e61c4eb0
wpt-pr: 11802
2018-09-10 10:11:42 +00:00

50 lines
1.1 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>multicolumn | column-width</title>
<link rel="author" title="Opera Software ASA" href="http://www.opera.com/"/>
<style type="text/css"><![CDATA[
.multicol-ref {
display: flow-root;
width: 69ch;
font: 1em monospace;
background: yellow;
}
.multicol-ref > span {
float: left;
width: 13ch;
margin-right: 1ch;
}
.multicol-ref > span:last-child {
margin: 0;
}
]]></style>
</head>
<body>
<p>Test passes if we have five columns with four lines in each. The final column should contain the words: million, billion, trillion.</p>
<div class="multicol-ref">
<span>
one two three four
five six seven eight
</span>
<span>
nineten eleven twelve
thirtn
</span>
<span>
fourtnfiftn sixtn
seventn eightn ninetn
</span>
<span>
twenty
hundred thousand
</span>
<span>
million billion
trillion
</span>
</div>
</body>
</html>