summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/selectors/nondeterministic-combinators.html
blob: 36eced3dd4a4b5a67a308256291343ecf510c9b5 (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
<html>
<head>
<style>
.a > .b .c {
  color: green;
}

.d + .e ~ .f {
  color: green;
}

</style>
</head>
<body>
<div class="a">
<div class="b">
<div class="b">
<div class="c">
This text should be green.
</div>
</div>
</div>
</div>

<div class="d"></div>
<div class="e"></div>
<div class="e"></div>
<div class="f">This text should also be green.</div>
</body>
</html>