mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +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
|
@ -0,0 +1,50 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<title>CSS Regions: row flex container fragmentation</title>
|
||||
<link href="mailto:badea@adobe.com" rel="author" title="Catalin Badea" />
|
||||
<link href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" rel="help" />
|
||||
<link href="http://www.w3.org/TR/css3-regions/#the-flow-from-property" rel="help" />
|
||||
<link href="http://www.w3.org/TR/css-flexbox-1/#layout-algorithm" rel="help" />
|
||||
<link href="http://www.w3.org/TR/css-flexbox-1/#pagination" rel="help" />
|
||||
<meta content="ahem" name="flags" />
|
||||
<meta content="Test checks that a flex container with row flow is split between regions." name="assert" />
|
||||
<link href="reference/row-flexbox-break-ref.xht" rel="match" />
|
||||
<style>
|
||||
.flex {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flow-into: flow;
|
||||
}
|
||||
|
||||
.region {
|
||||
flow-from: flow;
|
||||
height: 40px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.item {
|
||||
font-family: Ahem;
|
||||
font-size: 20px;
|
||||
line-height: 1em;
|
||||
color: green;
|
||||
}
|
||||
|
||||
.red {
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<ul>
|
||||
<li>Test passes if you see two horizontal green stripes on the same horizontal line.</li>
|
||||
<li>You shouldn't see any red.</li>
|
||||
</ul>
|
||||
<div class="flex">
|
||||
<div class="item">XX<br />XX<br />XX<br />XX<br /></div>
|
||||
<div class="item">XX<br />XX<br />XX<br />XX<br /></div>
|
||||
</div>
|
||||
<div class="region"><p class="red"> </p></div>
|
||||
<div class="region"><p class="red"> </p></div>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue