mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +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 region with position: relative</title>
|
|
<link href="mailto:rhauck@adobe.com" rel="author" title="Rebecca Hauck">
|
|
<link href="mailto:dalcala@adobe.com" rel="author" title="David Alcala">
|
|
<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/#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-010-ref.htm" rel="match">
|
|
<meta content="This test checks that the transform can be applied on relative positioned region." name="assert">
|
|
<style>
|
|
#named-flow {
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: green;
|
|
flow-into: f;
|
|
}
|
|
#region {
|
|
width: 200px;
|
|
height: 200px;
|
|
position: relative;
|
|
left: -50px;
|
|
flow-from: f;
|
|
transform: rotate(90deg);
|
|
}
|
|
#failure {
|
|
position: absolute;
|
|
width: 98px;
|
|
height: 98px;
|
|
left: 60px;
|
|
top: 50px;
|
|
background-color: red;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>The test passes if you see a green square and no red.</p>
|
|
<div id="failure"></div>
|
|
<div id="named-flow"></div>
|
|
<div id="region"></div>
|
|
|
|
</body></html> |