OLD | NEW |
1 Test window.CSS.supports() | 1 Test window.CSS.supports() |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS CSS.supports("(display: none)") is true | 6 PASS CSS.supports("(display: none)") is true |
7 PASS CSS.supports("(display: deadbeef)") is false | 7 PASS CSS.supports("(display: deadbeef)") is false |
8 PASS CSS.supports("not (display: deadbeef)") is true | 8 PASS CSS.supports("not (display: deadbeef)") is true |
9 PASS CSS.supports("not (display: none)") is false | 9 PASS CSS.supports("not (display: none)") is false |
10 PASS CSS.supports("not (not (display: none))") is true | 10 PASS CSS.supports("not (not (display: none))") is true |
11 PASS CSS.supports("not (not (not (display: none)))") is false | 11 PASS CSS.supports("not (not (not (display: none)))") is false |
12 PASS CSS.supports("(display: none) and (display: block)") is true | 12 PASS CSS.supports("(display: none) and (display: block)") is true |
13 PASS CSS.supports("(display: none) and (display: block) and (display: inline)")
is true | 13 PASS CSS.supports("(display: none) and (display: block) and (display: inline)")
is true |
14 PASS CSS.supports("(display: none) and (display: block) and (display: deadbeef)
and (display: inline)") is false | 14 PASS CSS.supports("(display: none) and (display: block) and (display: deadbeef)
and (display: inline)") is false |
15 PASS CSS.supports("(display: none) or (display: inline)") is true | 15 PASS CSS.supports("(display: none) or (display: inline)") is true |
16 PASS CSS.supports("(display: none) or (display: block) or (display: inline)") is
true | 16 PASS CSS.supports("(display: none) or (display: block) or (display: inline)") is
true |
17 PASS CSS.supports("(display: none) or (display: deadbeef) or (display: inline)")
is true | 17 PASS CSS.supports("(display: none) or (display: deadbeef) or (display: inline)")
is true |
18 PASS CSS.supports("(display: ohhai) or (display: deadbeef) or (display: rainbows
)") is false | 18 PASS CSS.supports("(display: ohhai) or (display: deadbeef) or (display: rainbows
)") is false |
19 PASS CSS.supports("(display: none) and (display: block) or (display: inline)") i
s false | 19 PASS CSS.supports("(display: none) and (display: block) or (display: inline)") i
s false |
20 PASS CSS.supports("not (display: deadbeef) and (display: block)") is false | 20 PASS CSS.supports("not (display: deadbeef) and (display: block)") is false |
21 PASS CSS.supports("(not (border: 1px 1px 1px 1px 1px solid #000)) and (display:
block)") is true | 21 PASS CSS.supports("(not (border: 1px 1px 1px 1px 1px solid #000)) and (display:
block)") is true |
22 PASS CSS.supports("(display: block !important) and ((display: inline) or (displa
y: deadbeef))") is true | 22 PASS CSS.supports("(display: block !important) and ((display: inline) or (displa
y: deadbeef))") is true |
23 PASS CSS.supports("not ((not (display: block)) or ((display: none) and (deadbeef
: 1px)))") is true | 23 PASS CSS.supports("not ((not (display: block)) or ((display: none) and (deadbeef
: 1px)))") is true |
24 PASS CSS.supports("not( display: deadbeef)") is true | 24 PASS CSS.supports("not( display: deadbeef)") is false |
25 PASS CSS.supports("(display: none)and ( -webkit-transition: all 1s )") is true | 25 PASS CSS.supports("(display: none)and ( -webkit-transition: all 1s )") is fals
e |
26 PASS CSS.supports("(display: none)or(-webkit-transition: all 1s)") is true | 26 PASS CSS.supports("(display: none)or(-webkit-transition: all 1s)") is false |
27 PASS CSS.supports("(display: none) or(-webkit-transition: all 1s )") is true | 27 PASS CSS.supports("(display: none) or(-webkit-transition: all 1s )") is false |
28 PASS CSS.supports("(((((((display: none)))))))") is true | 28 PASS CSS.supports("(((((((display: none)))))))") is true |
29 PASS CSS.supports("(!important)") is false | 29 PASS CSS.supports("(!important)") is false |
30 PASS CSS.supports("not not not not (display: none)") is false | 30 PASS CSS.supports("not not not not (display: none)") is false |
31 PASS CSS.supports("(top: -webkit-calc(80% - 20px))") is true | 31 PASS CSS.supports("(top: -webkit-calc(80% - 20px))") is true |
32 PASS CSS.supports("(background-color: rgb(0, 128, 0))") is true | 32 PASS CSS.supports("(background-color: rgb(0, 128, 0))") is true |
33 PASS CSS.supports("(background: url('/blah'))") is true | 33 PASS CSS.supports("(background: url('/blah'))") is true |
34 PASS CSS.supports("((top: -webkit-calc(80% - 20px)) and (not (background-color:
rgb(0, 128, 0)))) or (background: url('/blah'))") is true | 34 PASS CSS.supports("((top: -webkit-calc(80% - 20px)) and (not (background-color:
rgb(0, 128, 0)))) or (background: url('/blah'))") is true |
35 PASS CSS.supports("(background: invalid('/blah'))") is false | 35 PASS CSS.supports("(background: invalid('/blah'))") is false |
36 PASS CSS.supports("top", "20%") is true | 36 PASS CSS.supports("top", "20%") is true |
37 PASS CSS.supports("top", " 20px ") is true | 37 PASS CSS.supports("top", " 20px ") is true |
(...skipping 20 matching lines...) Expand all Loading... |
58 PASS CSS.supports("display", "") is false | 58 PASS CSS.supports("display", "") is false |
59 PASS CSS.supports("display:", "none") is false | 59 PASS CSS.supports("display:", "none") is false |
60 PASS CSS.supports("z-index", 1) is true | 60 PASS CSS.supports("z-index", 1) is true |
61 PASS CSS.supports("content", []) is false | 61 PASS CSS.supports("content", []) is false |
62 PASS CSS.supports("content", "!important") is false | 62 PASS CSS.supports("content", "!important") is false |
63 PASS CSS.supports("(display: none)", undefined) is false | 63 PASS CSS.supports("(display: none)", undefined) is false |
64 PASS successfullyParsed is true | 64 PASS successfullyParsed is true |
65 | 65 |
66 TEST COMPLETE | 66 TEST COMPLETE |
67 | 67 |
OLD | NEW |