mirror of
https://github.com/servo/servo.git
synced 2025-08-19 04:15:33 +01:00
Update web-platform-tests to revision 58b72393db0bd273bb93268c33666cf893feb985
This commit is contained in:
parent
43a4f01647
commit
64e0a52537
12717 changed files with 59835 additions and 59820 deletions
|
@ -0,0 +1,50 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Regions: flowing auto-height flexbox elements in region</title>
|
||||
<link rel="author" title="Catalin Badea" href="mailto:badea@adobe.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-regions/#flow-from">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-containers">
|
||||
<meta name="flags" content="ahem">
|
||||
<meta name="assert" content="Test that flex containers with auto height are flowed inside a namedflow.">
|
||||
<link rel="match" href="reference/regions-flexbox-001-ref.html">
|
||||
<style>
|
||||
.flex {
|
||||
display: flex;
|
||||
font-family: Ahem;
|
||||
font-size: 20px;
|
||||
line-height: 1em;
|
||||
color: green;
|
||||
flow-into: flow;
|
||||
}
|
||||
|
||||
.region {
|
||||
height: 150px;
|
||||
width: 200px;
|
||||
background-color: gray;
|
||||
flow-from: flow;
|
||||
}
|
||||
|
||||
.red {
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<ul>
|
||||
<li>Test passes if you see a green square inside a gray rectangle.</li>
|
||||
<li>You shouldn't see any red.</li>
|
||||
</ul>
|
||||
<div class="flex">
|
||||
XXXXX<br>
|
||||
XXXXX<br>
|
||||
XXXXX<br>
|
||||
XXXXX<br>
|
||||
XXXXX
|
||||
</div>
|
||||
<div class="region">
|
||||
<p class="red"> </p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue