-
Notifications
You must be signed in to change notification settings - Fork 3.1k
/
column-balancing-paged-001-print.html
43 lines (41 loc) · 1.15 KB
/
column-balancing-paged-001-print.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!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:[email protected]">
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span">
<link rel="help" href="https://drafts.csswg.org/css-break/#breaking-rules">
<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>