mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
54 lines
No EOL
1.9 KiB
HTML
54 lines
No EOL
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<meta charset="UTF-8">
|
|
<title>CSS Regions: Transforms on multiple named flow (non-text) content nodes that break across multiple regions</title>
|
|
<link href="mailto:dalcala@adobe.com" rel="author" title="David Alcala">
|
|
<link href="mailto:rhauck@adobe.com" rel="author" title="Rebecca Hauck">
|
|
<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="http://www.w3.org/TR/css3-break/#transforms" rel="help">
|
|
<link href="reference/regions-transforms-020-ref.htm" rel="match">
|
|
<meta content="This test checks that separate transforms can be applied to each named flow content
|
|
node that breaks across multiple regions and that each fragment has its own transform origin." name="assert">
|
|
<style>
|
|
.named-flow {
|
|
float: left;
|
|
background-color: green;
|
|
flow-into: f;
|
|
}
|
|
#named-flow-1 {
|
|
margin-top: 25px;
|
|
margin-left: 25px;
|
|
width: 50px;
|
|
height: 50px;
|
|
transform: scale(2);
|
|
transform-origin: center center;
|
|
}
|
|
#named-flow-2 {
|
|
width: 100px;
|
|
height: 50px;
|
|
margin-top: 25px;
|
|
transform-origin: top left;
|
|
transform: scaleY(2);
|
|
}
|
|
.region {
|
|
width: 100px;
|
|
height: 100px;
|
|
margin-left: 10px;
|
|
float: left;
|
|
background-color: red;
|
|
flow-from: f;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>The test passes if you see two green squares and no red.</p>
|
|
<div id="named-flow-1" class="named-flow"></div>
|
|
<div id="named-flow-2" class="named-flow"></div>
|
|
<div class="region"></div>
|
|
<div class="region"></div>
|
|
|
|
|
|
</body></html> |