summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/flexbox_item-top-float-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/flexbox_item-top-float-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-flexbox/flexbox_item-top-float-ref.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/flexbox_item-top-float-ref.html b/testing/web-platform/tests/css/css-flexbox/flexbox_item-top-float-ref.html
new file mode 100644
index 0000000000..88dd493afc
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/flexbox_item-top-float-ref.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<title>flexbox | floated item</title>
+<link rel="author" href="http://opera.com" title="Opera Software">
+<style>
+div {
+ background: black;
+ margin: 1em;
+ width: 400px;
+}
+p {
+ background: #3366cc;
+ margin: 2em;
+ width: 2em;
+ height: 2em;
+ float: left;
+}
+div::after {
+ content: "";
+ clear: both;
+ display: block;
+}
+</style>
+
+<div>
+ <p></p>
+ <p></p>
+ <p></p>
+ <p></p>
+</div>