File tree Expand file tree Collapse file tree 12 files changed +251
-3
lines changed Expand file tree Collapse file tree 12 files changed +251
-3
lines changed Original file line number Diff line number Diff line change 30
30
< div style ="margin-top: 10px; width: 20px; position: relative; ">
31
31
< div style ="contain: size; width: 20px; height: 80px; "> </ div >
32
32
< div style ="contain: size; width: 20px; height: 40px; "> </ div >
33
- < div style ="position: absolute; top: -60px ; width: 20px; height: 60px ; background: green; "> </ div >
33
+ < div style ="position: absolute; top: -70px ; width: 20px; height: 70px ; background: green; "> </ div >
34
34
</ div >
35
35
< div style ="height: 100px; width: 20px; "> </ div >
36
36
< div style ="height: 60px; width: 20px; "> </ div >
Original file line number Diff line number Diff line change 12
12
background : green;
13
13
align-content : space-between;
14
14
}
15
+ .abs {
16
+ position : absolute;
17
+ height : 25px ;
18
+ width : 50% ;
19
+ }
15
20
</ style >
16
21
< p > Test passes if there is a filled green square and < strong > no red</ strong > .</ p >
17
22
< div style ="width: 100px; height: 100px; columns: 2; column-gap: 0; column-fill: auto; position: relative; background: red; ">
23
+ < div class ="abs " style ="left: 100px; background: white; "> </ div >
18
24
< div id ="flex ">
19
25
< div style ="height: 25px; width: 50px; "> </ div >
20
26
< div style ="height: 10px; width: 25px; align-self: center; "> </ div >
21
27
< div style ="height: 25px; width: 25px; break-before: column; "> </ div >
22
28
< div style ="height: 50px; width: 50px; background: green; "> </ div >
23
29
</ div >
30
+ < div class ="abs " style ="background: green; "> </ div >
24
31
</ div >
Original file line number Diff line number Diff line change 25
25
< p > Test passes if there is a filled green square and < strong > no red</ strong > .</ p >
26
26
< div style ="width:100px; height:100px; background:red; ">
27
27
< div style ="width: 100px; columns: 2; column-gap: 0; position: relative; ">
28
+ < div class ="abs " style ="height: 15px; left: 50px; "> </ div >
29
+ < div class ="abs " style ="height: 15px; top: 25px; left: 50px; "> </ div >
28
30
< div id ="flex ">
29
31
< div style ="height: 5px; "> </ div >
30
32
< div style ="height: 10px; break-before: column; "> </ div >
31
33
< div style ="height: 5px; ">
32
- < div style ="height: 75px ; width: 50px; background: green; "> </ div >
34
+ < div style ="height: 60px ; width: 50px; background: green; "> </ div >
33
35
</ div >
34
36
</ div >
35
37
< div class ="abs " style ="height: 50px; "> </ div >
36
- < div class ="abs " style ="height: 15px; top: 10px; left: 50px; "> </ div >
37
38
</ div >
38
39
</ div >
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < title >
3
+ Multi-line row flex fragmentation: Tall margins.
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
+ # flex {
9
+ display : flex;
10
+ flex-wrap : wrap;
11
+ position : relative;
12
+ }
13
+ # flex > div {
14
+ width : 10px ;
15
+ background : green;
16
+ }
17
+ </ style >
18
+ < p > Test passes if there is a filled green square and < strong > no red</ strong > .</ p >
19
+ < div style ="width: 100px; height: 100px; columns: 5; column-gap: 0; column-fill: auto; background: red; ">
20
+ < div id ="flex ">
21
+ < div style ="margin-top: 50px; height: 100px; "> </ div >
22
+ < div style ="margin-top: 100px; height: 50px; "> </ div >
23
+ < div style ="margin-top: 100px; height: 250px; "> </ div >
24
+ < div style ="margin-top: 50px; height: 300px; "> </ div >
25
+ < div style ="position: absolute; height: 50px; width: 20px; "> </ div >
26
+ < div style ="position: absolute; height: 50px; width: 30px; top: 50px; left: 10px; "> </ div >
27
+ < div style ="position: absolute; height: 50px; left: 40px; "> </ div >
28
+ </ div >
29
+ </ div >
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < title >
3
+ Multi-line row flex fragmentation: Tall margins with forced break.
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
+ # flex {
9
+ display : flex;
10
+ flex-wrap : wrap;
11
+ position : relative;
12
+ }
13
+ # flex > div {
14
+ width : 10px ;
15
+ background : green;
16
+ }
17
+ </ style >
18
+ < p > Test passes if there is a filled green square and < strong > no red</ strong > .</ p >
19
+ < div style ="width: 100px; height: 100px; columns: 5; column-gap: 0; column-fill: auto; background: red; ">
20
+ < div id ="flex ">
21
+ < div style ="margin-top: 50px; height: 100px; "> </ div >
22
+ < div style ="margin-top: 100px; height: 50px; break-after: avoid; "> </ div >
23
+ < div style ="margin-top: 50px; height: 250px; "> </ div >
24
+ < div style ="margin-top: 100px; height: 200px; break-before: column; "> </ div >
25
+ < div style ="position: absolute; height: 50px; width: 20px; "> </ div >
26
+ < div style ="position: absolute; height: 50px; width: 30px; top: 50px; left: 10px; "> </ div >
27
+ < div style ="position: absolute; height: 50px; top: 200px; "> </ div >
28
+ < div style ="position: absolute; height: 100px; top: 200px; left: 10px; "> </ div >
29
+ </ div >
30
+ </ div >
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < title >
3
+ Multi-line row flex fragmentation: Negative margins.
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
+ # flex {
9
+ display : flex;
10
+ flex-wrap : wrap;
11
+ }
12
+ # flex > div {
13
+ margin-top : -100px ;
14
+ height : 100px ;
15
+ width : 20px ;
16
+ break-before : column;
17
+ background : green;
18
+ }
19
+ </ style >
20
+ < p > Test passes if there is a filled green square and < strong > no red</ strong > .</ p >
21
+ < div style ="height: 100px; width: 100px; background: red; position: absolute ">
22
+ < div style ="margin-top: 100px; width: 100px; height: 100px; columns: 5; column-gap: 0; column-fill: auto; ">
23
+ < div id ="flex ">
24
+ < div > </ div >
25
+ < div > </ div >
26
+ < div > </ div >
27
+ < div > </ div >
28
+ < div > </ div >
29
+ </ div >
30
+ </ div >
31
+ </ div >
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < title >
3
+ Single-line column flex fragmentation: Tall margins.
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
+ # flex {
9
+ display : flex;
10
+ flex-direction : column;
11
+ position : relative;
12
+ }
13
+ # flex > div {
14
+ width : 20px ;
15
+ background : green;
16
+ }
17
+ </ style >
18
+ < p > Test passes if there is a filled green square and < strong > no red</ strong > .</ p >
19
+ < div style ="width: 100px; height: 100px; columns: 5; column-gap: 0; column-fill: auto; background: red; ">
20
+ < div style ="height: 50px; width: 20px; background: green; "> </ div >
21
+ < div id ="flex ">
22
+ < div style ="height: 100px; margin-top: 50px; "> </ div >
23
+ < div style ="height: 150px; margin-top: 150px; "> </ div >
24
+ < div style ="position: absolute; height: 50px; "> </ div >
25
+ < div style ="position: absolute; height: 150px; top: 150px; "> </ div >
26
+ </ div >
27
+ </ div >
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < title >
3
+ Single-line column flex fragmentation: Tall margins with forced break.
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
+ # flex {
9
+ display : flex;
10
+ flex-direction : column;
11
+ position : relative;
12
+ }
13
+ # flex > div {
14
+ width : 20px ;
15
+ background : green;
16
+ }
17
+ </ style >
18
+ < p > Test passes if there is a filled green square and < strong > no red</ strong > .</ p >
19
+ < div style ="width: 100px; height: 100px; columns: 5; column-gap: 0; column-fill: auto; background: red; ">
20
+ < div id ="flex ">
21
+ < div style ="height: 50px; "> </ div >
22
+ < div style ="height: 50px; margin-top: 100px; break-before: column; "> </ div >
23
+ < div style ="height: 200px; margin-top: 50px; "> </ div >
24
+ < div style ="position: absolute; height: 150px; top: 50px; "> </ div >
25
+ < div style ="position: absolute; height: 50px; top: 250px; "> </ div >
26
+ </ div >
27
+ </ div >
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < title >
3
+ Single-line column flex fragmentation: Negative margins.
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
+ # flex {
9
+ display : flex;
10
+ flex-direction : column;
11
+ }
12
+ </ style >
13
+ < p > Test passes if there is a filled green square and < strong > no red</ strong > .</ p >
14
+ < div style ="height: 100px; width: 100px; background: red; position: absolute ">
15
+ < div style ="margin-top: 150px; margin-left: -40px; width: 100px; height: 100px; columns: 5; column-gap: 0; column-fill: auto; ">
16
+ < div id ="flex ">
17
+ < div style ="height: 150px; width: 20px; "> </ div >
18
+ < div style ="height: 100px; margin-top: -150px; width: 100px; break-before: column; background: green; "> </ div >
19
+ </ div >
20
+ </ div >
21
+ </ div >
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < title >
3
+ Single-line row flex fragmentation: Tall margins.
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
+ # flex {
9
+ display : flex;
10
+ position : relative;
11
+ }
12
+ # flex > div {
13
+ width : 10px ;
14
+ background : green;
15
+ }
16
+ </ style >
17
+ < p > Test passes if there is a filled green square and < strong > no red</ strong > .</ p >
18
+ < div style ="width: 100px; height: 100px; columns: 5; column-gap: 0; column-fill: auto; background: red; ">
19
+ < div id ="flex ">
20
+ < div style ="margin-top: 250px; height: 250px; "> </ div >
21
+ < div style ="margin-top: 100px; height: 100px; "> </ div >
22
+ < div style ="position: absolute; height: 100px; width: 30px; "> </ div >
23
+ < div style ="position: absolute; height: 50px; top: 200px; "> </ div >
24
+ < div style ="position: absolute; height: 300px; top: 200px; left: 10px; "> </ div >
25
+ </ div >
26
+ </ div >
You can’t perform that action at this time.
0 commit comments