[DEPOT] ~gitignore : exclusion d'IMG
[ptitvelo/web/www.git] / www / plugins-dist / compresseur / lib / csstidy / testing / unit-tests / csst / properties / importance.csst
1 --TEST--
2 Testing proper parsing of importance.
3 --CSS--
4 a {
5 width: 100px;
6 height: 200px;
7 }
8
9 a {
10 width: 400px !important;
11 height: 300px;
12 }
13
14 b {
15 width: 100px !important;
16 height: 200px;
17 }
18
19 b {
20 width: 400px;
21 height: 300px !important;
22 }
23
24 c {
25 width: 100px!important;
26 }
27
28 d {
29 width: 100px;
30 }
31
32 d {
33 width: 200px !IMPORTANT;
34 }
35
36 d {
37 width: 300px ! important;
38 }
39
40 e {
41 background-image: url(http://example.com/test.png) !importANT;
42 }
43
44 f {
45 background-image: url(http://example.com/test.png)!imPORTant;
46 }
47 --EXPECT--
48 array (
49 'a' =>
50 array (
51 'width' => '100px',
52 'height' => '200px',
53 'width ' => '400px!important',
54 'height ' => '300px',
55 ),
56 'b' =>
57 array (
58 'width' => '100px!important',
59 'height' => '200px',
60 'width ' => '400px',
61 'height ' => '300px!important',
62 ),
63 'c' =>
64 array (
65 'width' => '100px!important',
66 ),
67 'd' =>
68 array (
69 'width' => '100px',
70 'width ' => '200px!important',
71 'width ' => '300px!important',
72 ),
73 'e' =>
74 array (
75 'background-image' => 'url(http://example.com/test.png)!important',
76 ),
77 'f' =>
78 array (
79 'background-image' => 'url(http://example.com/test.png)!important',
80 ),
81 )