aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/html/regions-transforms-004.htm
blob: 084e2f144cc8a460e4adf01690165f980a2b886b (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
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html><head>
    <meta charset="UTF-8">
    <title>CSS Regions: Transformed region using a 3D transform</title>
    <link href="mailto:dalcala@adobe.com" rel="author" title="David Alcala">
    <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/#the-flow-from-property" rel="help">
    <link href="http://www.w3.org/TR/css-transforms-1/#three-d-transform-functions" rel="help">
    <link href="reference/regions-transforms-001-ref.htm" rel="match">
    <meta content="This test checks that a 3D transform can be applied to a region" name="assert">
    <style>
   
    #named-flow {
        width: 75px;
        height: 75px;
        background-color: red;
        border-top: 25px solid green;
        border-right: 25px solid green;
        flow-into: f;
    }
    #region {
        width: 100px;
        height: 100px;
        margin
        background-color: red;
        flow-from: f;
        transform:  rotate3d(1,1,0,180deg);
    }
    #square {
        position: absolute;
        left: 33px;
        top: 50px;
        width: 75px;
        height: 75px;
        background-color: green;
    }
    #failure1, #failure2 {
        position: absolute;
        background-color: red;
    }
    #failure1 {
        width: 25px;
        height: 100px;
    }
    #failure2 {
        width: 100px;
        height: 25px;
        top: 125px;
    }
    </style>
</head>
<body>
    <p>The test passes if you see a green square and no red.</p>
    
    <div id="failure1"></div>
    <div id="failure2"></div>
    <div id="named-flow"></div>
    <div id="region"></div>
    <div id="square"></div>

</body></html>