mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35: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>
|
||||
<html><head>
|
||||
<title>CSS Regions: Transforms on both the named flow content and the region</title>
|
||||
<link href="mailto:rhauck@adobe.com" rel="author" title="Rebecca Hauck">
|
||||
<link href="mailto:mibalan@adobe.com" rel="reviewer author" 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/#the-flow-from-property" rel="help">
|
||||
<link href="http://www.w3.org/TR/css-transforms-1/#two-d-transform-functions" rel="help">
|
||||
<meta content="ahem" name="flags">
|
||||
<meta content="Test checks that if both the content flowed in a region and the region have a
|
||||
transform applied, they are properly composed. More specifically, in this test
|
||||
the content should appear as rotated 180 degrees." name="assert">
|
||||
<link href="reference/regions-transforms-001-ref.htm" rel="match">
|
||||
<style>
|
||||
.ahem {
|
||||
font-family: Ahem;
|
||||
font-size: 20px;
|
||||
line-height: 20px;
|
||||
}
|
||||
#named-flow {
|
||||
flow-into: f;
|
||||
transform: rotate(90deg);
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
color: red;
|
||||
background-color: green;
|
||||
}
|
||||
#region {
|
||||
flow-from: f;
|
||||
transform: rotate(90deg);
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
#green-rect {
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
height: 20px;
|
||||
background-color: green;
|
||||
top: 130px;
|
||||
left: 8px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>The test passes if you see a green square and no red.</p>
|
||||
<div class="ahem" id="named-flow">XXXXX</div>
|
||||
<div id="region"></div>
|
||||
<div id="green-rect"></div>
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue