mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update CSS tests to revision d13905941293af83ea8c3c1750dba652e0423fb0
This commit is contained in:
parent
b492a3e8b1
commit
5450053b02
842 changed files with 42936 additions and 27 deletions
|
@ -0,0 +1,83 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Regions: Transforms on multiple named flow (text) content nodes that break across multiple regions</title>
|
||||
<link href="mailto:dalcala@adobe.com" rel="author" title="David Alcala">
|
||||
<link href="mailto:rhauck@adobe.com" rel="author" title="Rebecca Hauck">
|
||||
<link href="mailto:mibalan@adobe.com" rel="reviewer" title="Mihai Balan"> <!-- 2013-07-24 -->
|
||||
<link href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" rel="help">
|
||||
<link href="http://www.w3.org/TR/css3-regions/#flow-from" rel="help">
|
||||
<link href="http://www.w3.org/TR/css-transforms-1/#two-d-transform-functions" rel="help">
|
||||
<link href="http://www.w3.org/TR/css3-break/#transforms" rel="help">
|
||||
<link href="reference/regions-transforms-020-ref.htm" rel="match">
|
||||
<meta content="ahem" name="flags">
|
||||
<meta content="This test checks that separate transforms can be applied to each named flow content
|
||||
text node that breaks across multiple regions" name="assert">
|
||||
<style>
|
||||
.ahem {
|
||||
font-family: Ahem;
|
||||
font-size: 10px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.named-flow {
|
||||
width: 100px;
|
||||
color: green;
|
||||
flow-into: f;
|
||||
}
|
||||
#named-flow-1 {
|
||||
margin-left: -50px;
|
||||
transform: translateX(50px);
|
||||
}
|
||||
#named-flow-2 {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
.region {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
margin-left: 10px;
|
||||
float: left;
|
||||
flow-from: f;
|
||||
}
|
||||
.failure {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
position: absolute;
|
||||
float: left;
|
||||
margin-left: 10px;
|
||||
background-color: green;
|
||||
z-index: -1;
|
||||
}
|
||||
.left {
|
||||
color: red;
|
||||
}
|
||||
.right {
|
||||
left: 118px;
|
||||
}
|
||||
.vertical-bar {
|
||||
width: 10px;
|
||||
height: 100px;
|
||||
float: left;
|
||||
background-color: red;
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>The test passes if you see two green squares and no red.</p>
|
||||
<div id="named-flow-1" class="ahem named-flow">XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX</div>
|
||||
<div id="named-flow-2" class="ahem named-flow">XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX</div>
|
||||
<div class="region"></div>
|
||||
<div class="region"></div>
|
||||
<div class="ahem failure left">
|
||||
XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX
|
||||
</div>
|
||||
<div class="ahem failure right">
|
||||
<div class="vertical-bar"></div>
|
||||
<div class="vertical-bar"></div>
|
||||
<div class="vertical-bar"></div>
|
||||
<div class="vertical-bar"></div>
|
||||
<div class="vertical-bar"></div>
|
||||
</div>
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue