summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/flexbox_item-float-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/flexbox_item-float-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-flexbox/flexbox_item-float-ref.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/flexbox_item-float-ref.html b/testing/web-platform/tests/css/css-flexbox/flexbox_item-float-ref.html
new file mode 100644
index 0000000000..ae8cb14036
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/flexbox_item-float-ref.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<title>flexbox | floated item</title>
+<link rel="author" href="http://opera.com" title="Opera Software">
+<style>
+div {
+ background: black;
+ margin: 1em;
+}
+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>