| Index: third_party/WebKit/LayoutTests/fragmentation/margin-top-at-top-of-fragmentainer.html
|
| diff --git a/third_party/WebKit/LayoutTests/fragmentation/margin-top-at-top-of-fragmentainer.html b/third_party/WebKit/LayoutTests/fragmentation/margin-top-at-top-of-fragmentainer.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6b20f8e978420738995a15acc859a4749aeb12f6
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fragmentation/margin-top-at-top-of-fragmentainer.html
|
| @@ -0,0 +1,15 @@
|
| +<!DOCTYPE html>
|
| +<p>There should be a blue square below.</p>
|
| +<div style="position:relative; columns:2; column-gap:0; column-fill:auto; width:200px; height:100px;">
|
| + <div style="height:100px;"></div>
|
| + <div id="elm" style="margin-top:50px; height:100px; background:blue;"></div>
|
| +</div>
|
| +<script src="../resources/testharness.js"></script>
|
| +<script src="../resources/testharnessreport.js"></script>
|
| +<script>
|
| +test(() => {
|
| + var elm = document.getElementById("elm");
|
| + assert_equals(elm.offsetLeft, 100);
|
| + assert_equals(elm.offsetTop, 0);
|
| +}, "Margins should collapse with fragmentainer boundaries");
|
| +</script>
|
|
|