summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/table/balance-table-with-fractional-height-row.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-multicol/table/balance-table-with-fractional-height-row.html')
-rw-r--r--testing/web-platform/tests/css/css-multicol/table/balance-table-with-fractional-height-row.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-multicol/table/balance-table-with-fractional-height-row.html b/testing/web-platform/tests/css/css-multicol/table/balance-table-with-fractional-height-row.html
new file mode 100644
index 0000000000..434dc52ea3
--- /dev/null
+++ b/testing/web-platform/tests/css/css-multicol/table/balance-table-with-fractional-height-row.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
+<link rel="help" href="https://drafts.csswg.org/css-multicol/#filling-columns">
+<div id="multicol" style="columns:2; line-height:100px;">
+ <div style="display:table-row; height:4.9999px;"></div>
+ <div style="display:table-row;">
+ <br>
+ </div>
+</div>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script>
+ test(()=> {
+ assert_equals(multicol.getBoundingClientRect().height, 100);
+ }, "If we have room for the line, we have room for all we need");
+</script>