mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45: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,68 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<meta charset="UTF-8">
|
||||
<title></title>
|
||||
<title>CSS Regions: 3D transform on named flow content with perspective()</title>
|
||||
<link href="mailto:dalcala@adobe.com" rel="author" title="David Alcala">
|
||||
<link href="mailto:rhauck@adobe.com" rel="reviewer" title="Rebecca Hauck"> <!-- 07-15-2013 -->
|
||||
<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">
|
||||
<link href="reference/regions-transforms-016-ref.htm" rel="match">
|
||||
<meta content="This test checks that a 3D transform is applied with perspective to named flow content." name="assert">
|
||||
<style>
|
||||
#region {
|
||||
width: 300px;
|
||||
height: 300px;
|
||||
position: relative;
|
||||
flow-from: f;
|
||||
}
|
||||
#named-flow {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
margin: 0 auto 60px;
|
||||
background-color: green;
|
||||
flow-into: f;
|
||||
transform: perspective(600px) rotateX(45deg);
|
||||
}
|
||||
#div-red-parent {
|
||||
position: relative;
|
||||
}
|
||||
.div-red {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
position: absolute;
|
||||
background-color: red;
|
||||
}
|
||||
#div-red1 {
|
||||
left: 64px;
|
||||
top: 38px;
|
||||
}
|
||||
#div-red2 {
|
||||
left: 191px;
|
||||
top: 38px;
|
||||
}
|
||||
#div-red3 {
|
||||
left: 48px;
|
||||
top: 131px;
|
||||
}
|
||||
#div-red4 {
|
||||
left: 207px;
|
||||
top: 131px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>The test passes if you see a green trapezoid and no red.</p>
|
||||
<!-- This test fails in WebKit. See this bug: https://bugs.webkit.org/show_bug.cgi?id=114293 -->
|
||||
<div id="div-red-parent">
|
||||
<div id="div-red1" class="div-red"></div>
|
||||
<div id="div-red2" class="div-red"></div>
|
||||
<div id="div-red3" class="div-red"></div>
|
||||
<div id="div-red4" class="div-red"></div>
|
||||
</div>
|
||||
<div id="named-flow"></div>
|
||||
<div id="region"></div>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue