summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/style-resolver-cache-direction-3-expected.html
blob: ddf43c387929ecdc27039f34078f40ed4863dafa (plain)
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
<!doctype html>
<html>
<head>
<style>
.root {
    background-color: lime;
    margin: 5px;
}
.testcase {
    height: 25px;
    width: 50px;
    background-color: red;
}
.left {
    margin-left: 200px;
}
.right {
    margin-left: calc(100% - 250px);
}
</style>
</head>
<body>
    <p>This test the style is not copied from the wrong source when the direction is defined.</p>
    <div class="root">
        <div class="left testcase"></div>
        <div>
            <div class="left testcase"></div>
        </div>
    </div>
    <div class="root">
        <div class="left testcase"></div>
        <div>
            <div class="left testcase"></div>
        </div>
    </div>
    <div class="root">
        <div class="right testcase"></div>
        <div>
            <div class="right testcase"></div>
        </div>
    </div>
</body>
</html>