mirror of
https://github.com/servo/servo.git
synced 2025-08-12 17:05: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,43 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Regions: Named flow content that has a transformed parent outside of the named flow</title>
|
||||
<link href="mailto:dalcala@adobe.com" rel="author" title="David Alcala">
|
||||
<link href="mailto:mibalan@adobe.com" rel="reviewer" title="Mihai Balan">
|
||||
<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/#two-d-transform-functions" rel="help">
|
||||
<link href="reference/regions-transforms-001-ref.htm" rel="match">
|
||||
<meta content="This tests checks that when a transform is applied to a parent outside of the named
|
||||
flow but has child in the named flow, the child is not transformed along with the parent." name="assert">
|
||||
<style>
|
||||
#parent {
|
||||
margin-top: -10px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
background-color: red;
|
||||
transform: translateX(-50px);
|
||||
}
|
||||
#child {
|
||||
background-color: green;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
flow-into: f;
|
||||
}
|
||||
#region {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-color: red;
|
||||
flow-from: f;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>The test passes if you see a green square and no red.</p>
|
||||
<div id="parent">
|
||||
<div id="child"></div>
|
||||
</div>
|
||||
<div id="region"></div>
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue