aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flex-items-flexibility.xht
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2015-10-06 12:33:05 +0200
committerMs2ger <Ms2ger@gmail.com>2015-10-06 17:04:25 +0200
commit145aea3eeb48dcd48b5fe475d011b704dc46030c (patch)
treef333a4cda84b9a4d285d5c2e3a7eb77889e2aad1 /tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flex-items-flexibility.xht
parentad94ef5a96e954f1a660cdd3a2ff03e0787f690b (diff)
downloadservo-145aea3eeb48dcd48b5fe475d011b704dc46030c.tar.gz
servo-145aea3eeb48dcd48b5fe475d011b704dc46030c.zip
Update CSS tests to revision 7a87ef71fc579e52d3438e009107aa442bc4021b
Diffstat (limited to 'tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flex-items-flexibility.xht')
-rw-r--r--tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flex-items-flexibility.xht22
1 files changed, 6 insertions, 16 deletions
diff --git a/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flex-items-flexibility.xht b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flex-items-flexibility.xht
index 15602acb5e0..c77e60cdd7d 100644
--- a/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flex-items-flexibility.xht
+++ b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flex-items-flexibility.xht
@@ -4,9 +4,6 @@
<link href="mailto:zhangcs_423@163.com" rel="author" title="Chunsheng Zhang" />
<style type="text/css">
#container {
- display: flex;
- justify-content: center;
- align-items: center;
border: 5px solid green;
width: 600px;
height: 200px;
@@ -16,22 +13,16 @@
top: 70px;
left: 10px;
}
- div {
- padding: 10px;
- width: 30px;
- height: 40px;
- text-align: center;
- flex: 1 0 auto;
- }
#flex {
border: 2px dotted blue;
background: green;
border-radius: 3px;
- flex: 2 0 auto;
position: absolute;
- top: 70px;
- left: 160px;
- width: 254px;
+ top: 73px;
+ left: 166.5px;
+ width: 253px;
+ height: 40px;
+ padding: 10px;
}
</style>
</head>
@@ -39,9 +30,8 @@
<p>This case tests that flex items flexibility</p>
<p>The test passes if there is no red</p>
<section id="container">
- <div></div>
<div id="flex"></div>
- <div></div>
</section>
+
</body></html> \ No newline at end of file