| Index: third_party/WebKit/LayoutTests/fast/multicol/balance-float-with-margin-top-and-line-after-break-2.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/multicol/balance-float-with-margin-top-and-line-after-break-2.html b/third_party/WebKit/LayoutTests/fast/multicol/balance-float-with-margin-top-and-line-after-break-2.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e2a6bd98183ac72a0b221941e5d7ec4afc7a575a
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/multicol/balance-float-with-margin-top-and-line-after-break-2.html
|
| @@ -0,0 +1,21 @@
|
| +<!DOCTYPE html>
|
| +<p>There should be a cyan square in the bottom right corner of a blue rectangle.</p>
|
| +<div id="multicol" style="position:relative; columns:3; line-height:20px; orphans:1; widows:1; background:blue;">
|
| + <br>
|
| + <br>
|
| + <br>
|
| + <br>
|
| + <div id="elm" style="float:right; margin-top:30px; width:40px; line-height:40px; background:cyan;">
|
| + <br>
|
| + </div>
|
| +</div>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<script>
|
| +test(() => {
|
| + var multicol = document.getElementById("multicol");
|
| + var elm = document.getElementById("elm");
|
| + assert_equals(multicol.offsetHeight, 70);
|
| + assert_equals(elm.offsetTop, 30);
|
| +}, "Float that should fit its top margin together with the border box.");
|
| +</script>
|
|
|