mirror of
https://github.com/servo/servo.git
synced 2025-07-10 00:43:39 +01:00
44 lines
No EOL
1.5 KiB
HTML
44 lines
No EOL
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<meta charset="UTF-8">
|
|
<title>CSS Regions: Transformed named flow content element that has a child</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/#flow-from" 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 test checks that the child is transformed along with the parent when the
|
|
transform is applied to a named flow content node" name="assert">
|
|
<style>
|
|
#named-flow-parent {
|
|
width: 50px;
|
|
height: 50px;
|
|
background-color: white;
|
|
flow-into: f;
|
|
transform: scaleX(2);
|
|
transform-origin: left top;
|
|
}
|
|
#named-flow-child {
|
|
width: 50px;
|
|
height: 100px;
|
|
background-color: green;
|
|
}
|
|
#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="named-flow-parent">
|
|
<div id="named-flow-child"></div>
|
|
</div>
|
|
<div id="region"></div>
|
|
|
|
|
|
</body></html> |