blob: ffcea7f6d2954fdde5a4f298fe441fc036571898 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
<!DOCTYPE html>
<html><head>
<title>CSS Regions: Transforms on both the named flow content and the region</title>
<link href="mailto:rhauck@adobe.com" rel="author" title="Rebecca Hauck">
<link href="mailto:mibalan@adobe.com" rel="reviewer author" 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">
<meta content="ahem" name="flags">
<meta content="Test checks that if both the content flowed in a region and the region have a
transform applied, they are properly composed. More specifically, in this test
the content should appear as rotated 180 degrees." name="assert">
<link href="reference/regions-transforms-001-ref.htm" rel="match">
<style>
.ahem {
font-family: Ahem;
font-size: 20px;
line-height: 20px;
}
#named-flow {
flow-into: f;
transform: rotate(90deg);
width: 100px;
height: 100px;
color: red;
background-color: green;
}
#region {
flow-from: f;
transform: rotate(90deg);
width: 100px;
height: 100px;
}
#green-rect {
position: absolute;
width: 100px;
height: 20px;
background-color: green;
top: 130px;
left: 8px;
}
</style>
</head>
<body>
<p>The test passes if you see a green square and no red.</p>
<div class="ahem" id="named-flow">XXXXX</div>
<div id="region"></div>
<div id="green-rect"></div>
</body></html>
|