mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +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,63 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<title>CSS Regions: perspective set on the named flow content's parent does not apply when content flows into 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="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="http://www.w3.org/TR/css-transforms-1/#perspective-property" rel="help">
|
||||
<!-- TODO: Link to fragmentation spec section about perspective, fragments and fragmentainers -
|
||||
once this gets in the spec. -->
|
||||
<meta content="Test checks that content that has a 3D transform does not respect the perspective
|
||||
set on its parent when flowed into a region." name="assert">
|
||||
<meta content="ahem" name="flags">
|
||||
<link href="reference/regions-transforms-001-ref.htm" rel="match">
|
||||
<style>
|
||||
.ahem {
|
||||
font-family: Ahem;
|
||||
font-size: 20px;
|
||||
line-height: 1em;
|
||||
}
|
||||
#parent {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
perspective: 800px;
|
||||
}
|
||||
#named-flow {
|
||||
flow-into: f;
|
||||
transform: rotateY(85deg);
|
||||
color: red;
|
||||
}
|
||||
#region {
|
||||
flow-from: f;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-color: green;
|
||||
}
|
||||
#green-rect {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
left: 53px;
|
||||
width: 10px;
|
||||
height: 100px;
|
||||
background-color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>The test passes if you see a green square and no red.</p>
|
||||
<div id="region"></div>
|
||||
<div id="parent">
|
||||
<div class="ahem" id="named-flow">
|
||||
XXXXX<br>
|
||||
XXXXX<br>
|
||||
XXXXX<br>
|
||||
XXXXX<br>
|
||||
XXXXX<br>
|
||||
</div>
|
||||
</div>
|
||||
<!-- If the red content is properly transformed, it will be hidden beneath this green div -->
|
||||
<div id="green-rect"></div>
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue