56 lines
1.4 KiB
HTML
56 lines
1.4 KiB
HTML
<!DOCTYPE HTML>
|
|
<title>CSS Test: breaking of a multicolumn</title>
|
|
<meta charset="utf-8">
|
|
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
|
|
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
|
|
<link rel="author" title="Mozilla" href="https://mozilla.org/">
|
|
<link rel="help" href="https://drafts.csswg.org/css-multicol/#column-gaps-and-rules">
|
|
<link rel="help" href="https://drafts.csswg.org/css-multicol/#cf">
|
|
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/2309">
|
|
<link rel="match" href="multicol-breaking-006-ref.html">
|
|
<style>
|
|
|
|
.outer {
|
|
height: 100px;
|
|
column-fill: auto;
|
|
width: 800px;
|
|
column-count: 4;
|
|
column-rule: 4px solid blue;
|
|
column-gap: 16px;
|
|
background: rgba(0, 0, 255, 0.3);
|
|
}
|
|
|
|
.inner {
|
|
column-count: 2;
|
|
column-rule: 2px solid fuchsia;
|
|
column-gap: 16px;
|
|
background: rgba(255, 0, 255, 0.3);
|
|
font: 16px/1.25 sans-serif;
|
|
border-bottom: 20px solid green;
|
|
}
|
|
|
|
</style>
|
|
|
|
<!-- This test is adapted from multicol-breaking-001.html.
|
|
The inner column is changed to have "height:auto" and border-bottom. -->
|
|
<div class="outer">
|
|
<div class="inner" style="height: auto">
|
|
AAAAA<br>
|
|
BBBBB<br>
|
|
CCCCC<br>
|
|
DDDDD<br>
|
|
EEEEE<br>
|
|
FFFFF<br>
|
|
GGGGG<br>
|
|
HHHHH<br>
|
|
IIIII<br>
|
|
JJJJJ<br>
|
|
KKKKK<br>
|
|
LLLLL<br>
|
|
MMMMM<br>
|
|
NNNNN<br>
|
|
OOOOO<br>
|
|
PPPPP<br>
|
|
QQQQQ
|
|
</div>
|
|
</div>
|