tizen beta release
[framework/web/webkit-efl.git] / LayoutTests / fast / css / pseudo-any-expected.txt
1 This page tests :-webkit-any. This window needs to be focused for the :focus tests to pass.
2 h1
3
4 h1
5
6 div
7 foo
8 b i
9 p
10
11 a span
12 li
13 u s
14
15 div span
16 div~q q+q q>span
17 first
18
19 last
20
21
22 h1
23 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 0, 255)'
24
25 #div1
26 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 0, 255)'
27
28 Element: DIV
29 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgba(0, 0, 0, 0)'
30
31 b
32 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 0, 255)'
33
34 i
35 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 0, 255)'
36
37 p
38 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 0, 255)'
39
40 #span1
41 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgba(0, 0, 0, 0)'
42
43 span:focus
44 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 0, 255)'
45
46 a
47 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 0, 255)'
48
49 a:focus
50 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 128, 0)'
51
52 .foo
53 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 0, 255)'
54
55 #bar
56 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 0, 255)'
57
58 h1.h1class
59 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 128, 0)'
60
61 PASS document.querySelectorAll('#container-div :-webkit-any([href],input[type],input[name])').length is 2
62 PASS document.querySelectorAll('#container-div :-webkit-any(div,a):-webkit-any([type],[href],[name])').length is 2
63 PASS document.querySelectorAll('#container-div :-webkit-any(:link, :not(a))').length is 3
64
65 #container-div input
66 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 128, 0)'
67
68 #container-div a[href]
69 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 128, 0)'
70
71 #container-div div
72 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 128, 0)'
73
74 #container-div a[name]
75 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgba(0, 0, 0, 0)'
76
77 s
78 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgba(0, 0, 0, 0)'
79
80 div span
81 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 0, 255)'
82
83 div ~ q
84 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 0, 255)'
85
86 q+q
87 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 0, 255)'
88
89 q>span
90 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 0, 255)'
91
92 #test-last-child :first-child
93 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 0, 255)'
94
95 #test-last-child :last-child
96 PASS document.defaultView.getComputedStyle(element, null).getPropertyValue('background-color') is 'rgb(0, 128, 0)'
97