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/column-balancing-paged-001-print.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>CSS Multi-column Layout Test: Test fragmentation for a nested multi-column container with column-span in paginated context</title>
<link rel="match" href="column-balancing-paged-001-print-ref.html">
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<style>
.outer {
column-count: 1;
column-rule: 6px solid black;
}
.inner {
column-count: 2;
column-rule: 3px solid green;
background-color: lightgreen;
}
.block1 {
background-color: yellow;
height: 3in;
}
.spanner {
column-span: all;
height: 2in;
background-color: lightblue;
}
.block2 {
background-color: pink;
height: 3in
}
</style>
<article class="outer">
<article class="inner">
<div class="block1">block1</div>
<div class="spanner">spanner</div>
<div class="block2">block2</div>
</article>
</article>
</html>