mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
47
tests/wpt/css-tests/css-flexbox-1_dev/html/flex-box-wrap.htm
Normal file
47
tests/wpt/css-tests/css-flexbox-1_dev/html/flex-box-wrap.htm
Normal file
|
@ -0,0 +1,47 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<title>CSS Flexbox Test: flex-wrap: wrap</title>
|
||||
<link href="mailto:tokuda109@gmail.com" rel="author" title="Tsuyoshi Tokuda">
|
||||
<link href="http://www.w3.org/TR/css-flexbox-1/#propdef-flex-wrap" rel="help">
|
||||
<link href="reference/flex-box-wrap-ref.htm" rel="match">
|
||||
<meta content="" name="flags">
|
||||
<meta content="the test passes if you see green box." name="assert">
|
||||
<style type="text/css">
|
||||
|
||||
.flex-box {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin: 0;
|
||||
padding-left: 0;
|
||||
width: 200px;
|
||||
}
|
||||
.flex-item,
|
||||
.error {
|
||||
list-style-type: none;
|
||||
width: 120px;
|
||||
height: 100px;
|
||||
background-color: green;
|
||||
}
|
||||
.error {
|
||||
position: absolute;
|
||||
top: 100px;
|
||||
left: 0;
|
||||
background-color: red;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>There should be a green block with no red.</p>
|
||||
|
||||
<ul class="flex-box">
|
||||
<li class="flex-item">width: 120px</li>
|
||||
<li class="flex-item">width: 120px</li>
|
||||
<li class="error"></li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue