PluginProbe
TablePress – Tables in WordPress made easy / 2.3
TablePress – Tables in WordPress made easy v2.3
3.3.4 3.3.3 3.3.2 3.3.1 trunk 1.12 1.14 1.9.2 2.0.4 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.3.1 2.3.2 2.4 2.4.1 2.4.2 2.4.3 2.4.4 All 44 releases
tablepress / libraries / csstidy / data.inc.php

data.inc.php in TablePress – Tables in WordPress made easy 2.3, at libraries/csstidy/data.inc.php

844 lines 48.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * CSSTidy CSS Data
4 *
5 * @package TablePress
6 * @subpackage CSS
7 * @author Florian Schmitz, Brett Zamir, Nikolay Matsievsky, Cedric Morin, Christopher Finke, Mark Scherer, Tobias Bäthge
8 * @since 1.0.0
9 */
10
11 // Prohibit direct script loading.
12 defined( 'ABSPATH' ) || die( 'No direct script access allowed!' );
13
14 /**
15 * Various CSS Data for CSSTidy
16 *
17 * This file is part of CSSTidy.
18 *
19 * CSSTidy is free software; you can redistribute it and/or modify
20 * it under the terms of the GNU General Public License as published by
21 * the Free Software Foundation; either version 2 of the License, or
22 * (at your option) any later version.
23 *
24 * CSSTidy is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 * GNU General Public License for more details.
28 *
29 * You should have received a copy of the GNU General Public License
30 * along with CSSTidy; if not, write to the Free Software
31 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
32 *
33 * @license https://opensource.org/licenses/gpl-license.php GNU Public License
34 * @package CSSTidy
35 * @author Florian Schmitz (floele at gmail dot com) 2005
36 * @author Nikolay Matsievsky (speed at webo dot name) 2010
37 */
38
39 /**
40 * All whitespace allowed in CSS.
41 */
42 $data['csstidy']['whitespace'] = array( ' ', "\n", "\t", "\r", "\x0B" );
43
44 /**
45 * All CSS tokens used by CSSTidy.
46 */
47 $data['csstidy']['tokens'] = '/@}{;:=\'"(,\\!$%&)*+.<>?[]^`|~';
48
49 /**
50 * All CSS units (CSS3 units included).
51 *
52 * @see compress_numbers()
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 $data['csstidy']['at_rules'] = array(
60 'page' => 'is',
61 'font-face' => 'atis',
62 'charset' => 'iv',
63 'import' => 'iv',
64 'namespace' => 'iv',
65 'media' => 'at',
66 'keyframes' => 'at',
67 '-moz-keyframes' => 'at',
68 '-o-keyframes' => 'at',
69 '-webkit-keyframes' => 'at',
70 '-ms-keyframes' => 'at',
71 'viewport' => 'at',
72 '-webkit-viewport' => 'at',
73 '-moz-viewport' => 'at',
74 '-ms-viewport' => 'at',
75 'supports' => 'at',
76 );
77
78 /**
79 * Properties that need a value with unit.
80 *
81 * @todo CSS3 properties.
82 * @see compress_numbers();
83 */
84 $data['csstidy']['unit_values'] = array(
85 'background',
86 'background-position',
87 'background-size',
88 'border',
89 'border-top',
90 'border-right',
91 'border-bottom',
92 'border-left',
93 'border-width',
94 'border-top-width',
95 'border-right-width',
96 'border-left-width',
97 'border-bottom-width',
98 'bottom',
99 'border-spacing',
100 'column-gap',
101 'column-width',
102 'font-size',
103 'height',
104 'left',
105 'margin',
106 'margin-top',
107 'margin-right',
108 'margin-bottom',
109 'margin-left',
110 'margin-block',
111 'margin-block-start',
112 'margin-block-end',
113 'margin-inline',
114 'margin-inline-start',
115 'margin-inline-end',
116 'max-height',
117 'max-width',
118 'min-height',
119 'min-width',
120 'outline',
121 'outline-width',
122 'padding',
123 'padding-top',
124 'padding-right',
125 'padding-bottom',
126 'padding-left',
127 'perspective',
128 'right',
129 'top',
130 'text-indent',
131 'letter-spacing',
132 'word-spacing',
133 'width',
134 );
135
136 /**
137 * Properties that allow <color> as value.
138 *
139 * @todo CSS3 properties
140 * @see compress_numbers();
141 */
142 $data['csstidy']['color_values'] = array( 'background-color', 'border-color', 'border-top-color', 'border-right-color', 'border-bottom-color', 'border-left-color', 'color', 'outline-color', 'column-rule-color' );
143
144 /**
145 * Default values for the background properties.
146 *
147 * @todo Possibly property names will change during CSS3 development.
148 * @see dissolve_short_bg()
149 * @see merge_bg()
150 */
151 $data['csstidy']['background_prop_default'] = array();
152 $data['csstidy']['background_prop_default']['background-image'] = 'none';
153 $data['csstidy']['background_prop_default']['background-size'] = 'auto';
154 $data['csstidy']['background_prop_default']['background-repeat'] = 'repeat';
155 $data['csstidy']['background_prop_default']['background-position'] = '0 0';
156 $data['csstidy']['background_prop_default']['background-attachment'] = 'scroll';
157 $data['csstidy']['background_prop_default']['background-clip'] = 'border';
158 $data['csstidy']['background_prop_default']['background-origin'] = 'padding';
159 $data['csstidy']['background_prop_default']['background-color'] = 'transparent';
160
161 /**
162 * Default values for the font properties.
163 *
164 * @see merge_fonts()
165 */
166 $data['csstidy']['font_prop_default'] = array();
167 $data['csstidy']['font_prop_default']['font-style'] = 'normal';
168 $data['csstidy']['font_prop_default']['font-variant'] = 'normal';
169 $data['csstidy']['font_prop_default']['font-weight'] = 'normal';
170 $data['csstidy']['font_prop_default']['font-size'] = '';
171 $data['csstidy']['font_prop_default']['line-height'] = '';
172 $data['csstidy']['font_prop_default']['font-family'] = '';
173
174 /**
175 * A list of non-W3C color names which get replaced by their hex-codes.
176 *
177 * @see cut_color()
178 */
179 $data['csstidy']['replace_colors'] = array();
180 $data['csstidy']['replace_colors']['aliceblue'] = '#f0f8ff';
181 $data['csstidy']['replace_colors']['antiquewhite'] = '#faebd7';
182 $data['csstidy']['replace_colors']['aquamarine'] = '#7fffd4';
183 $data['csstidy']['replace_colors']['azure'] = '#f0ffff';
184 $data['csstidy']['replace_colors']['beige'] = '#f5f5dc';
185 $data['csstidy']['replace_colors']['bisque'] = '#ffe4c4';
186 $data['csstidy']['replace_colors']['blanchedalmond'] = '#ffebcd';
187 $data['csstidy']['replace_colors']['blueviolet'] = '#8a2be2';
188 $data['csstidy']['replace_colors']['brown'] = '#a52a2a';
189 $data['csstidy']['replace_colors']['burlywood'] = '#deb887';
190 $data['csstidy']['replace_colors']['cadetblue'] = '#5f9ea0';
191 $data['csstidy']['replace_colors']['chartreuse'] = '#7fff00';
192 $data['csstidy']['replace_colors']['chocolate'] = '#d2691e';
193 $data['csstidy']['replace_colors']['coral'] = '#ff7f50';
194 $data['csstidy']['replace_colors']['cornflowerblue'] = '#6495ed';
195 $data['csstidy']['replace_colors']['cornsilk'] = '#fff8dc';
196 $data['csstidy']['replace_colors']['crimson'] = '#dc143c';
197 $data['csstidy']['replace_colors']['cyan'] = '#00ffff';
198 $data['csstidy']['replace_colors']['darkblue'] = '#00008b';
199 $data['csstidy']['replace_colors']['darkcyan'] = '#008b8b';
200 $data['csstidy']['replace_colors']['darkgoldenrod'] = '#b8860b';
201 $data['csstidy']['replace_colors']['darkgray'] = '#a9a9a9';
202 $data['csstidy']['replace_colors']['darkgreen'] = '#006400';
203 $data['csstidy']['replace_colors']['darkkhaki'] = '#bdb76b';
204 $data['csstidy']['replace_colors']['darkmagenta'] = '#8b008b';
205 $data['csstidy']['replace_colors']['darkolivegreen'] = '#556b2f';
206 $data['csstidy']['replace_colors']['darkorange'] = '#ff8c00';
207 $data['csstidy']['replace_colors']['darkorchid'] = '#9932cc';
208 $data['csstidy']['replace_colors']['darkred'] = '#8b0000';
209 $data['csstidy']['replace_colors']['darksalmon'] = '#e9967a';
210 $data['csstidy']['replace_colors']['darkseagreen'] = '#8fbc8f';
211 $data['csstidy']['replace_colors']['darkslateblue'] = '#483d8b';
212 $data['csstidy']['replace_colors']['darkslategray'] = '#2f4f4f';
213 $data['csstidy']['replace_colors']['darkturquoise'] = '#00ced1';
214 $data['csstidy']['replace_colors']['darkviolet'] = '#9400d3';
215 $data['csstidy']['replace_colors']['deeppink'] = '#ff1493';
216 $data['csstidy']['replace_colors']['deepskyblue'] = '#00bfff';
217 $data['csstidy']['replace_colors']['dimgray'] = '#696969';
218 $data['csstidy']['replace_colors']['dodgerblue'] = '#1e90ff';
219 $data['csstidy']['replace_colors']['feldspar'] = '#d19275';
220 $data['csstidy']['replace_colors']['firebrick'] = '#b22222';
221 $data['csstidy']['replace_colors']['floralwhite'] = '#fffaf0';
222 $data['csstidy']['replace_colors']['forestgreen'] = '#228b22';
223 $data['csstidy']['replace_colors']['gainsboro'] = '#dcdcdc';
224 $data['csstidy']['replace_colors']['ghostwhite'] = '#f8f8ff';
225 $data['csstidy']['replace_colors']['gold'] = '#ffd700';
226 $data['csstidy']['replace_colors']['goldenrod'] = '#daa520';
227 $data['csstidy']['replace_colors']['greenyellow'] = '#adff2f';
228 $data['csstidy']['replace_colors']['honeydew'] = '#f0fff0';
229 $data['csstidy']['replace_colors']['hotpink'] = '#ff69b4';
230 $data['csstidy']['replace_colors']['indianred'] = '#cd5c5c';
231 $data['csstidy']['replace_colors']['indigo'] = '#4b0082';
232 $data['csstidy']['replace_colors']['ivory'] = '#fffff0';
233 $data['csstidy']['replace_colors']['khaki'] = '#f0e68c';
234 $data['csstidy']['replace_colors']['lavender'] = '#e6e6fa';
235 $data['csstidy']['replace_colors']['lavenderblush'] = '#fff0f5';
236 $data['csstidy']['replace_colors']['lawngreen'] = '#7cfc00';
237 $data['csstidy']['replace_colors']['lemonchiffon'] = '#fffacd';
238 $data['csstidy']['replace_colors']['lightblue'] = '#add8e6';
239 $data['csstidy']['replace_colors']['lightcoral'] = '#f08080';
240 $data['csstidy']['replace_colors']['lightcyan'] = '#e0ffff';
241 $data['csstidy']['replace_colors']['lightgoldenrodyellow'] = '#fafad2';
242 $data['csstidy']['replace_colors']['lightgrey'] = '#d3d3d3';
243 $data['csstidy']['replace_colors']['lightgreen'] = '#90ee90';
244 $data['csstidy']['replace_colors']['lightpink'] = '#ffb6c1';
245 $data['csstidy']['replace_colors']['lightsalmon'] = '#ffa07a';
246 $data['csstidy']['replace_colors']['lightseagreen'] = '#20b2aa';
247 $data['csstidy']['replace_colors']['lightskyblue'] = '#87cefa';
248 $data['csstidy']['replace_colors']['lightslateblue'] = '#8470ff';
249 $data['csstidy']['replace_colors']['lightslategray'] = '#778899';
250 $data['csstidy']['replace_colors']['lightsteelblue'] = '#b0c4de';
251 $data['csstidy']['replace_colors']['lightyellow'] = '#ffffe0';
252 $data['csstidy']['replace_colors']['limegreen'] = '#32cd32';
253 $data['csstidy']['replace_colors']['linen'] = '#faf0e6';
254 $data['csstidy']['replace_colors']['magenta'] = '#ff00ff';
255 $data['csstidy']['replace_colors']['mediumaquamarine'] = '#66cdaa';
256 $data['csstidy']['replace_colors']['mediumblue'] = '#0000cd';
257 $data['csstidy']['replace_colors']['mediumorchid'] = '#ba55d3';
258 $data['csstidy']['replace_colors']['mediumpurple'] = '#9370d8';
259 $data['csstidy']['replace_colors']['mediumseagreen'] = '#3cb371';
260 $data['csstidy']['replace_colors']['mediumslateblue'] = '#7b68ee';
261 $data['csstidy']['replace_colors']['mediumspringgreen'] = '#00fa9a';
262 $data['csstidy']['replace_colors']['mediumturquoise'] = '#48d1cc';
263 $data['csstidy']['replace_colors']['mediumvioletred'] = '#c71585';
264 $data['csstidy']['replace_colors']['midnightblue'] = '#191970';
265 $data['csstidy']['replace_colors']['mintcream'] = '#f5fffa';
266 $data['csstidy']['replace_colors']['mistyrose'] = '#ffe4e1';
267 $data['csstidy']['replace_colors']['moccasin'] = '#ffe4b5';
268 $data['csstidy']['replace_colors']['navajowhite'] = '#ffdead';
269 $data['csstidy']['replace_colors']['oldlace'] = '#fdf5e6';
270 $data['csstidy']['replace_colors']['olivedrab'] = '#6b8e23';
271 $data['csstidy']['replace_colors']['orangered'] = '#ff4500';
272 $data['csstidy']['replace_colors']['orchid'] = '#da70d6';
273 $data['csstidy']['replace_colors']['palegoldenrod'] = '#eee8aa';
274 $data['csstidy']['replace_colors']['palegreen'] = '#98fb98';
275 $data['csstidy']['replace_colors']['paleturquoise'] = '#afeeee';
276 $data['csstidy']['replace_colors']['palevioletred'] = '#d87093';
277 $data['csstidy']['replace_colors']['papayawhip'] = '#ffefd5';
278 $data['csstidy']['replace_colors']['peachpuff'] = '#ffdab9';
279 $data['csstidy']['replace_colors']['peru'] = '#cd853f';
280 $data['csstidy']['replace_colors']['pink'] = '#ffc0cb';
281 $data['csstidy']['replace_colors']['plum'] = '#dda0dd';
282 $data['csstidy']['replace_colors']['powderblue'] = '#b0e0e6';
283 $data['csstidy']['replace_colors']['rosybrown'] = '#bc8f8f';
284 $data['csstidy']['replace_colors']['royalblue'] = '#4169e1';
285 $data['csstidy']['replace_colors']['saddlebrown'] = '#8b4513';
286 $data['csstidy']['replace_colors']['salmon'] = '#fa8072';
287 $data['csstidy']['replace_colors']['sandybrown'] = '#f4a460';
288 $data['csstidy']['replace_colors']['seagreen'] = '#2e8b57';
289 $data['csstidy']['replace_colors']['seashell'] = '#fff5ee';
290 $data['csstidy']['replace_colors']['sienna'] = '#a0522d';
291 $data['csstidy']['replace_colors']['skyblue'] = '#87ceeb';
292 $data['csstidy']['replace_colors']['slateblue'] = '#6a5acd';
293 $data['csstidy']['replace_colors']['slategray'] = '#708090';
294 $data['csstidy']['replace_colors']['snow'] = '#fffafa';
295 $data['csstidy']['replace_colors']['springgreen'] = '#00ff7f';
296 $data['csstidy']['replace_colors']['steelblue'] = '#4682b4';
297 $data['csstidy']['replace_colors']['tan'] = '#d2b48c';
298 $data['csstidy']['replace_colors']['thistle'] = '#d8bfd8';
299 $data['csstidy']['replace_colors']['tomato'] = '#ff6347';
300 $data['csstidy']['replace_colors']['turquoise'] = '#40e0d0';
301 $data['csstidy']['replace_colors']['violet'] = '#ee82ee';
302 $data['csstidy']['replace_colors']['violetred'] = '#d02090';
303 $data['csstidy']['replace_colors']['wheat'] = '#f5deb3';
304 $data['csstidy']['replace_colors']['whitesmoke'] = '#f5f5f5';
305 $data['csstidy']['replace_colors']['yellowgreen'] = '#9acd32';
306
307 /**
308 * A list of all shorthand properties that are divided into four properties and/or have four subvalues.
309 *
310 * @see dissolve_4value_shorthands()
311 * @see merge_4value_shorthands()
312 */
313 $data['csstidy']['shorthands'] = array();
314 $data['csstidy']['shorthands']['border-color'] = array( 'border-top-color', 'border-right-color', 'border-bottom-color', 'border-left-color' );
315 $data['csstidy']['shorthands']['border-style'] = array( 'border-top-style', 'border-right-style', 'border-bottom-style', 'border-left-style' );
316 $data['csstidy']['shorthands']['border-width'] = array( 'border-top-width', 'border-right-width', 'border-bottom-width', 'border-left-width' );
317 $data['csstidy']['shorthands']['margin'] = array( 'margin-top', 'margin-right', 'margin-bottom', 'margin-left' );
318 $data['csstidy']['shorthands']['margin-block'] = array( 'margin-block-start', 'margin-block-end' );
319 $data['csstidy']['shorthands']['margin-inline'] = array( 'margin-inline-start', 'margin-inline-end' );
320 $data['csstidy']['shorthands']['padding'] = array( 'padding-top', 'padding-right', 'padding-bottom', 'padding-left' );
321
322 /**
323 * All CSS Properties.
324 *
325 * @see CSSTidy::property_is_next()
326 */
327 $data['csstidy']['all_properties']['accent-color'] = 'CSS3.0';
328 $data['csstidy']['all_properties']['align-content'] = 'CSS3.0';
329 $data['csstidy']['all_properties']['align-items'] = 'CSS3.0';
330 $data['csstidy']['all_properties']['align-self'] = 'CSS3.0';
331 $data['csstidy']['all_properties']['alignment-adjust'] = 'CSS3.0';
332 $data['csstidy']['all_properties']['alignment-baseline'] = 'CSS3.0';
333 $data['csstidy']['all_properties']['animation'] = 'CSS3.0';
334 $data['csstidy']['all_properties']['animation-delay'] = 'CSS3.0';
335 $data['csstidy']['all_properties']['animation-direction'] = 'CSS3.0';
336 $data['csstidy']['all_properties']['animation-duration'] = 'CSS3.0';
337 $data['csstidy']['all_properties']['animation-fill-mode'] = 'CSS3.0';
338 $data['csstidy']['all_properties']['animation-iteration-count'] = 'CSS3.0';
339 $data['csstidy']['all_properties']['animation-name'] = 'CSS3.0';
340 $data['csstidy']['all_properties']['animation-play-state'] = 'CSS3.0';
341 $data['csstidy']['all_properties']['animation-timing-function'] = 'CSS3.0';
342 $data['csstidy']['all_properties']['appearance'] = 'CSS3.0';
343 $data['csstidy']['all_properties']['aspect-ratio'] = 'CSS3.0';
344 $data['csstidy']['all_properties']['azimuth'] = 'CSS2.0,CSS2.1,CSS3.0';
345 $data['csstidy']['all_properties']['backface-visibility'] = 'CSS3.0';
346 $data['csstidy']['all_properties']['background'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
347 $data['csstidy']['all_properties']['background-attachment'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
348 $data['csstidy']['all_properties']['background-clip'] = 'CSS3.0';
349 $data['csstidy']['all_properties']['background-color'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
350 $data['csstidy']['all_properties']['background-image'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
351 $data['csstidy']['all_properties']['background-origin'] = 'CSS3.0';
352 $data['csstidy']['all_properties']['background-position'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
353 $data['csstidy']['all_properties']['background-repeat'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
354 $data['csstidy']['all_properties']['background-size'] = 'CSS3.0';
355 $data['csstidy']['all_properties']['baseline-shift'] = 'CSS3.0';
356 $data['csstidy']['all_properties']['bleed'] = 'CSS3.0';
357 $data['csstidy']['all_properties']['bookmark-label'] = 'CSS3.0';
358 $data['csstidy']['all_properties']['bookmark-level'] = 'CSS3.0';
359 $data['csstidy']['all_properties']['bookmark-state'] = 'CSS3.0';
360 $data['csstidy']['all_properties']['bookmark-target'] = 'CSS3.0';
361 $data['csstidy']['all_properties']['border'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
362 $data['csstidy']['all_properties']['border-bottom'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
363 $data['csstidy']['all_properties']['border-bottom-color'] = 'CSS2.0,CSS2.1,CSS3.0';
364 $data['csstidy']['all_properties']['border-bottom-left-radius'] = 'CSS3.0';
365 $data['csstidy']['all_properties']['border-bottom-right-radius'] = 'CSS3.0';
366 $data['csstidy']['all_properties']['border-bottom-style'] = 'CSS2.0,CSS2.1,CSS3.0';
367 $data['csstidy']['all_properties']['border-bottom-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
368 $data['csstidy']['all_properties']['border-collapse'] = 'CSS2.0,CSS2.1,CSS3.0';
369 $data['csstidy']['all_properties']['border-color'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
370 $data['csstidy']['all_properties']['border-image'] = 'CSS3.0';
371 $data['csstidy']['all_properties']['border-image-outset'] = 'CSS3.0';
372 $data['csstidy']['all_properties']['border-image-repeat'] = 'CSS3.0';
373 $data['csstidy']['all_properties']['border-image-slice'] = 'CSS3.0';
374 $data['csstidy']['all_properties']['border-image-source'] = 'CSS3.0';
375 $data['csstidy']['all_properties']['border-image-width'] = 'CSS3.0';
376 $data['csstidy']['all_properties']['border-left'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
377 $data['csstidy']['all_properties']['border-left-color'] = 'CSS2.0,CSS2.1,CSS3.0';
378 $data['csstidy']['all_properties']['border-left-style'] = 'CSS2.0,CSS2.1,CSS3.0';
379 $data['csstidy']['all_properties']['border-left-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
380 $data['csstidy']['all_properties']['border-radius'] = 'CSS3.0';
381 $data['csstidy']['all_properties']['border-right'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
382 $data['csstidy']['all_properties']['border-right-color'] = 'CSS2.0,CSS2.1,CSS3.0';
383 $data['csstidy']['all_properties']['border-right-style'] = 'CSS2.0,CSS2.1,CSS3.0';
384 $data['csstidy']['all_properties']['border-right-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
385 $data['csstidy']['all_properties']['border-spacing'] = 'CSS2.0,CSS2.1,CSS3.0';
386 $data['csstidy']['all_properties']['border-style'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
387 $data['csstidy']['all_properties']['border-top'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
388 $data['csstidy']['all_properties']['border-top-color'] = 'CSS2.0,CSS2.1,CSS3.0';
389 $data['csstidy']['all_properties']['border-top-left-radius'] = 'CSS3.0';
390 $data['csstidy']['all_properties']['border-top-right-radius'] = 'CSS3.0';
391 $data['csstidy']['all_properties']['border-top-style'] = 'CSS2.0,CSS2.1,CSS3.0';
392 $data['csstidy']['all_properties']['border-top-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
393 $data['csstidy']['all_properties']['border-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
394 $data['csstidy']['all_properties']['bottom'] = 'CSS2.0,CSS2.1,CSS3.0';
395 $data['csstidy']['all_properties']['box-decoration-break'] = 'CSS3.0';
396 $data['csstidy']['all_properties']['box-shadow'] = 'CSS3.0';
397 $data['csstidy']['all_properties']['box-sizing'] = 'CSS3.0';
398 $data['csstidy']['all_properties']['break-after'] = 'CSS3.0';
399 $data['csstidy']['all_properties']['break-before'] = 'CSS3.0';
400 $data['csstidy']['all_properties']['break-inside'] = 'CSS3.0';
401 $data['csstidy']['all_properties']['caption-side'] = 'CSS2.0,CSS2.1,CSS3.0';
402 $data['csstidy']['all_properties']['clear'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
403 $data['csstidy']['all_properties']['clip'] = 'CSS2.0,CSS2.1,CSS3.0';
404 $data['csstidy']['all_properties']['clip-path'] = 'CSS2.0,CSS2.1,CSS3.0';
405 $data['csstidy']['all_properties']['color'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
406 $data['csstidy']['all_properties']['color-profile'] = 'CSS3.0';
407 $data['csstidy']['all_properties']['column-count'] = 'CSS3.0';
408 $data['csstidy']['all_properties']['column-fill'] = 'CSS3.0';
409 $data['csstidy']['all_properties']['column-gap'] = 'CSS3.0';
410 $data['csstidy']['all_properties']['column-rule'] = 'CSS3.0';
411 $data['csstidy']['all_properties']['column-rule-color'] = 'CSS3.0';
412 $data['csstidy']['all_properties']['column-rule-style'] = 'CSS3.0';
413 $data['csstidy']['all_properties']['column-rule-width'] = 'CSS3.0';
414 $data['csstidy']['all_properties']['column-span'] = 'CSS3.0';
415 $data['csstidy']['all_properties']['column-width'] = 'CSS3.0';
416 $data['csstidy']['all_properties']['columns'] = 'CSS3.0';
417 $data['csstidy']['all_properties']['content'] = 'CSS2.0,CSS2.1,CSS3.0';
418 $data['csstidy']['all_properties']['counter-increment'] = 'CSS2.0,CSS2.1,CSS3.0';
419 $data['csstidy']['all_properties']['counter-reset'] = 'CSS2.0,CSS2.1,CSS3.0';
420 $data['csstidy']['all_properties']['crop'] = 'CSS3.0';
421 $data['csstidy']['all_properties']['cue'] = 'CSS2.0,CSS2.1,CSS3.0';
422 $data['csstidy']['all_properties']['cue-after'] = 'CSS2.0,CSS2.1,CSS3.0';
423 $data['csstidy']['all_properties']['cue-before'] = 'CSS2.0,CSS2.1,CSS3.0';
424 $data['csstidy']['all_properties']['cursor'] = 'CSS2.0,CSS2.1,CSS3.0';
425 $data['csstidy']['all_properties']['direction'] = 'CSS2.0,CSS2.1,CSS3.0';
426 $data['csstidy']['all_properties']['display'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
427 $data['csstidy']['all_properties']['dominant-baseline'] = 'CSS3.0';
428 $data['csstidy']['all_properties']['drop-initial-after-adjust'] = 'CSS3.0';
429 $data['csstidy']['all_properties']['drop-initial-after-align'] = 'CSS3.0';
430 $data['csstidy']['all_properties']['drop-initial-before-adjust'] = 'CSS3.0';
431 $data['csstidy']['all_properties']['drop-initial-before-align'] = 'CSS3.0';
432 $data['csstidy']['all_properties']['drop-initial-size'] = 'CSS3.0';
433 $data['csstidy']['all_properties']['drop-initial-value'] = 'CSS3.0';
434 $data['csstidy']['all_properties']['elevation'] = 'CSS2.0,CSS2.1,CSS3.0';
435 $data['csstidy']['all_properties']['empty-cells'] = 'CSS2.0,CSS2.1,CSS3.0';
436 $data['csstidy']['all_properties']['fill'] = 'CSS3.0';
437 $data['csstidy']['all_properties']['fit'] = 'CSS3.0';
438 $data['csstidy']['all_properties']['fit-position'] = 'CSS3.0';
439 $data['csstidy']['all_properties']['flex'] = 'CSS3.0';
440 $data['csstidy']['all_properties']['flex-align'] = 'CSS3.0';
441 $data['csstidy']['all_properties']['flex-basis'] = 'CSS3.0';
442 $data['csstidy']['all_properties']['flex-direction'] = 'CSS3.0';
443 $data['csstidy']['all_properties']['flex-flow'] = 'CSS3.0';
444 $data['csstidy']['all_properties']['flex-grow'] = 'CSS3.0';
445 $data['csstidy']['all_properties']['flex-line-pack'] = 'CSS3.0';
446 $data['csstidy']['all_properties']['flex-order'] = 'CSS3.0';
447 $data['csstidy']['all_properties']['flex-pack'] = 'CSS3.0';
448 $data['csstidy']['all_properties']['flex-shrink'] = 'CSS3.0';
449 $data['csstidy']['all_properties']['flex-wrap'] = 'CSS3.0';
450 $data['csstidy']['all_properties']['float'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
451 $data['csstidy']['all_properties']['float-offset'] = 'CSS3.0';
452 $data['csstidy']['all_properties']['font'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
453 $data['csstidy']['all_properties']['font-family'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
454 $data['csstidy']['all_properties']['font-size'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
455 $data['csstidy']['all_properties']['font-size-adjust'] = 'CSS2.0,CSS3.0';
456 $data['csstidy']['all_properties']['font-stretch'] = 'CSS2.0,CSS3.0';
457 $data['csstidy']['all_properties']['font-style'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
458 $data['csstidy']['all_properties']['font-variant'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
459 $data['csstidy']['all_properties']['font-weight'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
460 $data['csstidy']['all_properties']['gap'] = 'CSS3.0';
461 $data['csstidy']['all_properties']['grid'] = 'CSS3.0';
462 $data['csstidy']['all_properties']['grid-area'] = 'CSS3.0';
463 $data['csstidy']['all_properties']['grid-auto-columns'] = 'CSS3.0';
464 $data['csstidy']['all_properties']['grid-auto-flow'] = 'CSS3.0';
465 $data['csstidy']['all_properties']['grid-auto-rows'] = 'CSS3.0';
466 $data['csstidy']['all_properties']['grid-column'] = 'CSS3.0';
467 $data['csstidy']['all_properties']['grid-columns'] = 'CSS3.0';
468 $data['csstidy']['all_properties']['grid-column-end'] = 'CSS3.0';
469 $data['csstidy']['all_properties']['grid-column-gap'] = 'CSS3.0';
470 $data['csstidy']['all_properties']['grid-column-start'] = 'CSS3.0';
471 $data['csstidy']['all_properties']['grid-gap'] = 'CSS3.0';
472 $data['csstidy']['all_properties']['grid-row'] = 'CSS3.0';
473 $data['csstidy']['all_properties']['grid-rows'] = 'CSS3.0';
474 $data['csstidy']['all_properties']['grid-row-end'] = 'CSS3.0';
475 $data['csstidy']['all_properties']['grid-row-gap'] = 'CSS3.0';
476 $data['csstidy']['all_properties']['grid-row-start'] = 'CSS3.0';
477 $data['csstidy']['all_properties']['grid-template'] = 'CSS3.0';
478 $data['csstidy']['all_properties']['grid-template-areas'] = 'CSS3.0';
479 $data['csstidy']['all_properties']['grid-template-columns'] = 'CSS3.0';
480 $data['csstidy']['all_properties']['grid-template-rows'] = 'CSS3.0';
481 $data['csstidy']['all_properties']['hanging-punctuation'] = 'CSS3.0';
482 $data['csstidy']['all_properties']['height'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
483 $data['csstidy']['all_properties']['hyphenate-after'] = 'CSS3.0';
484 $data['csstidy']['all_properties']['hyphenate-before'] = 'CSS3.0';
485 $data['csstidy']['all_properties']['hyphenate-character'] = 'CSS3.0';
486 $data['csstidy']['all_properties']['hyphenate-lines'] = 'CSS3.0';
487 $data['csstidy']['all_properties']['hyphenate-resource'] = 'CSS3.0';
488 $data['csstidy']['all_properties']['hyphens'] = 'CSS3.0';
489 $data['csstidy']['all_properties']['icon'] = 'CSS3.0';
490 $data['csstidy']['all_properties']['image-orientation'] = 'CSS3.0';
491 $data['csstidy']['all_properties']['image-rendering'] = 'CSS3.0';
492 $data['csstidy']['all_properties']['image-resolution'] = 'CSS3.0';
493 $data['csstidy']['all_properties']['inline-box-align'] = 'CSS3.0';
494 $data['csstidy']['all_properties']['justify-content'] = 'CSS3.0';
495 $data['csstidy']['all_properties']['justify-items'] = 'CSS3.0';
496 $data['csstidy']['all_properties']['justify-self'] = 'CSS3.0';
497 $data['csstidy']['all_properties']['left'] = 'CSS2.0,CSS2.1,CSS3.0';
498 $data['csstidy']['all_properties']['letter-spacing'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
499 $data['csstidy']['all_properties']['line-break'] = 'CSS3.0';
500 $data['csstidy']['all_properties']['line-height'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
501 $data['csstidy']['all_properties']['line-stacking'] = 'CSS3.0';
502 $data['csstidy']['all_properties']['line-stacking-ruby'] = 'CSS3.0';
503 $data['csstidy']['all_properties']['line-stacking-shift'] = 'CSS3.0';
504 $data['csstidy']['all_properties']['line-stacking-strategy'] = 'CSS3.0';
505 $data['csstidy']['all_properties']['list-style'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
506 $data['csstidy']['all_properties']['list-style-image'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
507 $data['csstidy']['all_properties']['list-style-position'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
508 $data['csstidy']['all_properties']['list-style-type'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
509 $data['csstidy']['all_properties']['margin'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
510 $data['csstidy']['all_properties']['margin-bottom'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
511 $data['csstidy']['all_properties']['margin-left'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
512 $data['csstidy']['all_properties']['margin-right'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
513 $data['csstidy']['all_properties']['margin-top'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
514 $data['csstidy']['all_properties']['margin-block'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
515 $data['csstidy']['all_properties']['margin-block-start'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
516 $data['csstidy']['all_properties']['margin-block-end'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
517 $data['csstidy']['all_properties']['margin-inline'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
518 $data['csstidy']['all_properties']['margin-inline-start'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
519 $data['csstidy']['all_properties']['margin-inline-end'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
520 $data['csstidy']['all_properties']['marker-offset'] = 'CSS2.0,CSS3.0';
521 $data['csstidy']['all_properties']['marks'] = 'CSS2.0,CSS3.0';
522 $data['csstidy']['all_properties']['marquee-direction'] = 'CSS3.0';
523 $data['csstidy']['all_properties']['marquee-loop'] = 'CSS3.0';
524 $data['csstidy']['all_properties']['marquee-play-count'] = 'CSS3.0';
525 $data['csstidy']['all_properties']['marquee-speed'] = 'CSS3.0';
526 $data['csstidy']['all_properties']['marquee-style'] = 'CSS3.0';
527 $data['csstidy']['all_properties']['mask-clip'] = 'CSS3.0';
528 $data['csstidy']['all_properties']['mask-composite'] = 'CSS3.0';
529 $data['csstidy']['all_properties']['mask-image'] = 'CSS3.0';
530 $data['csstidy']['all_properties']['mask-mode'] = 'CSS3.0';
531 $data['csstidy']['all_properties']['mask-origin'] = 'CSS3.0';
532 $data['csstidy']['all_properties']['mask-position'] = 'CSS3.0';
533 $data['csstidy']['all_properties']['mask-repeat'] = 'CSS3.0';
534 $data['csstidy']['all_properties']['mask-size'] = 'CSS3.0';
535 $data['csstidy']['all_properties']['max-height'] = 'CSS2.0,CSS2.1,CSS3.0';
536 $data['csstidy']['all_properties']['max-width'] = 'CSS2.0,CSS2.1,CSS3.0';
537 $data['csstidy']['all_properties']['min-height'] = 'CSS2.0,CSS2.1,CSS3.0';
538 $data['csstidy']['all_properties']['min-width'] = 'CSS2.0,CSS2.1,CSS3.0';
539 $data['csstidy']['all_properties']['move-to'] = 'CSS3.0';
540 $data['csstidy']['all_properties']['nav-down'] = 'CSS3.0';
541 $data['csstidy']['all_properties']['nav-index'] = 'CSS3.0';
542 $data['csstidy']['all_properties']['nav-left'] = 'CSS3.0';
543 $data['csstidy']['all_properties']['nav-right'] = 'CSS3.0';
544 $data['csstidy']['all_properties']['nav-up'] = 'CSS3.0';
545 $data['csstidy']['all_properties']['object-fit'] = 'CSS3.0';
546 $data['csstidy']['all_properties']['object-position'] = 'CSS3.0';
547 $data['csstidy']['all_properties']['opacity'] = 'CSS3.0';
548 $data['csstidy']['all_properties']['order'] = 'CSS3.0';
549 $data['csstidy']['all_properties']['orphans'] = 'CSS2.0,CSS2.1,CSS3.0';
550 $data['csstidy']['all_properties']['outline'] = 'CSS2.0,CSS2.1,CSS3.0';
551 $data['csstidy']['all_properties']['outline-color'] = 'CSS2.0,CSS2.1,CSS3.0';
552 $data['csstidy']['all_properties']['outline-offset'] = 'CSS3.0';
553 $data['csstidy']['all_properties']['outline-style'] = 'CSS2.0,CSS2.1,CSS3.0';
554 $data['csstidy']['all_properties']['outline-width'] = 'CSS2.0,CSS2.1,CSS3.0';
555 $data['csstidy']['all_properties']['overflow'] = 'CSS2.0,CSS2.1,CSS3.0';
556 $data['csstidy']['all_properties']['overflow-style'] = 'CSS3.0';
557 $data['csstidy']['all_properties']['overflow-wrap'] = 'CSS3.0';
558 $data['csstidy']['all_properties']['overflow-x'] = 'CSS3.0';
559 $data['csstidy']['all_properties']['overflow-y'] = 'CSS3.0';
560 $data['csstidy']['all_properties']['padding'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
561 $data['csstidy']['all_properties']['padding-bottom'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
562 $data['csstidy']['all_properties']['padding-left'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
563 $data['csstidy']['all_properties']['padding-right'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
564 $data['csstidy']['all_properties']['padding-top'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
565 $data['csstidy']['all_properties']['page'] = 'CSS2.0,CSS3.0';
566 $data['csstidy']['all_properties']['page-break-after'] = 'CSS2.0,CSS2.1,CSS3.0';
567 $data['csstidy']['all_properties']['page-break-before'] = 'CSS2.0,CSS2.1,CSS3.0';
568 $data['csstidy']['all_properties']['page-break-inside'] = 'CSS2.0,CSS2.1,CSS3.0';
569 $data['csstidy']['all_properties']['page-policy'] = 'CSS3.0';
570 $data['csstidy']['all_properties']['pause'] = 'CSS2.0,CSS2.1,CSS3.0';
571 $data['csstidy']['all_properties']['pause-after'] = 'CSS2.0,CSS2.1,CSS3.0';
572 $data['csstidy']['all_properties']['pause-before'] = 'CSS2.0,CSS2.1,CSS3.0';
573 $data['csstidy']['all_properties']['perspective'] = 'CSS3.0';
574 $data['csstidy']['all_properties']['perspective-origin'] = 'CSS3.0';
575 $data['csstidy']['all_properties']['phonemes'] = 'CSS3.0';
576 $data['csstidy']['all_properties']['pitch'] = 'CSS2.0,CSS2.1,CSS3.0';
577 $data['csstidy']['all_properties']['pitch-range'] = 'CSS2.0,CSS2.1,CSS3.0';
578 $data['csstidy']['all_properties']['play-during'] = 'CSS2.0,CSS2.1,CSS3.0';
579 $data['csstidy']['all_properties']['position'] = 'CSS2.0,CSS2.1,CSS3.0';
580 $data['csstidy']['all_properties']['presentation-level'] = 'CSS3.0';
581 $data['csstidy']['all_properties']['punctuation-trim'] = 'CSS3.0';
582 $data['csstidy']['all_properties']['quotes'] = 'CSS2.0,CSS2.1,CSS3.0';
583 $data['csstidy']['all_properties']['rendering-intent'] = 'CSS3.0';
584 $data['csstidy']['all_properties']['resize'] = 'CSS3.0';
585 $data['csstidy']['all_properties']['rest'] = 'CSS3.0';
586 $data['csstidy']['all_properties']['rest-after'] = 'CSS3.0';
587 $data['csstidy']['all_properties']['rest-before'] = 'CSS3.0';
588 $data['csstidy']['all_properties']['richness'] = 'CSS2.0,CSS2.1,CSS3.0';
589 $data['csstidy']['all_properties']['right'] = 'CSS2.0,CSS2.1,CSS3.0';
590 $data['csstidy']['all_properties']['rotation'] = 'CSS3.0';
591 $data['csstidy']['all_properties']['rotation-point'] = 'CSS3.0';
592 $data['csstidy']['all_properties']['ruby-align'] = 'CSS3.0';
593 $data['csstidy']['all_properties']['ruby-overhang'] = 'CSS3.0';
594 $data['csstidy']['all_properties']['ruby-position'] = 'CSS3.0';
595 $data['csstidy']['all_properties']['ruby-span'] = 'CSS3.0';
596 $data['csstidy']['all_properties']['scroll-behavior'] = 'CSS3.0';
597 $data['csstidy']['all_properties']['scroll-margin'] = 'CSS3.0';
598 $data['csstidy']['all_properties']['scroll-margin-block'] = 'CSS3.0';
599 $data['csstidy']['all_properties']['scroll-margin-block-end'] = 'CSS3.0';
600 $data['csstidy']['all_properties']['scroll-margin-block-start'] = 'CSS3.0';
601 $data['csstidy']['all_properties']['scroll-margin-bottom'] = 'CSS3.0';
602 $data['csstidy']['all_properties']['scroll-margin-inline'] = 'CSS3.0';
603 $data['csstidy']['all_properties']['scroll-margin-inline-end'] = 'CSS3.0';
604 $data['csstidy']['all_properties']['scroll-margin-inline-start'] = 'CSS3.0';
605 $data['csstidy']['all_properties']['scroll-margin-left'] = 'CSS3.0';
606 $data['csstidy']['all_properties']['scroll-margin-right'] = 'CSS3.0';
607 $data['csstidy']['all_properties']['scroll-margin-top'] = 'CSS3.0';
608 $data['csstidy']['all_properties']['scroll-padding'] = 'CSS3.0';
609 $data['csstidy']['all_properties']['scroll-padding-block'] = 'CSS3.0';
610 $data['csstidy']['all_properties']['scroll-padding-block-end'] = 'CSS3.0';
611 $data['csstidy']['all_properties']['scroll-padding-block-start'] = 'CSS3.0';
612 $data['csstidy']['all_properties']['scroll-padding-bottom'] = 'CSS3.0';
613 $data['csstidy']['all_properties']['scroll-padding-inline'] = 'CSS3.0';
614 $data['csstidy']['all_properties']['scroll-padding-inline-end'] = 'CSS3.0';
615 $data['csstidy']['all_properties']['scroll-padding-inline-start'] = 'CSS3.0';
616 $data['csstidy']['all_properties']['scroll-padding-left'] = 'CSS3.0';
617 $data['csstidy']['all_properties']['scroll-padding-right'] = 'CSS3.0';
618 $data['csstidy']['all_properties']['scroll-padding-top'] = 'CSS3.0';
619 $data['csstidy']['all_properties']['scroll-snap-align'] = 'CSS3.0';
620 $data['csstidy']['all_properties']['scroll-snap-stop'] = 'CSS3.0';
621 $data['csstidy']['all_properties']['size'] = 'CSS2.0,CSS3.0';
622 $data['csstidy']['all_properties']['speak'] = 'CSS2.0,CSS2.1,CSS3.0';
623 $data['csstidy']['all_properties']['speak-header'] = 'CSS2.0,CSS2.1,CSS3.0';
624 $data['csstidy']['all_properties']['speak-numeral'] = 'CSS2.0,CSS2.1,CSS3.0';
625 $data['csstidy']['all_properties']['speak-punctuation'] = 'CSS2.0,CSS2.1,CSS3.0';
626 $data['csstidy']['all_properties']['speech-rate'] = 'CSS2.0,CSS2.1,CSS3.0';
627 $data['csstidy']['all_properties']['src'] = 'CSS3.0';
628 $data['csstidy']['all_properties']['stress'] = 'CSS2.0,CSS2.1,CSS3.0';
629 $data['csstidy']['all_properties']['string-set'] = 'CSS3.0';
630 $data['csstidy']['all_properties']['stroke'] = 'CSS3.0';
631 $data['csstidy']['all_properties']['tab-size'] = 'CSS3.0';
632 $data['csstidy']['all_properties']['table-layout'] = 'CSS2.0,CSS2.1,CSS3.0';
633 $data['csstidy']['all_properties']['target'] = 'CSS3.0';
634 $data['csstidy']['all_properties']['target-name'] = 'CSS3.0';
635 $data['csstidy']['all_properties']['target-new'] = 'CSS3.0';
636 $data['csstidy']['all_properties']['target-position'] = 'CSS3.0';
637 $data['csstidy']['all_properties']['text-align'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
638 $data['csstidy']['all_properties']['text-align-last'] = 'CSS3.0';
639 $data['csstidy']['all_properties']['text-decoration'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
640 $data['csstidy']['all_properties']['text-decoration-color'] = 'CSS3.0';
641 $data['csstidy']['all_properties']['text-decoration-line'] = 'CSS3.0';
642 $data['csstidy']['all_properties']['text-decoration-skip'] = 'CSS3.0';
643 $data['csstidy']['all_properties']['text-decoration-style'] = 'CSS3.0';
644 $data['csstidy']['all_properties']['text-emphasis'] = 'CSS3.0';
645 $data['csstidy']['all_properties']['text-emphasis-color'] = 'CSS3.0';
646 $data['csstidy']['all_properties']['text-emphasis-position'] = 'CSS3.0';
647 $data['csstidy']['all_properties']['text-emphasis-style'] = 'CSS3.0';
648 $data['csstidy']['all_properties']['text-height'] = 'CSS3.0';
649 $data['csstidy']['all_properties']['text-indent'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
650 $data['csstidy']['all_properties']['text-justify'] = 'CSS3.0';
651 $data['csstidy']['all_properties']['text-outline'] = 'CSS3.0';
652 $data['csstidy']['all_properties']['text-shadow'] = 'CSS2.0,CSS3.0';
653 $data['csstidy']['all_properties']['text-size-adjust'] = 'CSS3.0';
654 $data['csstidy']['all_properties']['text-space-collapse'] = 'CSS3.0';
655 $data['csstidy']['all_properties']['text-transform'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
656 $data['csstidy']['all_properties']['text-underline-offset'] = 'CSS3.0';
657 $data['csstidy']['all_properties']['text-underline-position'] = 'CSS3.0';
658 $data['csstidy']['all_properties']['text-wrap'] = 'CSS3.0';
659 $data['csstidy']['all_properties']['top'] = 'CSS2.0,CSS2.1,CSS3.0';
660 $data['csstidy']['all_properties']['transform'] = 'CSS3.0';
661 $data['csstidy']['all_properties']['transform-origin'] = 'CSS3.0';
662 $data['csstidy']['all_properties']['transform-style'] = 'CSS3.0';
663 $data['csstidy']['all_properties']['transition'] = 'CSS3.0';
664 $data['csstidy']['all_properties']['transition-delay'] = 'CSS3.0';
665 $data['csstidy']['all_properties']['transition-duration'] = 'CSS3.0';
666 $data['csstidy']['all_properties']['transition-property'] = 'CSS3.0';
667 $data['csstidy']['all_properties']['transition-timing-function'] = 'CSS3.0';
668 $data['csstidy']['all_properties']['unicode-bidi'] = 'CSS2.0,CSS2.1,CSS3.0';
669 $data['csstidy']['all_properties']['vertical-align'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
670 $data['csstidy']['all_properties']['visibility'] = 'CSS2.0,CSS2.1,CSS3.0';
671 $data['csstidy']['all_properties']['voice-balance'] = 'CSS3.0';
672 $data['csstidy']['all_properties']['voice-duration'] = 'CSS3.0';
673 $data['csstidy']['all_properties']['voice-family'] = 'CSS2.0,CSS2.1,CSS3.0';
674 $data['csstidy']['all_properties']['voice-pitch'] = 'CSS3.0';
675 $data['csstidy']['all_properties']['voice-pitch-range'] = 'CSS3.0';
676 $data['csstidy']['all_properties']['voice-rate'] = 'CSS3.0';
677 $data['csstidy']['all_properties']['voice-stress'] = 'CSS3.0';
678 $data['csstidy']['all_properties']['voice-volume'] = 'CSS3.0';
679 $data['csstidy']['all_properties']['volume'] = 'CSS2.0,CSS2.1,CSS3.0';
680 $data['csstidy']['all_properties']['white-space'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
681 $data['csstidy']['all_properties']['widows'] = 'CSS2.0,CSS2.1,CSS3.0';
682 $data['csstidy']['all_properties']['width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
683 $data['csstidy']['all_properties']['word-break'] = 'CSS3.0';
684 $data['csstidy']['all_properties']['word-spacing'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
685 $data['csstidy']['all_properties']['word-wrap'] = 'CSS3.0';
686 $data['csstidy']['all_properties']['z-index'] = 'CSS2.0,CSS2.1,CSS3.0';
687 $data['csstidy']['all_properties']['zoom'] = 'CSS3.0';
688 $data['csstidy']['all_properties']['--custom'] = 'CSS3.0'; // Placeholder for custom properties, used in TablePress_CSSTidy::property_is_valid().
689
690 /**
691 * An array containing all properties that can accept a quoted string as a value.
692 */
693 $data['csstidy']['quoted_string_properties'] = array( 'content', 'font', 'font-family', 'quotes' );
694
695 /**
696 * An array containing all properties that can be defined multiple times without being overwritten.
697 * All unit values are included so that units like rem can be supported with fallbacks to px or em.
698 */
699 $data['csstidy']['multiple_properties'] = array_merge( $data['csstidy']['color_values'], $data['csstidy']['unit_values'], array( 'transition', 'background-image', 'border-image', 'list-style-image' ) );
700
701 /**
702 * An array containing all predefined templates.
703 *
704 * @see CSSTidy::load_template()
705 */
706 $data['csstidy']['predefined_templates']['default'][] = ''; // string before @rule.
707 $data['csstidy']['predefined_templates']['default'][] = " {\n"; // bracket after @-rule.
708 $data['csstidy']['predefined_templates']['default'][] = ''; // string before selector.
709 $data['csstidy']['predefined_templates']['default'][] = " {\n"; // bracket after selector.
710 $data['csstidy']['predefined_templates']['default'][] = "\t"; // string before property.
711 $data['csstidy']['predefined_templates']['default'][] = ' '; // string after property+before value.
712 $data['csstidy']['predefined_templates']['default'][] = ';'; // string after value.
713 $data['csstidy']['predefined_templates']['default'][] = '}'; // closing bracket - selector.
714 $data['csstidy']['predefined_templates']['default'][] = "\n\n"; // space between blocks {...}.
715 $data['csstidy']['predefined_templates']['default'][] = "\n}\n\n"; // closing bracket @-rule.
716 $data['csstidy']['predefined_templates']['default'][] = "\t"; // indent in @-rule.
717 $data['csstidy']['predefined_templates']['default'][] = ''; // before comment.
718 $data['csstidy']['predefined_templates']['default'][] = "\n"; // after comment.
719 $data['csstidy']['predefined_templates']['default'][] = "\n"; // after each line @-rule.
720
721 $data['csstidy']['predefined_templates']['low'][] = '<span class="at">';
722 $data['csstidy']['predefined_templates']['low'][] = '</span> <span class="format">{</span>' . "\n";
723 $data['csstidy']['predefined_templates']['low'][] = '<span class="selector">';
724 $data['csstidy']['predefined_templates']['low'][] = '</span>' . "\n" . '<span class="format">{</span>' . "\n";
725 $data['csstidy']['predefined_templates']['low'][] = ' <span class="property">';
726 $data['csstidy']['predefined_templates']['low'][] = '</span><span class="value">';
727 $data['csstidy']['predefined_templates']['low'][] = '</span><span class="format">;</span>' . "\n";
728 $data['csstidy']['predefined_templates']['low'][] = '<span class="format">}</span>';
729 $data['csstidy']['predefined_templates']['low'][] = "\n\n";
730 $data['csstidy']['predefined_templates']['low'][] = "\n" . '<span class="format">}</span>' . "\n\n";
731 $data['csstidy']['predefined_templates']['low'][] = ' ';
732 $data['csstidy']['predefined_templates']['low'][] = '<span class="comment">';
733 $data['csstidy']['predefined_templates']['low'][] = "</span>\n";
734 $data['csstidy']['predefined_templates']['low'][] = "\n";
735
736 $data['csstidy']['predefined_templates']['high'][] = '<span class="at">';
737 $data['csstidy']['predefined_templates']['high'][] = '</span> <span class="format">{</span>' . "\n";
738 $data['csstidy']['predefined_templates']['high'][] = '<span class="selector">';
739 $data['csstidy']['predefined_templates']['high'][] = '</span><span class="format">{</span>';
740 $data['csstidy']['predefined_templates']['high'][] = '<span class="property">';
741 $data['csstidy']['predefined_templates']['high'][] = '</span><span class="value">';
742 $data['csstidy']['predefined_templates']['high'][] = '</span><span class="format">;</span>';
743 $data['csstidy']['predefined_templates']['high'][] = '<span class="format">}</span>';
744 $data['csstidy']['predefined_templates']['high'][] = "\n";
745 $data['csstidy']['predefined_templates']['high'][] = "\n" . '<span class="format">}' . "\n" . '</span>';
746 $data['csstidy']['predefined_templates']['high'][] = '';
747 $data['csstidy']['predefined_templates']['high'][] = '<span class="comment">';
748 $data['csstidy']['predefined_templates']['high'][] = "</span>\n";
749 $data['csstidy']['predefined_templates']['high'][] = "\n";
750
751 $data['csstidy']['predefined_templates']['highest'][] = '<span class="at">';
752 $data['csstidy']['predefined_templates']['highest'][] = '</span><span class="format">{</span>';
753 $data['csstidy']['predefined_templates']['highest'][] = '<span class="selector">';
754 $data['csstidy']['predefined_templates']['highest'][] = '</span><span class="format">{</span>';
755 $data['csstidy']['predefined_templates']['highest'][] = '<span class="property">';
756 $data['csstidy']['predefined_templates']['highest'][] = '</span><span class="value">';
757 $data['csstidy']['predefined_templates']['highest'][] = '</span><span class="format">;</span>';
758 $data['csstidy']['predefined_templates']['highest'][] = '<span class="format">}</span>';
759 $data['csstidy']['predefined_templates']['highest'][] = '';
760 $data['csstidy']['predefined_templates']['highest'][] = '<span class="format">}</span>';
761 $data['csstidy']['predefined_templates']['highest'][] = '';
762 $data['csstidy']['predefined_templates']['highest'][] = '<span class="comment">';
763 $data['csstidy']['predefined_templates']['highest'][] = "</span>\n";
764 $data['csstidy']['predefined_templates']['highest'][] = '';
765
766 // Support browser prefixes for properties only in the latest CSS draft.
767 foreach ( $data['csstidy']['all_properties'] as $property => $levels ) {
768 if ( ! str_contains( $levels, ',' ) ) {
769 $data['csstidy']['all_properties'][ '-moz-' . $property ] = $levels;
770 $data['csstidy']['all_properties'][ '-webkit-' . $property ] = $levels;
771 $data['csstidy']['all_properties'][ '-ms-' . $property ] = $levels;
772 $data['csstidy']['all_properties'][ '-o-' . $property ] = $levels;
773
774 if ( in_array( $property, $data['csstidy']['unit_values'], true ) ) {
775 $data['csstidy']['unit_values'][] = '-moz-' . $property;
776 $data['csstidy']['unit_values'][] = '-webkit-' . $property;
777 $data['csstidy']['unit_values'][] = '-ms-' . $property;
778 $data['csstidy']['unit_values'][] = '-o-' . $property;
779 }
780
781 if ( in_array( $property, $data['csstidy']['color_values'], true ) ) {
782 $data['csstidy']['color_values'][] = '-moz-' . $property;
783 $data['csstidy']['color_values'][] = '-webkit-' . $property;
784 $data['csstidy']['color_values'][] = '-ms-' . $property;
785 $data['csstidy']['color_values'][] = '-o-' . $property;
786 }
787 }
788 }
789
790 // Allow vendor prefixes for any property that is allowed to be used multiple times inside a single selector.
791 foreach ( $data['csstidy']['multiple_properties'] as $property ) {
792 if ( '-' !== $property[0] ) {
793 $data['csstidy']['multiple_properties'][] = '-o-' . $property;
794 $data['csstidy']['multiple_properties'][] = '-ms-' . $property;
795 $data['csstidy']['multiple_properties'][] = '-webkit-' . $property;
796 $data['csstidy']['multiple_properties'][] = '-moz-' . $property;
797 }
798 }
799
800 /**
801 * Non-standard CSS properties. They're not part of any spec, but we say
802 * they're in all of them so that we can support them.
803 */
804 $data['csstidy']['all_properties']['-webkit-user-select'] = 'CSS2.0,CSS2.1,CSS3.0';
805 $data['csstidy']['all_properties']['-ms-user-select'] = 'CSS2.0,CSS2.1,CSS3.0';
806 $data['csstidy']['all_properties']['user-select'] = 'CSS2.0,CSS2.1,CSS3.0';
807 $data['csstidy']['all_properties']['-webkit-filter'] = 'CSS2.0,CSS2.1,CSS3.0';
808 $data['csstidy']['all_properties']['-moz-filter'] = 'CSS2.0,CSS2.1,CSS3.0';
809 $data['csstidy']['all_properties']['-ms-filter'] = 'CSS2.0,CSS2.1,CSS3.0';
810 $data['csstidy']['all_properties']['filter'] = 'CSS2.0,CSS2.1,CSS3.0';
811 $data['csstidy']['all_properties']['scrollbar-face-color'] = 'CSS2.0,CSS2.1,CSS3.0';
812 $data['csstidy']['all_properties']['-ms-interpolation-mode'] = 'CSS2.0,CSS2.1,CSS3.0';
813 $data['csstidy']['all_properties']['text-rendering'] = 'CSS2.0,CSS2.1,CSS3.0';
814 $data['csstidy']['all_properties']['-webkit-transform-origin-x'] = 'CSS3.0';
815 $data['csstidy']['all_properties']['-webkit-transform-origin-y'] = 'CSS3.0';
816 $data['csstidy']['all_properties']['-webkit-transform-origin-z'] = 'CSS3.0';
817 $data['csstidy']['all_properties']['-webkit-font-smoothing'] = 'CSS3.0';
818 $data['csstidy']['all_properties']['-moz-osx-font-smoothing'] = 'CSS3.0';
819 $data['csstidy']['all_properties']['-font-smooth'] = 'CSS3.0';
820 $data['csstidy']['all_properties']['text-overflow'] = 'CSS3.0';
821 $data['csstidy']['all_properties']['-o-text-overflow'] = 'CSS3.0';
822 $data['csstidy']['all_properties']['-ms-touch-action'] = 'CSS3.0';
823 $data['csstidy']['all_properties']['-webkit-overflow-scrolling'] = 'CSS3.0';
824 $data['csstidy']['all_properties']['pointer-events'] = 'CSS3.0';
825 $data['csstidy']['all_properties']['font-feature-settings'] = 'CSS3.0';
826 $data['csstidy']['all_properties']['font-kerning'] = 'CSS3.0';
827 $data['csstidy']['all_properties']['font-language-override'] = 'CSS3.0';
828 $data['csstidy']['all_properties']['font-synthesis'] = 'CSS3.0';
829 $data['csstidy']['all_properties']['font-variant-alternates'] = 'CSS3.0';
830 $data['csstidy']['all_properties']['font-variant-caps'] = 'CSS3.0';
831 $data['csstidy']['all_properties']['font-variant-east-asian'] = 'CSS3.0';
832 $data['csstidy']['all_properties']['font-variant-ligatures'] = 'CSS3.0';
833 $data['csstidy']['all_properties']['font-variant-numeric'] = 'CSS3.0';
834 $data['csstidy']['all_properties']['font-variant-position'] = 'CSS3.0';
835 $data['csstidy']['all_properties']['font-variation-settings'] = 'CSS3.0';
836 $data['csstidy']['all_properties']['line-height-step'] = 'CSS3.0';
837 $data['csstidy']['all_properties']['-webkit-text-fill-color'] = 'CSS3.0';
838 $data['csstidy']['all_properties']['-webkit-backdrop-filter'] = 'CSS3.0';
839 $data['csstidy']['all_properties']['backdrop-filter'] = 'CSS3.0';
840 $data['csstidy']['all_properties']['-webkit-box-orient'] = 'CSS3.0';
841 $data['csstidy']['all_properties']['-webkit-line-clamp'] = 'CSS3.0';
842
843 return $data;
844