summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/relative-child-overflowing-column-gap.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-multicol/relative-child-overflowing-column-gap.html')
-rw-r--r--testing/web-platform/tests/css/css-multicol/relative-child-overflowing-column-gap.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-multicol/relative-child-overflowing-column-gap.html b/testing/web-platform/tests/css/css-multicol/relative-child-overflowing-column-gap.html
new file mode 100644
index 0000000000..4359e7f7a7
--- /dev/null
+++ b/testing/web-platform/tests/css/css-multicol/relative-child-overflowing-column-gap.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<title>Relative child can overflow onto the column gap area</title>
+<link rel="help" href="https://drafts.csswg.org/css-multicol/">
+<link rel="match" href="relative-child-overflowing-column-gap-ref.html">
+
+<style>
+body {
+ margin: 0px;
+}
+
+.multicol {
+ width: 200px;
+ column-count: 2;
+ column-gap: 50px;
+}
+
+.relative-layer {
+ position: relative;
+}
+
+.child {
+ width: 100px;
+ height: 100px;
+ background: green;
+}
+</style>
+<div class="multicol">
+ <div class="relative-layer">
+ <div class="child"></div>
+ </div>
+</div>