aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-flexbox-1_dev/html/flex-container-margin.htm
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2015-08-21 17:46:44 +0200
committerMs2ger <Ms2ger@gmail.com>2015-08-21 18:40:37 +0200
commitf235d49372ba86d6d01530fe1b9ebdf8bea74468 (patch)
tree13d3535ee53fcae1b8d61265e3d97adb00dd60eb /tests/wpt/css-tests/css-flexbox-1_dev/html/flex-container-margin.htm
parent7c45ff8e05a6ebd21f9aa5c360e997a01d48b1fc (diff)
downloadservo-f235d49372ba86d6d01530fe1b9ebdf8bea74468.tar.gz
servo-f235d49372ba86d6d01530fe1b9ebdf8bea74468.zip
Update CSS tests to revision d674587d6ae7d2e231d632785559f2613d554eb0
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