File tree Expand file tree Collapse file tree 6 files changed +191
-0
lines changed Expand file tree Collapse file tree 6 files changed +191
-0
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < title >
3+ Flex container fragmentation (with no items).
4+ </ title >
5+ < link rel ="help " href ="https://drafts.csswg.org/css-flexbox-1/#pagination ">
6+ < link rel ="match " href ="../../reference/ref-filled-green-100px-square.xht ">
7+ < style >
8+ .multicol {
9+ background : red;
10+ column-count : 4 ;
11+ column-gap : 0px ;
12+ height : 100px ;
13+ width : 100px ;
14+ }
15+ .flex {
16+ background : green;
17+ border : 3px solid green;
18+ display : flex;
19+ padding : 5px ;
20+ width : 9px ;
21+ }
22+ </ style >
23+ < p > Test passes if there is a filled green square and < strong > no red</ strong > .</ p >
24+ < div class ="multicol ">
25+ < div class ="flex " style ="height: 134px; "> </ div >
26+ < div class ="flex " style ="height: 234px; "> </ div >
27+ </ div >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < title >
3+ Flex container fragmentation with break-inside: avoid.
4+ </ title >
5+ < link rel ="help " href ="https://drafts.csswg.org/css-flexbox-1/#pagination ">
6+ < link rel ="match " href ="../../reference/ref-filled-green-100px-square.xht ">
7+ < style >
8+ .multicol {
9+ background : red;
10+ column-count : 4 ;
11+ column-gap : 0px ;
12+ height : 100px ;
13+ position : relative;
14+ width : 100px ;
15+ }
16+ .flex {
17+ background : green;
18+ break-inside : avoid;
19+ display : flex;
20+ width : 25px ;
21+ }
22+ .abs {
23+ background : green;
24+ height : 50px ;
25+ position : absolute;
26+ width : 25px ;
27+ top : 50px ;
28+ left : 50px ;
29+ }
30+ </ style >
31+ < p > Test passes if there is a filled green square and < strong > no red</ strong > .</ p >
32+ < div class ="multicol ">
33+ < div class ="flex " style ="height: 250px; "> </ div >
34+ < div class ="flex " style ="height: 100px; "> </ div >
35+ < div class ="abs "> </ div >
36+ </ div >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < title >
3+ Flex container fragmentation with break-before: avoid.
4+ </ title >
5+ < link rel ="help " href ="https://drafts.csswg.org/css-flexbox-1/#pagination ">
6+ < link rel ="match " href ="../../reference/ref-filled-green-100px-square.xht ">
7+ < style >
8+ .multicol {
9+ background : red;
10+ column-count : 4 ;
11+ column-gap : 0px ;
12+ height : 100px ;
13+ position : relative;
14+ width : 100px ;
15+ }
16+ .flex {
17+ background : green;
18+ display : flex;
19+ width : 25px ;
20+ }
21+ .abs {
22+ height : 50px ;
23+ position : absolute;
24+ width : 25px ;
25+ }
26+ </ style >
27+ < p > Test passes if there is a filled green square and < strong > no red</ strong > .</ p >
28+ < div class ="multicol ">
29+ < div class ="flex " style ="height: 50px; "> </ div >
30+ < div class ="flex " style ="height: 50px; "> </ div >
31+ < div class ="flex " style ="height: 300px; break-before: avoid; "> </ div >
32+ < div class ="abs " style ="background: green; top: 50px; left: 0px; "> </ div >
33+ < div class ="abs " style ="background: white; top: 0px; "> </ div >
34+ </ div >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < title >
3+ Flex container fragmentation with break-after: avoid.
4+ </ title >
5+ < link rel ="help " href ="https://drafts.csswg.org/css-flexbox-1/#pagination ">
6+ < link rel ="match " href ="../../reference/ref-filled-green-100px-square.xht ">
7+ < style >
8+ .multicol {
9+ background : red;
10+ column-count : 4 ;
11+ column-gap : 0px ;
12+ height : 100px ;
13+ position : relative;
14+ width : 100px ;
15+ }
16+ .flex {
17+ background : green;
18+ display : flex;
19+ width : 25px ;
20+ }
21+ .abs {
22+ height : 50px ;
23+ position : absolute;
24+ width : 25px ;
25+ }
26+ </ style >
27+ < p > Test passes if there is a filled green square and < strong > no red</ strong > .</ p >
28+ < div class ="multicol ">
29+ < div class ="flex " style ="height: 50px; "> </ div >
30+ < div class ="flex " style ="height: 50px; break-after: avoid; "> </ div >
31+ < div class ="flex " style ="height: 300px; "> </ div >
32+ < div class ="abs " style ="background: green; top: 50px; left: 0px; "> </ div >
33+ < div class ="abs " style ="background: white; top: 0px; "> </ div >
34+ </ div >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < title >
3+ Flex container fragmentation with break-before: column.
4+ </ title >
5+ < link rel ="help " href ="https://drafts.csswg.org/css-flexbox-1/#pagination ">
6+ < link rel ="match " href ="../../reference/ref-filled-green-100px-square.xht ">
7+ < style >
8+ .multicol {
9+ background : red;
10+ column-count : 4 ;
11+ column-gap : 0px ;
12+ height : 100px ;
13+ position : relative;
14+ width : 100px ;
15+ }
16+ .flex {
17+ background : green;
18+ display : flex;
19+ width : 25px ;
20+ }
21+ .abs {
22+ height : 50px ;
23+ position : absolute;
24+ width : 25px ;
25+ }
26+ </ style >
27+ < p > Test passes if there is a filled green square and < strong > no red</ strong > .</ p >
28+ < div class ="multicol ">
29+ < div class ="flex " style ="height: 50px; "> </ div >
30+ < div class ="flex " style ="height: 50px; break-before: column; "> </ div >
31+ < div class ="flex " style ="height: 300px; "> </ div >
32+ < div class ="abs " style ="background: green; top: 50px; left: 0px; "> </ div >
33+ < div class ="abs " style ="background: white; top: 0px; "> </ div >
34+ </ div >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < title >
3+ Flex container fragmentation with tall margin.
4+ </ title >
5+ < link rel ="help " href ="https://drafts.csswg.org/css-flexbox-1/#pagination ">
6+ < link rel ="match " href ="../../reference/ref-filled-green-100px-square-only.html ">
7+ < style >
8+ .multicol {
9+ column-count : 4 ;
10+ column-gap : 0px ;
11+ height : 100px ;
12+ margin-left : -25px ;
13+ width : 100px ;
14+ }
15+ .flex {
16+ background : green;
17+ display : flex;
18+ height : 400px ;
19+ margin-top : 200px ;
20+ width : 25px ;
21+ }
22+ </ style >
23+ < p > Test passes if there is a filled green square.</ p >
24+ < div class ="multicol ">
25+ < div class ="flex "> </ div >
26+ </ div >
You can’t perform that action at this time.
0 commit comments