mirror of
https://github.com/servo/servo.git
synced 2025-08-19 04: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,77 @@
|
|||
<!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 Test: One named flow muticolumn container, text content flowing into
|
||||
multiple regions with content overflowing last region</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-013-ref.xht" rel="match" />
|
||||
<meta content="ahem" name="flags" />
|
||||
<meta content="This test checks that text content flows through multiple
|
||||
regions from the named flow multi-column container and that
|
||||
it overflows the last region in the region chain visibly." name="assert" />
|
||||
<style type="text/css">
|
||||
#named-flow-multicol {
|
||||
font-family: Ahem;
|
||||
font-size: 25px;
|
||||
line-height: 1em;
|
||||
color: green;
|
||||
columns: 2;
|
||||
column-gap: 10px;
|
||||
flow-into: multicol;
|
||||
}
|
||||
#region-1 , #region-2 {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
width: 110px;
|
||||
flow-from: multicol;
|
||||
}
|
||||
#region-1 {
|
||||
left: 20px;
|
||||
height: 200px;
|
||||
}
|
||||
#region-2 {
|
||||
left: 140px;
|
||||
height: 100px;
|
||||
}
|
||||
.failure {
|
||||
position: absolute;
|
||||
background-color: red;
|
||||
top: 50px;
|
||||
width: 50px;
|
||||
height: 200px;
|
||||
z-index: -1;
|
||||
}
|
||||
#bar-1 {
|
||||
left: 20px;
|
||||
}
|
||||
#bar-2 {
|
||||
left: 80px;
|
||||
}
|
||||
#bar-3 {
|
||||
left: 140px;
|
||||
}
|
||||
#bar-4 {
|
||||
left: 200px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>The test passes if there are four green vertical bars and no red.</p>
|
||||
<div id="named-flow-multicol">
|
||||
XX XX XX XX XX XX XX XX
|
||||
XX XX XX XX XX XX XX XX
|
||||
XX XX XX XX XX XX XX XX
|
||||
XX XX XX XX XX XX XX XX
|
||||
</div>
|
||||
<div id="region-1"></div>
|
||||
<div id="region-2"></div>
|
||||
<div id="bar-1" class="failure"></div>
|
||||
<div id="bar-2" class="failure"></div>
|
||||
<div id="bar-3" class="failure"></div>
|
||||
<div id="bar-4" class="failure"></div>
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue