UNPKG

1.82 kBCSSView Raw
1.is-selector {
2 /* [PASS] -restyle--is-selector(.test): true */
3 /* [PASS] -restyle--is-selector-js(.test): true */
4 /* [PASS] -restyle--is-selector(#test): true */
5 /* [PASS] -restyle--is-selector-js(#test): true */
6 /* [PASS] -restyle--is-selector(%test): false */
7 /* [PASS] -restyle--is-selector-js(%test): false */
8 /* [PASS] -restyle--is-selector(test): false */
9 /* [PASS] -restyle--is-selector-js(test): false */
10 /* [PASS] -restyle--is-selector(& test): true */
11 /* [PASS] -restyle--is-selector-js(& test): true */
12 /* [PASS] -restyle--is-selector(> test): true */
13 /* [PASS] -restyle--is-selector-js(> test): true */
14 /* [PASS] -restyle--is-selector(test a): true */
15 /* [PASS] -restyle--is-selector-js(test a): true */
16 /* [PASS] -restyle--is-selector(test{foo}): false */
17 /* [PASS] -restyle--is-selector-js(test{foo}): false */ }
18
19.get-directive {
20 /* [PASS] -restyle--get-directive(@restyle.foo): foo */
21 /* [PASS] -restyle--get-directive-js(@restyle.foo): foo */
22 /* [PASS] -restyle--get-directive(foo): false */
23 /* [PASS] -restyle--get-directive-js(foo): false */
24 /* [PASS] -restyle--get-directive(restyle-foo): foo */
25 /* [PASS] -restyle--get-directive-js(restyle-foo): foo */ }
26
27.normalize-property {
28 /* [PASS] -restyle--normalize-property(test\foo): test */
29 /* [PASS] -restyle--normalize-property-js(test\foo): test */
30 /* [PASS] -restyle--normalize-property(test{foo}): test */
31 /* [PASS] -restyle--normalize-property-js(test{foo}): test */
32 /* [PASS] -restyle--normalize-property(test-foo): test-foo */
33 /* [PASS] -restyle--normalize-property-js(test-foo): test-foo */
34 /* [PASS] -restyle--normalize-property(test): test */
35 /* [PASS] -restyle--normalize-property-js(test): test */ }
36
37.normalize-word {
38 /* [PASS] -restyle--normalize-word-js(yellow): yellow */ }