summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/floats/new-fc-relayout.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/floats/new-fc-relayout.html')
-rw-r--r--testing/web-platform/tests/css/CSS2/floats/new-fc-relayout.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/floats/new-fc-relayout.html b/testing/web-platform/tests/css/CSS2/floats/new-fc-relayout.html
new file mode 100644
index 0000000000..97d8b9a2ff
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/floats/new-fc-relayout.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<title>New formatting context relayout</title>
+<link rel="author" title="Ian Kilpatrick" href="ikilpatrick@chromium.org">
+<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/2452">
+<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
+<p>Test passes if there is a filled green square.</p>
+<div style="width: 100px; line-height: 0;">
+ <div style="float: right; width: 50px; height: 50px; background: green;"></div>
+ <div style="float: right; width: 75px; height: 50px; background: green;"></div>
+ <div style="overflow: hidden;">
+ <div style="display: inline-block; width: 25px; height: 75px; background: green;"></div>
+ <div style="display: inline-block; width: 25px; height: 25px; background: green;"></div>
+ </div>
+ <div style="position: relative; width: 25px; height: 50px; background: green; top: -100px; left: 25px;"></div>
+</div>