summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/css3/supports-dom-api-expected.txt
blob: 2370a9eefb67712634fa4b6a602d5ad2f3be0915 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Test window.CSS.supports()

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS CSS.supports("(display: none)") is true
PASS CSS.supports("(display: deadbeef)") is false
PASS CSS.supports("not (display: deadbeef)") is true
PASS CSS.supports("not (display: none)") is false
PASS CSS.supports("not (not (display: none))") is true
PASS CSS.supports("not (not (not (display: none)))") is false
PASS CSS.supports("(display: none) and (display: block)") is true
PASS CSS.supports("(display: none) and (display: block) and (display: inline)") is true
PASS CSS.supports("(display: none) and (display: block) and (display: deadbeef) and (display: inline)") is false
PASS CSS.supports("(display: none) or (display: inline)") is true
PASS CSS.supports("(display: none) or (display: block) or (display: inline)") is true
PASS CSS.supports("(display: none) or (display: deadbeef) or (display: inline)") is true
PASS CSS.supports("(display: ohhai) or (display: deadbeef) or (display: rainbows)") is false
PASS CSS.supports("(display: none) and (display: block) or (display: inline)") is false
PASS CSS.supports("not (display: deadbeef) and (display: block)") is false
PASS CSS.supports("(not (border: 1px 1px 1px 1px 1px solid #000)) and (display: block)") is true
PASS CSS.supports("(display: block !important) and ((display: inline) or (display: deadbeef))") is true
PASS CSS.supports("not ((not (display: block)) or ((display: none) and (deadbeef: 1px)))") is true
PASS CSS.supports("not( display: deadbeef)") is true
PASS CSS.supports("(display: none)and (   -webkit-transition: all 1s )") is true
PASS CSS.supports("(display: none)or(-webkit-transition: all 1s)") is true
PASS CSS.supports("(display: none) or(-webkit-transition: all 1s    )") is true
PASS CSS.supports("(((((((display: none)))))))") is true
PASS CSS.supports("(!important)") is false
PASS CSS.supports("not not not not (display: none)") is false
PASS CSS.supports("(top: -webkit-calc(80% - 20px))") is true
PASS CSS.supports("(background-color: rgb(0, 128, 0))") is true
PASS CSS.supports("(background: url('/blah'))") is true
PASS CSS.supports("((top: -webkit-calc(80% - 20px)) and (not (background-color: rgb(0, 128, 0)))) or (background: url('/blah'))") is true
PASS CSS.supports("(background: invalid('/blah'))") is false
PASS CSS.supports("top", "20%") is true
PASS CSS.supports("top", " 20px   ") is true
PASS CSS.supports("top", "20") is false
PASS CSS.supports("dis\nplay", "none") is false
PASS CSS.supports("display", "rainbow") is false
PASS CSS.supports("display", "url(rainbow.png)") is false
PASS CSS.supports(" background   ", "url(rainbow.png)") is true
PASS CSS.supports("background", "invalid(rainbow.png)") is false
PASS CSS.supports("background-color", "#000") is true
PASS CSS.supports("background-color", "rgba(0,0,0,0)") is true
PASS CSS.supports("background-color", "inherit") is true
PASS CSS.supports("display", "none !important") is true
PASS CSS.supports("display", "none!important") is true
PASS CSS.supports("display", "!important none") is false
PASS CSS.supports("display", "none !important ! important ") is false
PASS CSS.supports("display", "none ! important") is true
PASS CSS.supports("display", "none ! 	important") is true
PASS CSS.supports("display", "none ! \nimportant") is true
PASS CSS.supports("", "") is false
PASS CSS.supports(true, "") is false
PASS CSS.supports([], "none") is false
PASS CSS.supports("display", "") is false
PASS CSS.supports("display:", "none") is false
PASS CSS.supports("z-index", 1) is true
PASS CSS.supports("content", []) is false
PASS CSS.supports("content", "!important") is false
PASS CSS.supports("(display: none)", undefined) is false
PASS successfullyParsed is true

TEST COMPLETE