blob: a445d59b7bf5c20af9fb43f4f59e17f97f79a7e9 (
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
51
52
53
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>CSS Regions: animating content flowed into a region</title>
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
<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/#transform-functions" rel="help" />
<link href="http://www.w3.org/TR/css3-animations/#animations" rel="help" />
<meta content="Test checks that content that has an animated 3D transform renders and animates when flowed in a region." name="assert" />
<meta content="ahem animated" name="flags" />
<!-- TODO Determine if it's OK for this test to be a ref-test or it should only be a manual one. -->
<link href="reference/animations-001-ref.xht" rel="match" />
<link href="support/animations.css" rel="stylesheet" />
<style>
.transformed {
transform: rotateZ(45deg);
}
.flow {
flow-into: f;
color: green;
font-family: Ahem;
font-size: 20px;
line-height: 1em;
}
.region {
flow-from: f;
width: 100px;
height: 100px;
background-color: lightblue;
}
.region p {
background-color: red;
height: 50%;
}
</style>
</head>
<body>
<p>Test passes if you see a green square rotating once on top of a static blue square and no red.</p>
<div class="region">
<p> </p>
</div>
<div class="transformed flow rotate once">
xxxxx<br />
xxxxx<br />
xxxxx<br />
xxxxx<br />
xxxxx<br />
</div>
</body></html>
|