mirror of
https://github.com/servo/servo.git
synced 2025-08-08 23: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,49 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<title>CSS Regions: 3D transform on named flow (text) content that overflows a region</title>
|
||||
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan">
|
||||
<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/#the-flow-from-property" rel="help">
|
||||
<link href="http://www.w3.org/TR/css-transforms-1/#three-d-transform-functions" rel="help">
|
||||
<meta content="Test checks that content that is transformed does not clip when flowed in a region." name="assert">
|
||||
<meta content="ahem" name="flags">
|
||||
<link href="reference/regions-transforms-018-ref.htm" rel="match">
|
||||
<style>
|
||||
.ahem {
|
||||
font-family: Ahem;
|
||||
font-size: 20px;
|
||||
line-height: 100px;
|
||||
}
|
||||
#named-flow {
|
||||
flow-into: f;
|
||||
transform: rotateZ(90deg);
|
||||
color: green;
|
||||
}
|
||||
#region {
|
||||
flow-from: f;
|
||||
border-bottom: 20px solid green;
|
||||
width: 100px;
|
||||
height: 80px;
|
||||
}
|
||||
#failure {
|
||||
position: absolute;
|
||||
width: 18px;
|
||||
height: 78px;
|
||||
background-color: red;
|
||||
top: 151px;
|
||||
left: 49px;
|
||||
z-index: -1;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>The test passes if you see a green cross and no red.</p>
|
||||
<div class="ahem" id="named-flow">
|
||||
XXXXXXXXX
|
||||
</div>
|
||||
<div id="region"></div>
|
||||
<div id="failure"></div>
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue