-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for margin collapsing with children being blocked
- Loading branch information
Showing
33 changed files
with
1,632 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
test_fixtures/block_margin_y_fixed_size_first_child_collapse_blocked_by_border_top.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
|
||
<div id="test-root" style="display: block; width: 50px;"> | ||
<div style="display: block; margin-top: 10px; border-width-top: 1px;"> | ||
<div style="display: block; margin-top: 10px;"> | ||
<div style="height: 10px;"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
21 changes: 21 additions & 0 deletions
21
...fixtures/block_margin_y_fixed_size_first_child_collapse_blocked_by_overflow_x_hidden.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
|
||
<div id="test-root" style="display: block; width: 50px;"> | ||
<div style="display: block; margin-top: 10px; overflow-x: hidden;"> | ||
<div style="display: block; margin-top: 10px;"> | ||
<div style="height: 10px;"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
21 changes: 21 additions & 0 deletions
21
...fixtures/block_margin_y_fixed_size_first_child_collapse_blocked_by_overflow_x_scroll.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
|
||
<div id="test-root" style="display: block; width: 50px;"> | ||
<div style="display: block; margin-top: 10px; overflow-x: scroll;"> | ||
<div style="display: block; margin-top: 10px;"> | ||
<div style="height: 10px;"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
21 changes: 21 additions & 0 deletions
21
...fixtures/block_margin_y_fixed_size_first_child_collapse_blocked_by_overflow_y_hidden.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
|
||
<div id="test-root" style="display: block; width: 50px;"> | ||
<div style="display: block; margin-top: 10px; overflow-y: hidden;"> | ||
<div style="display: block; margin-top: 10px;"> | ||
<div style="height: 10px;"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
21 changes: 21 additions & 0 deletions
21
...fixtures/block_margin_y_fixed_size_first_child_collapse_blocked_by_overflow_y_scroll.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
|
||
<div id="test-root" style="display: block; width: 50px;"> | ||
<div style="display: block; margin-top: 10px; overflow-y: scroll;"> | ||
<div style="display: block; margin-top: 10px;"> | ||
<div style="height: 10px;"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
21 changes: 21 additions & 0 deletions
21
test_fixtures/block_margin_y_fixed_size_first_child_collapse_blocked_by_padding_top.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
|
||
<div id="test-root" style="display: block; width: 50px;"> | ||
<div style="display: block; margin-top: 10px; padding-top: 1px;"> | ||
<div style="display: block; margin-top: 10px;"> | ||
<div style="height: 10px;"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
21 changes: 21 additions & 0 deletions
21
...fixtures/block_margin_y_fixed_size_first_child_collapse_not_blocked_by_border_bottom.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
|
||
<div id="test-root" style="display: block; width: 50px;"> | ||
<div style="display: block; margin-top: 10px; border-width-bottom: 1px;"> | ||
<div style="display: block; margin-top: 10px;"> | ||
<div style="height: 10px;"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
21 changes: 21 additions & 0 deletions
21
...ixtures/block_margin_y_fixed_size_first_child_collapse_not_blocked_by_padding_bottom.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
|
||
<div id="test-root" style="display: block; width: 50px;"> | ||
<div style="display: block; margin-top: 10px; padding-bottom: 1px;"> | ||
<div style="display: block; margin-top: 10px;"> | ||
<div style="height: 10px;"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
21 changes: 21 additions & 0 deletions
21
test_fixtures/block_margin_y_fixed_size_last_child_collapse_blocked_by_border_bottom.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
|
||
<div id="test-root" style="display: block; width: 50px;"> | ||
<div style="display: block; margin-bottom: 10px; border-width-bottom: 1px;"> | ||
<div style="display: block; margin-bottom: 10px;"> | ||
<div style="height: 10px;"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
21 changes: 21 additions & 0 deletions
21
..._fixtures/block_margin_y_fixed_size_last_child_collapse_blocked_by_overflow_x_hidden.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
|
||
<div id="test-root" style="display: block; width: 50px;"> | ||
<div style="display: block; margin-bottom: 10px; overflow-x: hidden;"> | ||
<div style="display: block; margin-bottom: 10px;"> | ||
<div style="height: 10px;"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
21 changes: 21 additions & 0 deletions
21
..._fixtures/block_margin_y_fixed_size_last_child_collapse_blocked_by_overflow_x_scroll.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
|
||
<div id="test-root" style="display: block; width: 50px;"> | ||
<div style="display: block; margin-bottom: 10px; overflow-x: scroll;"> | ||
<div style="display: block; margin-bottom: 10px;"> | ||
<div style="height: 10px;"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
21 changes: 21 additions & 0 deletions
21
..._fixtures/block_margin_y_fixed_size_last_child_collapse_blocked_by_overflow_y_hidden.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
|
||
<div id="test-root" style="display: block; width: 50px;"> | ||
<div style="display: block; margin-bottom: 10px; overflow-y: hidden;"> | ||
<div style="display: block; margin-bottom: 10px;"> | ||
<div style="height: 10px;"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
21 changes: 21 additions & 0 deletions
21
..._fixtures/block_margin_y_fixed_size_last_child_collapse_blocked_by_overflow_y_scroll.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
|
||
<div id="test-root" style="display: block; width: 50px;"> | ||
<div style="display: block; margin-bottom: 10px; overflow-y: scroll;"> | ||
<div style="display: block; margin-bottom: 10px;"> | ||
<div style="height: 10px;"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
21 changes: 21 additions & 0 deletions
21
test_fixtures/block_margin_y_fixed_size_last_child_collapse_blocked_by_padding_bottom.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
|
||
<div id="test-root" style="display: block; width: 50px;"> | ||
<div style="display: block; margin-bottom: 10px; padding-bottom: 1px;"> | ||
<div style="display: block; margin-bottom: 10px;"> | ||
<div style="height: 10px;"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
21 changes: 21 additions & 0 deletions
21
test_fixtures/block_margin_y_fixed_size_last_child_collapse_not_blocked_by_border_top.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
|
||
<div id="test-root" style="display: block; width: 50px;"> | ||
<div style="display: block; margin-bottom: 10px; border-width-top: 1px;"> | ||
<div style="display: block; margin-bottom: 10px;"> | ||
<div style="height: 10px;"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
21 changes: 21 additions & 0 deletions
21
test_fixtures/block_margin_y_fixed_size_last_child_collapse_not_blocked_by_padding_top.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
|
||
<div id="test-root" style="display: block; width: 50px;"> | ||
<div style="display: block; margin-bottom: 10px; padding-top: 1px;"> | ||
<div style="display: block; margin-bottom: 10px;"> | ||
<div style="height: 10px;"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.