866a6fc6e0bfdbfcd95bed36633c49a5cb21cded
[ptitvelo/web/www.git] / www / plugins-dist / compresseur / lib / csstidy / testing / unit-tests / csst / special / newlines.csst
1 --TEST--
2 @font-face rules
3 --CSS--
4 a {
5 background: -webkit-gradient(
6 linear,
7 left bottom,
8 left top,
9 color-stop(0, rgb(153,102,51)),
10 color-stop(0.3, rgb(51,153,102)),
11 color-stop(1, rgb(102,51,153))
12 );
13 content: "ABC
14 123
15 DEF
16 GHI";
17 }
18 b {
19 content: "ABC\A123";
20 }
21 i {
22 content: 'ABC
23 123\ADEF';
24 }
25
26 u {
27 background: parenthetical(
28 "string 1",
29 "string
30 2",
31 'string 3',
32 'string "4',
33 'string "5"',
34 "string '6",
35 "string (7)",
36 "string 8)",
37 (
38 (
39 (
40 (
41 ("boo")
42 )
43 )
44 )
45 ),
46 (
47 (
48 (
49 (
50 ("boo ba")
51 )
52 )
53 )
54 )
55
56 );
57 }
58 --EXPECT--
59 array (
60 'a' =>
61 array (
62 'background' => '-webkit-gradient(linear,left bottom,left top,color-stop(0,#963),color-stop(0.3,#396),color-stop(1,#639))',
63 'content' => '"ABC\\A123\\ADEF\\AGHI"',
64 ),
65 'b' =>
66 array (
67 'content' => '"ABC\\A123"',
68 ),
69 'i' =>
70 array (
71 'content' => '\'ABC\\A123\\ADEF\'',
72 ),
73 'u' =>
74 array (
75 'background' => 'parenthetical("string 1","string\\A2",\'string 3\',\'string "4\',\'string "5"\',"string \'6","string (7)","string 8)",(((((boo))))),((((("boo ba"))))))',
76 ),
77 )