[SPIP] ~maj v3.0.14-->v3.0.17
[ptitvelo/web/www.git] / www / plugins-dist / compresseur / lib / csstidy / data.inc.php
1 <?php
2 /**
3 * Various CSS Data for CSSTidy
4 *
5 * This file is part of CSSTidy.
6 *
7 * CSSTidy is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * CSSTidy is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with CSSTidy; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 *
21 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
22 * @package csstidy
23 * @author Florian Schmitz (floele at gmail dot com) 2005
24 * @author Nikolay Matsievsky (speed at webo dot name) 2010
25 */
26
27 /**
28 * All whitespace allowed in CSS
29 *
30 * @global array $data['csstidy']['whitespace']
31 * @version 1.0
32 */
33 $data['csstidy']['whitespace'] = array(' ',"\n","\t","\r","\x0B");
34
35 /**
36 * All CSS tokens used by csstidy
37 *
38 * @global string $data['csstidy']['tokens']
39 * @version 1.0
40 */
41 $data['csstidy']['tokens'] = '/@}{;:=\'"(,\\!$%&)*+.<>?[]^`|~';
42
43 /**
44 * All CSS units (CSS 3 units included)
45 *
46 * @see compress_numbers()
47 * @global array $data['csstidy']['units']
48 * @version 1.0
49 */
50 $data['csstidy']['units'] = array('in','cm','mm','pt','pc','px','rem','em','%','ex','gd','vw','vh','vm','deg','grad','rad','turn','ms','s','khz','hz','ch','vmin','vmax','dpi','dpcm','dppx');
51
52 /**
53 * Available at-rules
54 *
55 * @global array $data['csstidy']['at_rules']
56 * @version 1.1
57 */
58 $data['csstidy']['at_rules'] = array('page' => 'is','font-face' => 'atis','charset' => 'iv', 'import' => 'iv','namespace' => 'iv','media' => 'at','keyframes' => 'at','-moz-keyframes' => 'at','-o-keyframes' => 'at','-webkit-keyframes' => 'at','-ms-keyframes' => 'at');
59
60 /**
61 * Properties that need a value with unit
62 *
63 * @todo CSS3 properties
64 * @see compress_numbers();
65 * @global array $data['csstidy']['unit_values']
66 * @version 1.2
67 */
68 $data['csstidy']['unit_values'] = array ('background', 'background-position', 'background-size', 'border', 'border-top', 'border-right', 'border-bottom', 'border-left', 'border-width',
69 'border-top-width', 'border-right-width', 'border-left-width', 'border-bottom-width', 'bottom', 'border-spacing', 'column-gap', 'column-width',
70 'font-size', 'height', 'left', 'margin', 'margin-top', 'margin-right', 'margin-bottom', 'margin-left', 'max-height',
71 'max-width', 'min-height', 'min-width', 'outline', 'outline-width', 'padding', 'padding-top', 'padding-right',
72 'padding-bottom', 'padding-left', 'perspective', 'right', 'top', 'text-indent', 'letter-spacing', 'word-spacing', 'width');
73
74 /**
75 * Properties that allow <color> as value
76 *
77 * @todo CSS3 properties
78 * @see compress_numbers();
79 * @global array $data['csstidy']['color_values']
80 * @version 1.0
81 */
82 $data['csstidy']['color_values'] = array();
83 $data['csstidy']['color_values'][] = 'background-color';
84 $data['csstidy']['color_values'][] = 'border-color';
85 $data['csstidy']['color_values'][] = 'border-top-color';
86 $data['csstidy']['color_values'][] = 'border-right-color';
87 $data['csstidy']['color_values'][] = 'border-bottom-color';
88 $data['csstidy']['color_values'][] = 'border-left-color';
89 $data['csstidy']['color_values'][] = 'color';
90 $data['csstidy']['color_values'][] = 'outline-color';
91 $data['csstidy']['color_values'][] = 'column-rule-color';
92
93 /**
94 * Default values for the background properties
95 *
96 * @todo Possibly property names will change during CSS3 development
97 * @global array $data['csstidy']['background_prop_default']
98 * @see dissolve_short_bg()
99 * @see merge_bg()
100 * @version 1.0
101 */
102 $data['csstidy']['background_prop_default'] = array();
103 $data['csstidy']['background_prop_default']['background-image'] = 'none';
104 $data['csstidy']['background_prop_default']['background-size'] = 'auto';
105 $data['csstidy']['background_prop_default']['background-repeat'] = 'repeat';
106 $data['csstidy']['background_prop_default']['background-position'] = '0 0';
107 $data['csstidy']['background_prop_default']['background-attachment'] = 'scroll';
108 $data['csstidy']['background_prop_default']['background-clip'] = 'border';
109 $data['csstidy']['background_prop_default']['background-origin'] = 'padding';
110 $data['csstidy']['background_prop_default']['background-color'] = 'transparent';
111
112 /**
113 * Default values for the font properties
114 *
115 * @global array $data['csstidy']['font_prop_default']
116 * @see merge_fonts()
117 * @version 1.3
118 */
119 $data['csstidy']['font_prop_default'] = array();
120 $data['csstidy']['font_prop_default']['font-style'] = 'normal';
121 $data['csstidy']['font_prop_default']['font-variant'] = 'normal';
122 $data['csstidy']['font_prop_default']['font-weight'] = 'normal';
123 $data['csstidy']['font_prop_default']['font-size'] = '';
124 $data['csstidy']['font_prop_default']['line-height'] = '';
125 $data['csstidy']['font_prop_default']['font-family'] = '';
126
127 /**
128 * A list of non-W3C color names which get replaced by their hex-codes
129 *
130 * @global array $data['csstidy']['replace_colors']
131 * @see cut_color()
132 * @version 1.0
133 */
134 $data['csstidy']['replace_colors'] = array();
135 $data['csstidy']['replace_colors']['aliceblue'] = '#f0f8ff';
136 $data['csstidy']['replace_colors']['antiquewhite'] = '#faebd7';
137 $data['csstidy']['replace_colors']['aquamarine'] = '#7fffd4';
138 $data['csstidy']['replace_colors']['azure'] = '#f0ffff';
139 $data['csstidy']['replace_colors']['beige'] = '#f5f5dc';
140 $data['csstidy']['replace_colors']['bisque'] = '#ffe4c4';
141 $data['csstidy']['replace_colors']['blanchedalmond'] = '#ffebcd';
142 $data['csstidy']['replace_colors']['blueviolet'] = '#8a2be2';
143 $data['csstidy']['replace_colors']['brown'] = '#a52a2a';
144 $data['csstidy']['replace_colors']['burlywood'] = '#deb887';
145 $data['csstidy']['replace_colors']['cadetblue'] = '#5f9ea0';
146 $data['csstidy']['replace_colors']['chartreuse'] = '#7fff00';
147 $data['csstidy']['replace_colors']['chocolate'] = '#d2691e';
148 $data['csstidy']['replace_colors']['coral'] = '#ff7f50';
149 $data['csstidy']['replace_colors']['cornflowerblue'] = '#6495ed';
150 $data['csstidy']['replace_colors']['cornsilk'] = '#fff8dc';
151 $data['csstidy']['replace_colors']['crimson'] = '#dc143c';
152 $data['csstidy']['replace_colors']['cyan'] = '#00ffff';
153 $data['csstidy']['replace_colors']['darkblue'] = '#00008b';
154 $data['csstidy']['replace_colors']['darkcyan'] = '#008b8b';
155 $data['csstidy']['replace_colors']['darkgoldenrod'] = '#b8860b';
156 $data['csstidy']['replace_colors']['darkgray'] = '#a9a9a9';
157 $data['csstidy']['replace_colors']['darkgreen'] = '#006400';
158 $data['csstidy']['replace_colors']['darkkhaki'] = '#bdb76b';
159 $data['csstidy']['replace_colors']['darkmagenta'] = '#8b008b';
160 $data['csstidy']['replace_colors']['darkolivegreen'] = '#556b2f';
161 $data['csstidy']['replace_colors']['darkorange'] = '#ff8c00';
162 $data['csstidy']['replace_colors']['darkorchid'] = '#9932cc';
163 $data['csstidy']['replace_colors']['darkred'] = '#8b0000';
164 $data['csstidy']['replace_colors']['darksalmon'] = '#e9967a';
165 $data['csstidy']['replace_colors']['darkseagreen'] = '#8fbc8f';
166 $data['csstidy']['replace_colors']['darkslateblue'] = '#483d8b';
167 $data['csstidy']['replace_colors']['darkslategray'] = '#2f4f4f';
168 $data['csstidy']['replace_colors']['darkturquoise'] = '#00ced1';
169 $data['csstidy']['replace_colors']['darkviolet'] = '#9400d3';
170 $data['csstidy']['replace_colors']['deeppink'] = '#ff1493';
171 $data['csstidy']['replace_colors']['deepskyblue'] = '#00bfff';
172 $data['csstidy']['replace_colors']['dimgray'] = '#696969';
173 $data['csstidy']['replace_colors']['dodgerblue'] = '#1e90ff';
174 $data['csstidy']['replace_colors']['feldspar'] = '#d19275';
175 $data['csstidy']['replace_colors']['firebrick'] = '#b22222';
176 $data['csstidy']['replace_colors']['floralwhite'] = '#fffaf0';
177 $data['csstidy']['replace_colors']['forestgreen'] = '#228b22';
178 $data['csstidy']['replace_colors']['gainsboro'] = '#dcdcdc';
179 $data['csstidy']['replace_colors']['ghostwhite'] = '#f8f8ff';
180 $data['csstidy']['replace_colors']['gold'] = '#ffd700';
181 $data['csstidy']['replace_colors']['goldenrod'] = '#daa520';
182 $data['csstidy']['replace_colors']['greenyellow'] = '#adff2f';
183 $data['csstidy']['replace_colors']['honeydew'] = '#f0fff0';
184 $data['csstidy']['replace_colors']['hotpink'] = '#ff69b4';
185 $data['csstidy']['replace_colors']['indianred'] = '#cd5c5c';
186 $data['csstidy']['replace_colors']['indigo'] = '#4b0082';
187 $data['csstidy']['replace_colors']['ivory'] = '#fffff0';
188 $data['csstidy']['replace_colors']['khaki'] = '#f0e68c';
189 $data['csstidy']['replace_colors']['lavender'] = '#e6e6fa';
190 $data['csstidy']['replace_colors']['lavenderblush'] = '#fff0f5';
191 $data['csstidy']['replace_colors']['lawngreen'] = '#7cfc00';
192 $data['csstidy']['replace_colors']['lemonchiffon'] = '#fffacd';
193 $data['csstidy']['replace_colors']['lightblue'] = '#add8e6';
194 $data['csstidy']['replace_colors']['lightcoral'] = '#f08080';
195 $data['csstidy']['replace_colors']['lightcyan'] = '#e0ffff';
196 $data['csstidy']['replace_colors']['lightgoldenrodyellow'] = '#fafad2';
197 $data['csstidy']['replace_colors']['lightgrey'] = '#d3d3d3';
198 $data['csstidy']['replace_colors']['lightgreen'] = '#90ee90';
199 $data['csstidy']['replace_colors']['lightpink'] = '#ffb6c1';
200 $data['csstidy']['replace_colors']['lightsalmon'] = '#ffa07a';
201 $data['csstidy']['replace_colors']['lightseagreen'] = '#20b2aa';
202 $data['csstidy']['replace_colors']['lightskyblue'] = '#87cefa';
203 $data['csstidy']['replace_colors']['lightslateblue'] = '#8470ff';
204 $data['csstidy']['replace_colors']['lightslategray'] = '#778899';
205 $data['csstidy']['replace_colors']['lightsteelblue'] = '#b0c4de';
206 $data['csstidy']['replace_colors']['lightyellow'] = '#ffffe0';
207 $data['csstidy']['replace_colors']['limegreen'] = '#32cd32';
208 $data['csstidy']['replace_colors']['linen'] = '#faf0e6';
209 $data['csstidy']['replace_colors']['magenta'] = '#ff00ff';
210 $data['csstidy']['replace_colors']['mediumaquamarine'] = '#66cdaa';
211 $data['csstidy']['replace_colors']['mediumblue'] = '#0000cd';
212 $data['csstidy']['replace_colors']['mediumorchid'] = '#ba55d3';
213 $data['csstidy']['replace_colors']['mediumpurple'] = '#9370d8';
214 $data['csstidy']['replace_colors']['mediumseagreen'] = '#3cb371';
215 $data['csstidy']['replace_colors']['mediumslateblue'] = '#7b68ee';
216 $data['csstidy']['replace_colors']['mediumspringgreen'] = '#00fa9a';
217 $data['csstidy']['replace_colors']['mediumturquoise'] = '#48d1cc';
218 $data['csstidy']['replace_colors']['mediumvioletred'] = '#c71585';
219 $data['csstidy']['replace_colors']['midnightblue'] = '#191970';
220 $data['csstidy']['replace_colors']['mintcream'] = '#f5fffa';
221 $data['csstidy']['replace_colors']['mistyrose'] = '#ffe4e1';
222 $data['csstidy']['replace_colors']['moccasin'] = '#ffe4b5';
223 $data['csstidy']['replace_colors']['navajowhite'] = '#ffdead';
224 $data['csstidy']['replace_colors']['oldlace'] = '#fdf5e6';
225 $data['csstidy']['replace_colors']['olivedrab'] = '#6b8e23';
226 $data['csstidy']['replace_colors']['orangered'] = '#ff4500';
227 $data['csstidy']['replace_colors']['orchid'] = '#da70d6';
228 $data['csstidy']['replace_colors']['palegoldenrod'] = '#eee8aa';
229 $data['csstidy']['replace_colors']['palegreen'] = '#98fb98';
230 $data['csstidy']['replace_colors']['paleturquoise'] = '#afeeee';
231 $data['csstidy']['replace_colors']['palevioletred'] = '#d87093';
232 $data['csstidy']['replace_colors']['papayawhip'] = '#ffefd5';
233 $data['csstidy']['replace_colors']['peachpuff'] = '#ffdab9';
234 $data['csstidy']['replace_colors']['peru'] = '#cd853f';
235 $data['csstidy']['replace_colors']['pink'] = '#ffc0cb';
236 $data['csstidy']['replace_colors']['plum'] = '#dda0dd';
237 $data['csstidy']['replace_colors']['powderblue'] = '#b0e0e6';
238 $data['csstidy']['replace_colors']['rosybrown'] = '#bc8f8f';
239 $data['csstidy']['replace_colors']['royalblue'] = '#4169e1';
240 $data['csstidy']['replace_colors']['saddlebrown'] = '#8b4513';
241 $data['csstidy']['replace_colors']['salmon'] = '#fa8072';
242 $data['csstidy']['replace_colors']['sandybrown'] = '#f4a460';
243 $data['csstidy']['replace_colors']['seagreen'] = '#2e8b57';
244 $data['csstidy']['replace_colors']['seashell'] = '#fff5ee';
245 $data['csstidy']['replace_colors']['sienna'] = '#a0522d';
246 $data['csstidy']['replace_colors']['skyblue'] = '#87ceeb';
247 $data['csstidy']['replace_colors']['slateblue'] = '#6a5acd';
248 $data['csstidy']['replace_colors']['slategray'] = '#708090';
249 $data['csstidy']['replace_colors']['snow'] = '#fffafa';
250 $data['csstidy']['replace_colors']['springgreen'] = '#00ff7f';
251 $data['csstidy']['replace_colors']['steelblue'] = '#4682b4';
252 $data['csstidy']['replace_colors']['tan'] = '#d2b48c';
253 $data['csstidy']['replace_colors']['thistle'] = '#d8bfd8';
254 $data['csstidy']['replace_colors']['tomato'] = '#ff6347';
255 $data['csstidy']['replace_colors']['turquoise'] = '#40e0d0';
256 $data['csstidy']['replace_colors']['violet'] = '#ee82ee';
257 $data['csstidy']['replace_colors']['violetred'] = '#d02090';
258 $data['csstidy']['replace_colors']['wheat'] = '#f5deb3';
259 $data['csstidy']['replace_colors']['whitesmoke'] = '#f5f5f5';
260 $data['csstidy']['replace_colors']['yellowgreen'] = '#9acd32';
261
262 /**
263 * A list of all shorthand properties that are devided into four properties and/or have four subvalues
264 *
265 * @global array $data['csstidy']['shorthands']
266 * @todo Are there new ones in CSS3?
267 * @see dissolve_4value_shorthands()
268 * @see merge_4value_shorthands()
269 * @version 1.0
270 */
271 $data['csstidy']['shorthands'] = array();
272 $data['csstidy']['shorthands']['border-color'] = array('border-top-color','border-right-color','border-bottom-color','border-left-color');
273 $data['csstidy']['shorthands']['border-style'] = array('border-top-style','border-right-style','border-bottom-style','border-left-style');
274 $data['csstidy']['shorthands']['border-width'] = array('border-top-width','border-right-width','border-bottom-width','border-left-width');
275 $data['csstidy']['shorthands']['margin'] = array('margin-top','margin-right','margin-bottom','margin-left');
276 $data['csstidy']['shorthands']['padding'] = array('padding-top','padding-right','padding-bottom','padding-left');
277 $data['csstidy']['shorthands']['-moz-border-radius'] = 0;
278
279 /**
280 * All CSS Properties. Needed for csstidy::property_is_next()
281 *
282 * @global array $data['csstidy']['all_properties']
283 * @version 1.1
284 * @see csstidy::property_is_next()
285 */
286 $data['csstidy']['all_properties']['alignment-adjust'] = 'CSS3.0';
287 $data['csstidy']['all_properties']['alignment-baseline'] = 'CSS3.0';
288 $data['csstidy']['all_properties']['animation'] = 'CSS3.0';
289 $data['csstidy']['all_properties']['animation-delay'] = 'CSS3.0';
290 $data['csstidy']['all_properties']['animation-direction'] = 'CSS3.0';
291 $data['csstidy']['all_properties']['animation-duration'] = 'CSS3.0';
292 $data['csstidy']['all_properties']['animation-iteration-count'] = 'CSS3.0';
293 $data['csstidy']['all_properties']['animation-name'] = 'CSS3.0';
294 $data['csstidy']['all_properties']['animation-play-state'] = 'CSS3.0';
295 $data['csstidy']['all_properties']['animation-timing-function'] = 'CSS3.0';
296 $data['csstidy']['all_properties']['appearance'] = 'CSS3.0';
297 $data['csstidy']['all_properties']['azimuth'] = 'CSS2.0,CSS2.1,CSS3.0';
298 $data['csstidy']['all_properties']['backface-visibility'] = 'CSS3.0';
299 $data['csstidy']['all_properties']['background'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
300 $data['csstidy']['all_properties']['background-attachment'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
301 $data['csstidy']['all_properties']['background-clip'] = 'CSS3.0';
302 $data['csstidy']['all_properties']['background-color'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
303 $data['csstidy']['all_properties']['background-image'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
304 $data['csstidy']['all_properties']['background-origin'] = 'CSS3.0';
305 $data['csstidy']['all_properties']['background-position'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
306 $data['csstidy']['all_properties']['background-repeat'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
307 $data['csstidy']['all_properties']['background-size'] = 'CSS3.0';
308 $data['csstidy']['all_properties']['baseline-shift'] = 'CSS3.0';
309 $data['csstidy']['all_properties']['binding'] = 'CSS3.0';
310 $data['csstidy']['all_properties']['bleed'] = 'CSS3.0';
311 $data['csstidy']['all_properties']['bookmark-label'] = 'CSS3.0';
312 $data['csstidy']['all_properties']['bookmark-level'] = 'CSS3.0';
313 $data['csstidy']['all_properties']['bookmark-state'] = 'CSS3.0';
314 $data['csstidy']['all_properties']['bookmark-target'] = 'CSS3.0';
315 $data['csstidy']['all_properties']['border'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
316 $data['csstidy']['all_properties']['border-bottom'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
317 $data['csstidy']['all_properties']['border-bottom-color'] = 'CSS2.0,CSS2.1,CSS3.0';
318 $data['csstidy']['all_properties']['border-bottom-left-radius'] = 'CSS3.0';
319 $data['csstidy']['all_properties']['border-bottom-right-radius'] = 'CSS3.0';
320 $data['csstidy']['all_properties']['border-bottom-style'] = 'CSS2.0,CSS2.1,CSS3.0';
321 $data['csstidy']['all_properties']['border-bottom-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
322 $data['csstidy']['all_properties']['border-collapse'] = 'CSS2.0,CSS2.1,CSS3.0';
323 $data['csstidy']['all_properties']['border-color'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
324 $data['csstidy']['all_properties']['border-image'] = 'CSS3.0';
325 $data['csstidy']['all_properties']['border-image-outset'] = 'CSS3.0';
326 $data['csstidy']['all_properties']['border-image-repeat'] = 'CSS3.0';
327 $data['csstidy']['all_properties']['border-image-slice'] = 'CSS3.0';
328 $data['csstidy']['all_properties']['border-image-source'] = 'CSS3.0';
329 $data['csstidy']['all_properties']['border-image-width'] = 'CSS3.0';
330 $data['csstidy']['all_properties']['border-left'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
331 $data['csstidy']['all_properties']['border-left-color'] = 'CSS2.0,CSS2.1,CSS3.0';
332 $data['csstidy']['all_properties']['border-left-style'] = 'CSS2.0,CSS2.1,CSS3.0';
333 $data['csstidy']['all_properties']['border-left-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
334 $data['csstidy']['all_properties']['border-radius'] = 'CSS3.0';
335 $data['csstidy']['all_properties']['border-right'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
336 $data['csstidy']['all_properties']['border-right-color'] = 'CSS2.0,CSS2.1,CSS3.0';
337 $data['csstidy']['all_properties']['border-right-style'] = 'CSS2.0,CSS2.1,CSS3.0';
338 $data['csstidy']['all_properties']['border-right-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
339 $data['csstidy']['all_properties']['border-spacing'] = 'CSS2.0,CSS2.1,CSS3.0';
340 $data['csstidy']['all_properties']['border-style'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
341 $data['csstidy']['all_properties']['border-top'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
342 $data['csstidy']['all_properties']['border-top-color'] = 'CSS2.0,CSS2.1,CSS3.0';
343 $data['csstidy']['all_properties']['border-top-left-radius'] = 'CSS3.0';
344 $data['csstidy']['all_properties']['border-top-right-radius'] = 'CSS3.0';
345 $data['csstidy']['all_properties']['border-top-style'] = 'CSS2.0,CSS2.1,CSS3.0';
346 $data['csstidy']['all_properties']['border-top-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
347 $data['csstidy']['all_properties']['border-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
348 $data['csstidy']['all_properties']['bottom'] = 'CSS2.0,CSS2.1,CSS3.0';
349 $data['csstidy']['all_properties']['box-decoration-break'] = 'CSS3.0';
350 $data['csstidy']['all_properties']['box-shadow'] = 'CSS3.0';
351 $data['csstidy']['all_properties']['box-sizing'] = 'CSS3.0';
352 $data['csstidy']['all_properties']['break-after'] = 'CSS3.0';
353 $data['csstidy']['all_properties']['break-before'] = 'CSS3.0';
354 $data['csstidy']['all_properties']['break-inside'] = 'CSS3.0';
355 $data['csstidy']['all_properties']['caption-side'] = 'CSS2.0,CSS2.1,CSS3.0';
356 $data['csstidy']['all_properties']['clear'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
357 $data['csstidy']['all_properties']['clip'] = 'CSS2.0,CSS2.1,CSS3.0';
358 $data['csstidy']['all_properties']['color'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
359 $data['csstidy']['all_properties']['color-profile'] = 'CSS3.0';
360 $data['csstidy']['all_properties']['column-count'] = 'CSS3.0';
361 $data['csstidy']['all_properties']['column-fill'] = 'CSS3.0';
362 $data['csstidy']['all_properties']['column-gap'] = 'CSS3.0';
363 $data['csstidy']['all_properties']['column-rule'] = 'CSS3.0';
364 $data['csstidy']['all_properties']['column-rule-color'] = 'CSS3.0';
365 $data['csstidy']['all_properties']['column-rule-style'] = 'CSS3.0';
366 $data['csstidy']['all_properties']['column-rule-width'] = 'CSS3.0';
367 $data['csstidy']['all_properties']['column-span'] = 'CSS3.0';
368 $data['csstidy']['all_properties']['column-width'] = 'CSS3.0';
369 $data['csstidy']['all_properties']['columns'] = 'CSS3.0';
370 $data['csstidy']['all_properties']['content'] = 'CSS2.0,CSS2.1,CSS3.0';
371 $data['csstidy']['all_properties']['counter-increment'] = 'CSS2.0,CSS2.1,CSS3.0';
372 $data['csstidy']['all_properties']['counter-reset'] = 'CSS2.0,CSS2.1,CSS3.0';
373 $data['csstidy']['all_properties']['crop'] = 'CSS3.0';
374 $data['csstidy']['all_properties']['cue'] = 'CSS2.0,CSS2.1,CSS3.0';
375 $data['csstidy']['all_properties']['cue-after'] = 'CSS2.0,CSS2.1,CSS3.0';
376 $data['csstidy']['all_properties']['cue-before'] = 'CSS2.0,CSS2.1,CSS3.0';
377 $data['csstidy']['all_properties']['cursor'] = 'CSS2.0,CSS2.1,CSS3.0';
378 $data['csstidy']['all_properties']['direction'] = 'CSS2.0,CSS2.1,CSS3.0';
379 $data['csstidy']['all_properties']['display'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
380 $data['csstidy']['all_properties']['dominant-baseline'] = 'CSS3.0';
381 $data['csstidy']['all_properties']['drop-initial-after-adjust'] = 'CSS3.0';
382 $data['csstidy']['all_properties']['drop-initial-after-align'] = 'CSS3.0';
383 $data['csstidy']['all_properties']['drop-initial-before-adjust'] = 'CSS3.0';
384 $data['csstidy']['all_properties']['drop-initial-before-align'] = 'CSS3.0';
385 $data['csstidy']['all_properties']['drop-initial-size'] = 'CSS3.0';
386 $data['csstidy']['all_properties']['drop-initial-value'] = 'CSS3.0';
387 $data['csstidy']['all_properties']['elevation'] = 'CSS2.0,CSS2.1,CSS3.0';
388 $data['csstidy']['all_properties']['empty-cells'] = 'CSS2.0,CSS2.1,CSS3.0';
389 $data['csstidy']['all_properties']['fit'] = 'CSS3.0';
390 $data['csstidy']['all_properties']['fit-position'] = 'CSS3.0';
391 $data['csstidy']['all_properties']['flex-align'] = 'CSS3.0';
392 $data['csstidy']['all_properties']['flex-flow'] = 'CSS3.0';
393 $data['csstidy']['all_properties']['flex-line-pack'] = 'CSS3.0';
394 $data['csstidy']['all_properties']['flex-order'] = 'CSS3.0';
395 $data['csstidy']['all_properties']['flex-pack'] = 'CSS3.0';
396 $data['csstidy']['all_properties']['float'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
397 $data['csstidy']['all_properties']['float-offset'] = 'CSS3.0';
398 $data['csstidy']['all_properties']['font'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
399 $data['csstidy']['all_properties']['font-family'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
400 $data['csstidy']['all_properties']['font-size'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
401 $data['csstidy']['all_properties']['font-size-adjust'] = 'CSS2.0,CSS3.0';
402 $data['csstidy']['all_properties']['font-stretch'] = 'CSS2.0,CSS3.0';
403 $data['csstidy']['all_properties']['font-style'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
404 $data['csstidy']['all_properties']['font-variant'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
405 $data['csstidy']['all_properties']['font-weight'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
406 $data['csstidy']['all_properties']['grid-columns'] = 'CSS3.0';
407 $data['csstidy']['all_properties']['grid-rows'] = 'CSS3.0';
408 $data['csstidy']['all_properties']['hanging-punctuation'] = 'CSS3.0';
409 $data['csstidy']['all_properties']['height'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
410 $data['csstidy']['all_properties']['hyphenate-after'] = 'CSS3.0';
411 $data['csstidy']['all_properties']['hyphenate-before'] = 'CSS3.0';
412 $data['csstidy']['all_properties']['hyphenate-character'] = 'CSS3.0';
413 $data['csstidy']['all_properties']['hyphenate-lines'] = 'CSS3.0';
414 $data['csstidy']['all_properties']['hyphenate-resource'] = 'CSS3.0';
415 $data['csstidy']['all_properties']['hyphens'] = 'CSS3.0';
416 $data['csstidy']['all_properties']['icon'] = 'CSS3.0';
417 $data['csstidy']['all_properties']['image-orientation'] = 'CSS3.0';
418 $data['csstidy']['all_properties']['image-rendering'] = 'CSS3.0';
419 $data['csstidy']['all_properties']['image-resolution'] = 'CSS3.0';
420 $data['csstidy']['all_properties']['inline-box-align'] = 'CSS3.0';
421 $data['csstidy']['all_properties']['left'] = 'CSS2.0,CSS2.1,CSS3.0';
422 $data['csstidy']['all_properties']['letter-spacing'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
423 $data['csstidy']['all_properties']['line-break'] = 'CSS3.0';
424 $data['csstidy']['all_properties']['line-height'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
425 $data['csstidy']['all_properties']['line-stacking'] = 'CSS3.0';
426 $data['csstidy']['all_properties']['line-stacking-ruby'] = 'CSS3.0';
427 $data['csstidy']['all_properties']['line-stacking-shift'] = 'CSS3.0';
428 $data['csstidy']['all_properties']['line-stacking-strategy'] = 'CSS3.0';
429 $data['csstidy']['all_properties']['list-style'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
430 $data['csstidy']['all_properties']['list-style-image'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
431 $data['csstidy']['all_properties']['list-style-position'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
432 $data['csstidy']['all_properties']['list-style-type'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
433 $data['csstidy']['all_properties']['margin'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
434 $data['csstidy']['all_properties']['margin-bottom'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
435 $data['csstidy']['all_properties']['margin-left'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
436 $data['csstidy']['all_properties']['margin-right'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
437 $data['csstidy']['all_properties']['margin-top'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
438 $data['csstidy']['all_properties']['marker-offset'] = 'CSS2.0,CSS3.0';
439 $data['csstidy']['all_properties']['marks'] = 'CSS2.0,CSS3.0';
440 $data['csstidy']['all_properties']['marquee-direction'] = 'CSS3.0';
441 $data['csstidy']['all_properties']['marquee-loop'] = 'CSS3.0';
442 $data['csstidy']['all_properties']['marquee-play-count'] = 'CSS3.0';
443 $data['csstidy']['all_properties']['marquee-speed'] = 'CSS3.0';
444 $data['csstidy']['all_properties']['marquee-style'] = 'CSS3.0';
445 $data['csstidy']['all_properties']['max-height'] = 'CSS2.0,CSS2.1,CSS3.0';
446 $data['csstidy']['all_properties']['max-width'] = 'CSS2.0,CSS2.1,CSS3.0';
447 $data['csstidy']['all_properties']['min-height'] = 'CSS2.0,CSS2.1,CSS3.0';
448 $data['csstidy']['all_properties']['min-width'] = 'CSS2.0,CSS2.1,CSS3.0';
449 $data['csstidy']['all_properties']['move-to'] = 'CSS3.0';
450 $data['csstidy']['all_properties']['nav-down'] = 'CSS3.0';
451 $data['csstidy']['all_properties']['nav-index'] = 'CSS3.0';
452 $data['csstidy']['all_properties']['nav-left'] = 'CSS3.0';
453 $data['csstidy']['all_properties']['nav-right'] = 'CSS3.0';
454 $data['csstidy']['all_properties']['nav-up'] = 'CSS3.0';
455 $data['csstidy']['all_properties']['opacity'] = 'CSS3.0';
456 $data['csstidy']['all_properties']['orphans'] = 'CSS2.0,CSS2.1,CSS3.0';
457 $data['csstidy']['all_properties']['outline'] = 'CSS2.0,CSS2.1,CSS3.0';
458 $data['csstidy']['all_properties']['outline-color'] = 'CSS2.0,CSS2.1,CSS3.0';
459 $data['csstidy']['all_properties']['outline-offset'] = 'CSS3.0';
460 $data['csstidy']['all_properties']['outline-style'] = 'CSS2.0,CSS2.1,CSS3.0';
461 $data['csstidy']['all_properties']['outline-width'] = 'CSS2.0,CSS2.1,CSS3.0';
462 $data['csstidy']['all_properties']['overflow'] = 'CSS2.0,CSS2.1,CSS3.0';
463 $data['csstidy']['all_properties']['overflow-style'] = 'CSS3.0';
464 $data['csstidy']['all_properties']['overflow-wrap'] = 'CSS3.0';
465 $data['csstidy']['all_properties']['overflow-x'] = 'CSS3.0';
466 $data['csstidy']['all_properties']['overflow-y'] = 'CSS3.0';
467 $data['csstidy']['all_properties']['padding'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
468 $data['csstidy']['all_properties']['padding-bottom'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
469 $data['csstidy']['all_properties']['padding-left'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
470 $data['csstidy']['all_properties']['padding-right'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
471 $data['csstidy']['all_properties']['padding-top'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
472 $data['csstidy']['all_properties']['page'] = 'CSS2.0,CSS3.0';
473 $data['csstidy']['all_properties']['page-break-after'] = 'CSS2.0,CSS2.1,CSS3.0';
474 $data['csstidy']['all_properties']['page-break-before'] = 'CSS2.0,CSS2.1,CSS3.0';
475 $data['csstidy']['all_properties']['page-break-inside'] = 'CSS2.0,CSS2.1,CSS3.0';
476 $data['csstidy']['all_properties']['page-policy'] = 'CSS3.0';
477 $data['csstidy']['all_properties']['pause'] = 'CSS2.0,CSS2.1,CSS3.0';
478 $data['csstidy']['all_properties']['pause-after'] = 'CSS2.0,CSS2.1,CSS3.0';
479 $data['csstidy']['all_properties']['pause-before'] = 'CSS2.0,CSS2.1,CSS3.0';
480 $data['csstidy']['all_properties']['perspective'] = 'CSS3.0';
481 $data['csstidy']['all_properties']['perspective-origin'] = 'CSS3.0';
482 $data['csstidy']['all_properties']['phonemes'] = 'CSS3.0';
483 $data['csstidy']['all_properties']['pitch'] = 'CSS2.0,CSS2.1,CSS3.0';
484 $data['csstidy']['all_properties']['pitch-range'] = 'CSS2.0,CSS2.1,CSS3.0';
485 $data['csstidy']['all_properties']['play-during'] = 'CSS2.0,CSS2.1,CSS3.0';
486 $data['csstidy']['all_properties']['position'] = 'CSS2.0,CSS2.1,CSS3.0';
487 $data['csstidy']['all_properties']['presentation-level'] = 'CSS3.0';
488 $data['csstidy']['all_properties']['punctuation-trim'] = 'CSS3.0';
489 $data['csstidy']['all_properties']['quotes'] = 'CSS2.0,CSS2.1,CSS3.0';
490 $data['csstidy']['all_properties']['rendering-intent'] = 'CSS3.0';
491 $data['csstidy']['all_properties']['resize'] = 'CSS3.0';
492 $data['csstidy']['all_properties']['rest'] = 'CSS3.0';
493 $data['csstidy']['all_properties']['rest-after'] = 'CSS3.0';
494 $data['csstidy']['all_properties']['rest-before'] = 'CSS3.0';
495 $data['csstidy']['all_properties']['richness'] = 'CSS2.0,CSS2.1,CSS3.0';
496 $data['csstidy']['all_properties']['right'] = 'CSS2.0,CSS2.1,CSS3.0';
497 $data['csstidy']['all_properties']['rotation'] = 'CSS3.0';
498 $data['csstidy']['all_properties']['rotation-point'] = 'CSS3.0';
499 $data['csstidy']['all_properties']['ruby-align'] = 'CSS3.0';
500 $data['csstidy']['all_properties']['ruby-overhang'] = 'CSS3.0';
501 $data['csstidy']['all_properties']['ruby-position'] = 'CSS3.0';
502 $data['csstidy']['all_properties']['ruby-span'] = 'CSS3.0';
503 $data['csstidy']['all_properties']['size'] = 'CSS2.0,CSS3.0';
504 $data['csstidy']['all_properties']['speak'] = 'CSS2.0,CSS2.1,CSS3.0';
505 $data['csstidy']['all_properties']['speak-header'] = 'CSS2.0,CSS2.1,CSS3.0';
506 $data['csstidy']['all_properties']['speak-numeral'] = 'CSS2.0,CSS2.1,CSS3.0';
507 $data['csstidy']['all_properties']['speak-punctuation'] = 'CSS2.0,CSS2.1,CSS3.0';
508 $data['csstidy']['all_properties']['speech-rate'] = 'CSS2.0,CSS2.1,CSS3.0';
509 $data['csstidy']['all_properties']['src'] = 'CSS3.0';
510 $data['csstidy']['all_properties']['stress'] = 'CSS2.0,CSS2.1,CSS3.0';
511 $data['csstidy']['all_properties']['string-set'] = 'CSS3.0';
512 $data['csstidy']['all_properties']['tab-size'] = 'CSS3.0';
513 $data['csstidy']['all_properties']['table-layout'] = 'CSS2.0,CSS2.1,CSS3.0';
514 $data['csstidy']['all_properties']['target'] = 'CSS3.0';
515 $data['csstidy']['all_properties']['target-name'] = 'CSS3.0';
516 $data['csstidy']['all_properties']['target-new'] = 'CSS3.0';
517 $data['csstidy']['all_properties']['target-position'] = 'CSS3.0';
518 $data['csstidy']['all_properties']['text-align'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
519 $data['csstidy']['all_properties']['text-align-last'] = 'CSS3.0';
520 $data['csstidy']['all_properties']['text-decoration'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
521 $data['csstidy']['all_properties']['text-decoration-color'] = 'CSS3.0';
522 $data['csstidy']['all_properties']['text-decoration-line'] = 'CSS3.0';
523 $data['csstidy']['all_properties']['text-decoration-skip'] = 'CSS3.0';
524 $data['csstidy']['all_properties']['text-decoration-style'] = 'CSS3.0';
525 $data['csstidy']['all_properties']['text-emphasis'] = 'CSS3.0';
526 $data['csstidy']['all_properties']['text-emphasis-color'] = 'CSS3.0';
527 $data['csstidy']['all_properties']['text-emphasis-position'] = 'CSS3.0';
528 $data['csstidy']['all_properties']['text-emphasis-style'] = 'CSS3.0';
529 $data['csstidy']['all_properties']['text-height'] = 'CSS3.0';
530 $data['csstidy']['all_properties']['text-indent'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
531 $data['csstidy']['all_properties']['text-justify'] = 'CSS3.0';
532 $data['csstidy']['all_properties']['text-outline'] = 'CSS3.0';
533 $data['csstidy']['all_properties']['text-shadow'] = 'CSS2.0,CSS3.0';
534 $data['csstidy']['all_properties']['text-space-collapse'] = 'CSS3.0';
535 $data['csstidy']['all_properties']['text-transform'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
536 $data['csstidy']['all_properties']['text-underline-position'] = 'CSS3.0';
537 $data['csstidy']['all_properties']['text-wrap'] = 'CSS3.0';
538 $data['csstidy']['all_properties']['top'] = 'CSS2.0,CSS2.1,CSS3.0';
539 $data['csstidy']['all_properties']['transform'] = 'CSS3.0';
540 $data['csstidy']['all_properties']['transform-origin'] = 'CSS3.0';
541 $data['csstidy']['all_properties']['transform-style'] = 'CSS3.0';
542 $data['csstidy']['all_properties']['transition'] = 'CSS3.0';
543 $data['csstidy']['all_properties']['transition-delay'] = 'CSS3.0';
544 $data['csstidy']['all_properties']['transition-duration'] = 'CSS3.0';
545 $data['csstidy']['all_properties']['transition-property'] = 'CSS3.0';
546 $data['csstidy']['all_properties']['transition-timing-function'] = 'CSS3.0';
547 $data['csstidy']['all_properties']['unicode-bidi'] = 'CSS2.0,CSS2.1,CSS3.0';
548 $data['csstidy']['all_properties']['vertical-align'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
549 $data['csstidy']['all_properties']['visibility'] = 'CSS2.0,CSS2.1,CSS3.0';
550 $data['csstidy']['all_properties']['voice-balance'] = 'CSS3.0';
551 $data['csstidy']['all_properties']['voice-duration'] = 'CSS3.0';
552 $data['csstidy']['all_properties']['voice-family'] = 'CSS2.0,CSS2.1,CSS3.0';
553 $data['csstidy']['all_properties']['voice-pitch'] = 'CSS3.0';
554 $data['csstidy']['all_properties']['voice-pitch-range'] = 'CSS3.0';
555 $data['csstidy']['all_properties']['voice-rate'] = 'CSS3.0';
556 $data['csstidy']['all_properties']['voice-stress'] = 'CSS3.0';
557 $data['csstidy']['all_properties']['voice-volume'] = 'CSS3.0';
558 $data['csstidy']['all_properties']['volume'] = 'CSS2.0,CSS2.1,CSS3.0';
559 $data['csstidy']['all_properties']['white-space'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
560 $data['csstidy']['all_properties']['widows'] = 'CSS2.0,CSS2.1,CSS3.0';
561 $data['csstidy']['all_properties']['width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
562 $data['csstidy']['all_properties']['word-break'] = 'CSS3.0';
563 $data['csstidy']['all_properties']['word-spacing'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
564 $data['csstidy']['all_properties']['word-wrap'] = 'CSS3.0';
565 $data['csstidy']['all_properties']['z-index'] = 'CSS2.0,CSS2.1,CSS3.0';
566
567 /**
568 * An array containing all properties that can accept a quoted string as a value.
569 *
570 * @global array $data['csstidy']['quoted_string_properties']
571 */
572 $data['csstidy']['quoted_string_properties'] = array('content', 'font-family', 'quotes');
573
574 /**
575 * An array containing all properties that can be defined multiple times without being overwritten.
576 *
577 * @global array $data['csstidy']['quoted_string_properties']
578 */
579 $data['csstidy']['multiple_properties'] = array('background', 'background-image');
580
581 /**
582 * An array containing all predefined templates.
583 *
584 * @global array $data['csstidy']['predefined_templates']
585 * @version 1.0
586 * @see csstidy::load_template()
587 */
588 $data['csstidy']['predefined_templates']['default'][] = '<span class="at">'; //string before @rule
589 $data['csstidy']['predefined_templates']['default'][] = '</span> <span class="format">{</span>'."\n"; //bracket after @-rule
590 $data['csstidy']['predefined_templates']['default'][] = '<span class="selector">'; //string before selector
591 $data['csstidy']['predefined_templates']['default'][] = '</span> <span class="format">{</span>'."\n"; //bracket after selector
592 $data['csstidy']['predefined_templates']['default'][] = '<span class="property">'; //string before property
593 $data['csstidy']['predefined_templates']['default'][] = '</span><span class="value">'; //string after property+before value
594 $data['csstidy']['predefined_templates']['default'][] = '</span><span class="format">;</span>'."\n"; //string after value
595 $data['csstidy']['predefined_templates']['default'][] = '<span class="format">}</span>'; //closing bracket - selector
596 $data['csstidy']['predefined_templates']['default'][] = "\n\n"; //space between blocks {...}
597 $data['csstidy']['predefined_templates']['default'][] = "\n".'<span class="format">}</span>'. "\n\n"; //closing bracket @-rule
598 $data['csstidy']['predefined_templates']['default'][] = ''; //indent in @-rule
599 $data['csstidy']['predefined_templates']['default'][] = '<span class="comment">'; // before comment
600 $data['csstidy']['predefined_templates']['default'][] = '</span>'."\n"; // after comment
601 $data['csstidy']['predefined_templates']['default'][] = "\n"; // after each line @-rule
602
603 $data['csstidy']['predefined_templates']['high_compression'][] = '<span class="at">';
604 $data['csstidy']['predefined_templates']['high_compression'][] = '</span> <span class="format">{</span>'."\n";
605 $data['csstidy']['predefined_templates']['high_compression'][] = '<span class="selector">';
606 $data['csstidy']['predefined_templates']['high_compression'][] = '</span><span class="format">{</span>';
607 $data['csstidy']['predefined_templates']['high_compression'][] = '<span class="property">';
608 $data['csstidy']['predefined_templates']['high_compression'][] = '</span><span class="value">';
609 $data['csstidy']['predefined_templates']['high_compression'][] = '</span><span class="format">;</span>';
610 $data['csstidy']['predefined_templates']['high_compression'][] = '<span class="format">}</span>';
611 $data['csstidy']['predefined_templates']['high_compression'][] = "\n";
612 $data['csstidy']['predefined_templates']['high_compression'][] = "\n". '<span class="format">}'."\n".'</span>';
613 $data['csstidy']['predefined_templates']['high_compression'][] = '';
614 $data['csstidy']['predefined_templates']['high_compression'][] = '<span class="comment">'; // before comment
615 $data['csstidy']['predefined_templates']['high_compression'][] = '</span>'; // after comment
616 $data['csstidy']['predefined_templates']['high_compression'][] = "\n";
617
618 $data['csstidy']['predefined_templates']['highest_compression'][] = '<span class="at">';
619 $data['csstidy']['predefined_templates']['highest_compression'][] = '</span><span class="format">{</span>';
620 $data['csstidy']['predefined_templates']['highest_compression'][] = '<span class="selector">';
621 $data['csstidy']['predefined_templates']['highest_compression'][] = '</span><span class="format">{</span>';
622 $data['csstidy']['predefined_templates']['highest_compression'][] = '<span class="property">';
623 $data['csstidy']['predefined_templates']['highest_compression'][] = '</span><span class="value">';
624 $data['csstidy']['predefined_templates']['highest_compression'][] = '</span><span class="format">;</span>';
625 $data['csstidy']['predefined_templates']['highest_compression'][] = '<span class="format">}</span>';
626 $data['csstidy']['predefined_templates']['highest_compression'][] = '';
627 $data['csstidy']['predefined_templates']['highest_compression'][] = '<span class="format">}</span>';
628 $data['csstidy']['predefined_templates']['highest_compression'][] = '';
629 $data['csstidy']['predefined_templates']['highest_compression'][] = '<span class="comment">'; // before comment
630 $data['csstidy']['predefined_templates']['highest_compression'][] = '</span>'; // after comment
631 $data['csstidy']['predefined_templates']['highest_compression'][] = '';
632
633 $data['csstidy']['predefined_templates']['low_compression'][] = '<span class="at">';
634 $data['csstidy']['predefined_templates']['low_compression'][] = '</span> <span class="format">{</span>'."\n";
635 $data['csstidy']['predefined_templates']['low_compression'][] = '<span class="selector">';
636 $data['csstidy']['predefined_templates']['low_compression'][] = '</span>'."\n".'<span class="format">{</span>'."\n";
637 $data['csstidy']['predefined_templates']['low_compression'][] = ' <span class="property">';
638 $data['csstidy']['predefined_templates']['low_compression'][] = '</span><span class="value">';
639 $data['csstidy']['predefined_templates']['low_compression'][] = '</span><span class="format">;</span>'."\n";
640 $data['csstidy']['predefined_templates']['low_compression'][] = '<span class="format">}</span>';
641 $data['csstidy']['predefined_templates']['low_compression'][] = "\n\n";
642 $data['csstidy']['predefined_templates']['low_compression'][] = "\n".'<span class="format">}</span>'."\n\n";
643 $data['csstidy']['predefined_templates']['low_compression'][] = ' ';
644 $data['csstidy']['predefined_templates']['low_compression'][] = '<span class="comment">'; // before comment
645 $data['csstidy']['predefined_templates']['low_compression'][] = '</span>'."\n"; // after comment
646 $data['csstidy']['predefined_templates']['low_compression'][] = "\n";