mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +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,77 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<title>CSS Test: Multiple named flows multi-column containers with
|
||||
unspecified width, non-text content flowing into multiple
|
||||
overlapping regions</title>
|
||||
<link href="mailto:rhauck@adobe.com" rel="author" title="Rebecca Hauck">
|
||||
<!-- Reviewed on Github on 09-26-2013: https://github.com/w3c/csswg-test/pull/89 -->
|
||||
<link href="mailto:mibalan@adobe.com" rel="reviewer" title="Mihai Balan">
|
||||
<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/css3-multicol/#columns" rel="help">
|
||||
<link href="reference/regions-multicol-019-ref.htm" rel="match">
|
||||
<meta content="This test checks multiple named flow multi-column
|
||||
containers with unspecified width and non-text content flow
|
||||
into multiple overlapping regions." name="assert">
|
||||
<style type="text/css">
|
||||
.named-flow-multicol {
|
||||
columns: 2;
|
||||
column-gap: 50px;
|
||||
}
|
||||
.bar {
|
||||
width: 50px;
|
||||
height: 200px;
|
||||
}
|
||||
.green {
|
||||
background-color: green;
|
||||
}
|
||||
.blue {
|
||||
background-color: blue;
|
||||
}
|
||||
#named-flow-1 {
|
||||
flow-into: multicol-1;
|
||||
}
|
||||
#named-flow-2 {
|
||||
flow-into: multicol-2;
|
||||
}
|
||||
#region-1, #region-2 {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
}
|
||||
#region-1 {
|
||||
left: 20px;
|
||||
color: green;
|
||||
flow-from: multicol-1;
|
||||
}
|
||||
#region-2 {
|
||||
left: 70px;
|
||||
flow-from: multicol-2;
|
||||
}
|
||||
#failure {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
left: 20px;
|
||||
background-color: red;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
z-index: -1;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>The test passes if there is a square with four vertical
|
||||
stripes alternating green and blue, and no red.</p>
|
||||
<div id="named-flow-1" class="named-flow-multicol">
|
||||
<div class="green bar"></div>
|
||||
<div class="green bar"></div>
|
||||
</div>
|
||||
<div id="named-flow-2" class="named-flow-multicol">
|
||||
<div class="blue bar"></div>
|
||||
<div class="blue bar"></div>
|
||||
</div>
|
||||
<div id="region-1"></div>
|
||||
<div id="region-2"></div>
|
||||
<div id="failure"></div>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue