1c6e5dc2b56f4cd079422c9f476478d891d4af7f
[ptitvelo/web/www.git] / www / plugins-dist / compresseur / lib / csstidy / testing / unit-tests / csst / special / font-face.csst
1 --TEST--
2 @font-face rules
3 --CSS--
4 @font-face {
5 font-family: GillSans;
6 src:url("/generic/fonts/GillSansLightC.otf") format("opentype");
7 font-style: normal;
8 font-weight: normal;
9 }
10
11 @font-face {
12 font-family: GillSans;
13 src:url("/generic/fonts/GillSansC.otf") format('opentype');
14 font-style: normal;
15 font-weight: bold;
16 }
17
18 @font-face {
19 src:url("/generic/fonts/GillSansLightC.otf") format("opentype", "woff");
20 }
21
22 @font-face {
23 src:url("/generic/fonts/GillSansLightC.otf") format();
24 }
25
26 @font-face {
27 src:url("/generic/fonts/GillSansLightC.otf") format("opentype" "svg");
28 }
29
30 @font-face {
31 src:url("/generic/fonts/GillSansLightC.otf") format("opentype", 'woff', 'svg');
32 }
33 @font-face {
34 src:url("/generic/fonts/GillSansLightC.otf") format(opentype);
35 }
36 @font-face {
37 src:url("/generic/fonts/GillSansLightC.otf") format(opentype woff);
38 }
39 @font-face {
40 src:url("/generic/fonts/GillSansLightC.otf") format(opentype, woff);
41 }
42 @font-face {
43 src:url("/generic/fonts/GillSansLightC.otf") format(opentype, woff, "svg");
44 }
45 @font-face {
46 src:url("/generic/fonts/GillSansLightC.otf") format(opentype woff, "svg");
47 }
48 @font-face {
49 src:url("/generic/fonts/GillSans LightC.otf") format(opentype,woff);
50 }
51 --FULLEXPECT--
52 array (
53 ' ' => array(
54 '@font-face' =>
55 array (
56 'font-family' => 'GillSans',
57 'src' => 'url(/generic/fonts/GillSansLightC.otf) format("opentype")',
58 'font-style' => 'normal',
59 'font-weight' => '400',
60 ),
61 '@font-face ' =>
62 array (
63 'font-family' => 'GillSans',
64 'src' => 'url(/generic/fonts/GillSansC.otf) format("opentype")',
65 'font-style' => 'normal',
66 'font-weight' => '700',
67 ),
68 '@font-face ' =>
69 array (
70 'src' => 'url(/generic/fonts/GillSansLightC.otf) format("opentype","woff")',
71 ),
72 '@font-face ' =>
73 array (
74 'src' => 'url(/generic/fonts/GillSansLightC.otf)',
75 ),
76 '@font-face ' =>
77 array (
78 'src' => 'url(/generic/fonts/GillSansLightC.otf) format("opentype","svg")',
79 ),
80 '@font-face ' =>
81 array (
82 'src' => 'url(/generic/fonts/GillSansLightC.otf) format("opentype","woff","svg")',
83 ),
84 '@font-face ' =>
85 array (
86 'src' => 'url(/generic/fonts/GillSansLightC.otf) format("opentype")',
87 ),
88 '@font-face ' =>
89 array (
90 'src' => 'url(/generic/fonts/GillSansLightC.otf) format("opentype","woff")',
91 ),
92 '@font-face ' =>
93 array (
94 'src' => 'url(/generic/fonts/GillSansLightC.otf) format("opentype","woff")',
95 ),
96 '@font-face ' =>
97 array (
98 'src' => 'url(/generic/fonts/GillSansLightC.otf) format("opentype","woff","svg")',
99 ),
100 '@font-face ' =>
101 array (
102 'src' => 'url(/generic/fonts/GillSansLightC.otf) format("opentype","woff","svg")',
103 ),
104 '@font-face ' =>
105 array (
106 'src' => 'url("/generic/fonts/GillSans LightC.otf") format("opentype","woff")',
107 ),
108 ),
109 )