Index: third_party/WebKit/LayoutTests/fast/multicol/out-of-flow/offset-properties.html |
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/out-of-flow/offset-properties.html b/third_party/WebKit/LayoutTests/fast/multicol/out-of-flow/offset-properties.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..68feb6849c1a98dee8280d04f2779baa5ff5f845 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/multicol/out-of-flow/offset-properties.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<script src="../../../resources/testharness.js"></script> |
+<script src="../../../resources/testharnessreport.js"></script> |
+<div style="position:relative; border:1px solid;"> |
+ <div style="columns:3; column-gap:0; column-fill:auto; margin:100px; width:300px; height:50px;"> |
+ <div style="height:70px;"></div> |
+ <div id="elm" style="position:absolute;"></div> |
+ </div> |
+</div> |
+<script> |
+ test(function() { |
+ assert_equals(document.getElementById('elm').offsetLeft, 200); |
+ assert_equals(document.getElementById('elm').offsetTop, 120); |
+ }, "auto-positioned abspos, containing block on the outside of the multicol."); |
+</script> |