aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-flexbox-1_dev/html/flex-container-margin.htm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/css-tests/css-flexbox-1_dev/html/flex-container-margin.htm')
-rw-r--r--tests/wpt/css-tests/css-flexbox-1_dev/html/flex-container-margin.htm30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/wpt/css-tests/css-flexbox-1_dev/html/flex-container-margin.htm b/tests/wpt/css-tests/css-flexbox-1_dev/html/flex-container-margin.htm
new file mode 100644
index 00000000000..9f4aeea2e1b
--- /dev/null
+++ b/tests/wpt/css-tests/css-flexbox-1_dev/html/flex-container-margin.htm
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html><head>
+<title>CSS Test: flex-container-margin-not-collapse-with-content-margin</title>
+<link href="http://www.github.com/sskyy" rel="author" title="houzhenyu">
+<link href="https://drafts.csswg.org/css-flexbox-1/#item-margins" rel="help">
+<link href="reference/flex-container-margin-ref.htm" rel="match">
+<meta content="The margins of adjacent flex items do not collapse." name="assert">
+<style>
+ .flex-container{
+ display: flex;
+ margin:20px;
+ background: #333;
+ }
+ .flex-item{
+ width:50px;
+ height:50px;
+ margin:20px;
+ background: #eee;
+ }
+</style>
+</head>
+<body>
+ <div class="flex-container">
+ <div class="flex-item"></div>
+ <div class="flex-item"></div>
+ <div class="flex-item"></div>
+ </div>
+
+
+</body></html> \ No newline at end of file