summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/css3/parsing-css3-nthchild-expected.txt
blob: daee85cf57d8d6061c1ddf7c45d1f291f8421328 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SUCCESS

Rules from the stylesheet:

#a:nth-child(n-1) { color: green; }
#b:nth-child(n- 10) { color: green; }
#g:nth-child(-n-1) { color: green; }
#h:nth-child(-n- 10) { color: green; }
#n:nth-child(-n
    - 1) { color: green; }
#o:nth-child(-n
    +13) { color: green; }
Expected result:

#a:nth-child(n-1) { color: green; }
#b:nth-child(n- 10) { color: green; }
#g:nth-child(-n-1) { color: green; }
#h:nth-child(-n- 10) { color: green; }
#n:nth-child(-n
    - 1) { color: green; }
#o:nth-child(-n
    +13) { color: green; }