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