Skip to content

Commit

Permalink
Add tests for margin collapsing with children being blocked
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed May 17, 2023
1 parent 14a4879 commit f56c025
Show file tree
Hide file tree
Showing 33 changed files with 1,632 additions and 0 deletions.
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Loading

0 comments on commit f56c025

Please sign in to comment.