You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
844 lines
48 KiB
844 lines
48 KiB
<?php
|
|
/**
|
|
* CSSTidy CSS Data
|
|
*
|
|
* @package TablePress
|
|
* @subpackage CSS
|
|
* @author Florian Schmitz, Brett Zamir, Nikolay Matsievsky, Cedric Morin, Christopher Finke, Mark Scherer, Tobias Bäthge
|
|
* @since 1.0.0
|
|
*/
|
|
|
|
// Prohibit direct script loading.
|
|
defined( 'ABSPATH' ) || die( 'No direct script access allowed!' );
|
|
|
|
/**
|
|
* Various CSS Data for CSSTidy
|
|
*
|
|
* This file is part of CSSTidy.
|
|
*
|
|
* CSSTidy is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* CSSTidy is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with CSSTidy; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*
|
|
* @license https://opensource.org/licenses/gpl-license.php GNU Public License
|
|
* @package CSSTidy
|
|
* @author Florian Schmitz (floele at gmail dot com) 2005
|
|
* @author Nikolay Matsievsky (speed at webo dot name) 2010
|
|
*/
|
|
|
|
/**
|
|
* All whitespace allowed in CSS.
|
|
*/
|
|
$data['csstidy']['whitespace'] = array( ' ', "\n", "\t", "\r", "\x0B" );
|
|
|
|
/**
|
|
* All CSS tokens used by CSSTidy.
|
|
*/
|
|
$data['csstidy']['tokens'] = '/@}{;:=\'"(,\\!$%&)*+.<>?[]^`|~';
|
|
|
|
/**
|
|
* All CSS units (CSS3 units included).
|
|
*
|
|
* @see compress_numbers()
|
|
*/
|
|
$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' );
|
|
|
|
/**
|
|
* Available at-rules.
|
|
*/
|
|
$data['csstidy']['at_rules'] = array(
|
|
'page' => 'is',
|
|
'font-face' => 'atis',
|
|
'charset' => 'iv',
|
|
'import' => 'iv',
|
|
'namespace' => 'iv',
|
|
'media' => 'at',
|
|
'keyframes' => 'at',
|
|
'-moz-keyframes' => 'at',
|
|
'-o-keyframes' => 'at',
|
|
'-webkit-keyframes' => 'at',
|
|
'-ms-keyframes' => 'at',
|
|
'viewport' => 'at',
|
|
'-webkit-viewport' => 'at',
|
|
'-moz-viewport' => 'at',
|
|
'-ms-viewport' => 'at',
|
|
'supports' => 'at',
|
|
);
|
|
|
|
/**
|
|
* Properties that need a value with unit.
|
|
*
|
|
* @todo CSS3 properties.
|
|
* @see compress_numbers();
|
|
*/
|
|
$data['csstidy']['unit_values'] = array(
|
|
'background',
|
|
'background-position',
|
|
'background-size',
|
|
'border',
|
|
'border-top',
|
|
'border-right',
|
|
'border-bottom',
|
|
'border-left',
|
|
'border-width',
|
|
'border-top-width',
|
|
'border-right-width',
|
|
'border-left-width',
|
|
'border-bottom-width',
|
|
'bottom',
|
|
'border-spacing',
|
|
'column-gap',
|
|
'column-width',
|
|
'font-size',
|
|
'height',
|
|
'left',
|
|
'margin',
|
|
'margin-top',
|
|
'margin-right',
|
|
'margin-bottom',
|
|
'margin-left',
|
|
'margin-block',
|
|
'margin-block-start',
|
|
'margin-block-end',
|
|
'margin-inline',
|
|
'margin-inline-start',
|
|
'margin-inline-end',
|
|
'max-height',
|
|
'max-width',
|
|
'min-height',
|
|
'min-width',
|
|
'outline',
|
|
'outline-width',
|
|
'padding',
|
|
'padding-top',
|
|
'padding-right',
|
|
'padding-bottom',
|
|
'padding-left',
|
|
'perspective',
|
|
'right',
|
|
'top',
|
|
'text-indent',
|
|
'letter-spacing',
|
|
'word-spacing',
|
|
'width',
|
|
);
|
|
|
|
/**
|
|
* Properties that allow <color> as value.
|
|
*
|
|
* @todo CSS3 properties
|
|
* @see compress_numbers();
|
|
*/
|
|
$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' );
|
|
|
|
/**
|
|
* Default values for the background properties.
|
|
*
|
|
* @todo Possibly property names will change during CSS3 development.
|
|
* @see dissolve_short_bg()
|
|
* @see merge_bg()
|
|
*/
|
|
$data['csstidy']['background_prop_default'] = array();
|
|
$data['csstidy']['background_prop_default']['background-image'] = 'none';
|
|
$data['csstidy']['background_prop_default']['background-size'] = 'auto';
|
|
$data['csstidy']['background_prop_default']['background-repeat'] = 'repeat';
|
|
$data['csstidy']['background_prop_default']['background-position'] = '0 0';
|
|
$data['csstidy']['background_prop_default']['background-attachment'] = 'scroll';
|
|
$data['csstidy']['background_prop_default']['background-clip'] = 'border';
|
|
$data['csstidy']['background_prop_default']['background-origin'] = 'padding';
|
|
$data['csstidy']['background_prop_default']['background-color'] = 'transparent';
|
|
|
|
/**
|
|
* Default values for the font properties.
|
|
*
|
|
* @see merge_fonts()
|
|
*/
|
|
$data['csstidy']['font_prop_default'] = array();
|
|
$data['csstidy']['font_prop_default']['font-style'] = 'normal';
|
|
$data['csstidy']['font_prop_default']['font-variant'] = 'normal';
|
|
$data['csstidy']['font_prop_default']['font-weight'] = 'normal';
|
|
$data['csstidy']['font_prop_default']['font-size'] = '';
|
|
$data['csstidy']['font_prop_default']['line-height'] = '';
|
|
$data['csstidy']['font_prop_default']['font-family'] = '';
|
|
|
|
/**
|
|
* A list of non-W3C color names which get replaced by their hex-codes.
|
|
*
|
|
* @see cut_color()
|
|
*/
|
|
$data['csstidy']['replace_colors'] = array();
|
|
$data['csstidy']['replace_colors']['aliceblue'] = '#f0f8ff';
|
|
$data['csstidy']['replace_colors']['antiquewhite'] = '#faebd7';
|
|
$data['csstidy']['replace_colors']['aquamarine'] = '#7fffd4';
|
|
$data['csstidy']['replace_colors']['azure'] = '#f0ffff';
|
|
$data['csstidy']['replace_colors']['beige'] = '#f5f5dc';
|
|
$data['csstidy']['replace_colors']['bisque'] = '#ffe4c4';
|
|
$data['csstidy']['replace_colors']['blanchedalmond'] = '#ffebcd';
|
|
$data['csstidy']['replace_colors']['blueviolet'] = '#8a2be2';
|
|
$data['csstidy']['replace_colors']['brown'] = '#a52a2a';
|
|
$data['csstidy']['replace_colors']['burlywood'] = '#deb887';
|
|
$data['csstidy']['replace_colors']['cadetblue'] = '#5f9ea0';
|
|
$data['csstidy']['replace_colors']['chartreuse'] = '#7fff00';
|
|
$data['csstidy']['replace_colors']['chocolate'] = '#d2691e';
|
|
$data['csstidy']['replace_colors']['coral'] = '#ff7f50';
|
|
$data['csstidy']['replace_colors']['cornflowerblue'] = '#6495ed';
|
|
$data['csstidy']['replace_colors']['cornsilk'] = '#fff8dc';
|
|
$data['csstidy']['replace_colors']['crimson'] = '#dc143c';
|
|
$data['csstidy']['replace_colors']['cyan'] = '#00ffff';
|
|
$data['csstidy']['replace_colors']['darkblue'] = '#00008b';
|
|
$data['csstidy']['replace_colors']['darkcyan'] = '#008b8b';
|
|
$data['csstidy']['replace_colors']['darkgoldenrod'] = '#b8860b';
|
|
$data['csstidy']['replace_colors']['darkgray'] = '#a9a9a9';
|
|
$data['csstidy']['replace_colors']['darkgreen'] = '#006400';
|
|
$data['csstidy']['replace_colors']['darkkhaki'] = '#bdb76b';
|
|
$data['csstidy']['replace_colors']['darkmagenta'] = '#8b008b';
|
|
$data['csstidy']['replace_colors']['darkolivegreen'] = '#556b2f';
|
|
$data['csstidy']['replace_colors']['darkorange'] = '#ff8c00';
|
|
$data['csstidy']['replace_colors']['darkorchid'] = '#9932cc';
|
|
$data['csstidy']['replace_colors']['darkred'] = '#8b0000';
|
|
$data['csstidy']['replace_colors']['darksalmon'] = '#e9967a';
|
|
$data['csstidy']['replace_colors']['darkseagreen'] = '#8fbc8f';
|
|
$data['csstidy']['replace_colors']['darkslateblue'] = '#483d8b';
|
|
$data['csstidy']['replace_colors']['darkslategray'] = '#2f4f4f';
|
|
$data['csstidy']['replace_colors']['darkturquoise'] = '#00ced1';
|
|
$data['csstidy']['replace_colors']['darkviolet'] = '#9400d3';
|
|
$data['csstidy']['replace_colors']['deeppink'] = '#ff1493';
|
|
$data['csstidy']['replace_colors']['deepskyblue'] = '#00bfff';
|
|
$data['csstidy']['replace_colors']['dimgray'] = '#696969';
|
|
$data['csstidy']['replace_colors']['dodgerblue'] = '#1e90ff';
|
|
$data['csstidy']['replace_colors']['feldspar'] = '#d19275';
|
|
$data['csstidy']['replace_colors']['firebrick'] = '#b22222';
|
|
$data['csstidy']['replace_colors']['floralwhite'] = '#fffaf0';
|
|
$data['csstidy']['replace_colors']['forestgreen'] = '#228b22';
|
|
$data['csstidy']['replace_colors']['gainsboro'] = '#dcdcdc';
|
|
$data['csstidy']['replace_colors']['ghostwhite'] = '#f8f8ff';
|
|
$data['csstidy']['replace_colors']['gold'] = '#ffd700';
|
|
$data['csstidy']['replace_colors']['goldenrod'] = '#daa520';
|
|
$data['csstidy']['replace_colors']['greenyellow'] = '#adff2f';
|
|
$data['csstidy']['replace_colors']['honeydew'] = '#f0fff0';
|
|
$data['csstidy']['replace_colors']['hotpink'] = '#ff69b4';
|
|
$data['csstidy']['replace_colors']['indianred'] = '#cd5c5c';
|
|
$data['csstidy']['replace_colors']['indigo'] = '#4b0082';
|
|
$data['csstidy']['replace_colors']['ivory'] = '#fffff0';
|
|
$data['csstidy']['replace_colors']['khaki'] = '#f0e68c';
|
|
$data['csstidy']['replace_colors']['lavender'] = '#e6e6fa';
|
|
$data['csstidy']['replace_colors']['lavenderblush'] = '#fff0f5';
|
|
$data['csstidy']['replace_colors']['lawngreen'] = '#7cfc00';
|
|
$data['csstidy']['replace_colors']['lemonchiffon'] = '#fffacd';
|
|
$data['csstidy']['replace_colors']['lightblue'] = '#add8e6';
|
|
$data['csstidy']['replace_colors']['lightcoral'] = '#f08080';
|
|
$data['csstidy']['replace_colors']['lightcyan'] = '#e0ffff';
|
|
$data['csstidy']['replace_colors']['lightgoldenrodyellow'] = '#fafad2';
|
|
$data['csstidy']['replace_colors']['lightgrey'] = '#d3d3d3';
|
|
$data['csstidy']['replace_colors']['lightgreen'] = '#90ee90';
|
|
$data['csstidy']['replace_colors']['lightpink'] = '#ffb6c1';
|
|
$data['csstidy']['replace_colors']['lightsalmon'] = '#ffa07a';
|
|
$data['csstidy']['replace_colors']['lightseagreen'] = '#20b2aa';
|
|
$data['csstidy']['replace_colors']['lightskyblue'] = '#87cefa';
|
|
$data['csstidy']['replace_colors']['lightslateblue'] = '#8470ff';
|
|
$data['csstidy']['replace_colors']['lightslategray'] = '#778899';
|
|
$data['csstidy']['replace_colors']['lightsteelblue'] = '#b0c4de';
|
|
$data['csstidy']['replace_colors']['lightyellow'] = '#ffffe0';
|
|
$data['csstidy']['replace_colors']['limegreen'] = '#32cd32';
|
|
$data['csstidy']['replace_colors']['linen'] = '#faf0e6';
|
|
$data['csstidy']['replace_colors']['magenta'] = '#ff00ff';
|
|
$data['csstidy']['replace_colors']['mediumaquamarine'] = '#66cdaa';
|
|
$data['csstidy']['replace_colors']['mediumblue'] = '#0000cd';
|
|
$data['csstidy']['replace_colors']['mediumorchid'] = '#ba55d3';
|
|
$data['csstidy']['replace_colors']['mediumpurple'] = '#9370d8';
|
|
$data['csstidy']['replace_colors']['mediumseagreen'] = '#3cb371';
|
|
$data['csstidy']['replace_colors']['mediumslateblue'] = '#7b68ee';
|
|
$data['csstidy']['replace_colors']['mediumspringgreen'] = '#00fa9a';
|
|
$data['csstidy']['replace_colors']['mediumturquoise'] = '#48d1cc';
|
|
$data['csstidy']['replace_colors']['mediumvioletred'] = '#c71585';
|
|
$data['csstidy']['replace_colors']['midnightblue'] = '#191970';
|
|
$data['csstidy']['replace_colors']['mintcream'] = '#f5fffa';
|
|
$data['csstidy']['replace_colors']['mistyrose'] = '#ffe4e1';
|
|
$data['csstidy']['replace_colors']['moccasin'] = '#ffe4b5';
|
|
$data['csstidy']['replace_colors']['navajowhite'] = '#ffdead';
|
|
$data['csstidy']['replace_colors']['oldlace'] = '#fdf5e6';
|
|
$data['csstidy']['replace_colors']['olivedrab'] = '#6b8e23';
|
|
$data['csstidy']['replace_colors']['orangered'] = '#ff4500';
|
|
$data['csstidy']['replace_colors']['orchid'] = '#da70d6';
|
|
$data['csstidy']['replace_colors']['palegoldenrod'] = '#eee8aa';
|
|
$data['csstidy']['replace_colors']['palegreen'] = '#98fb98';
|
|
$data['csstidy']['replace_colors']['paleturquoise'] = '#afeeee';
|
|
$data['csstidy']['replace_colors']['palevioletred'] = '#d87093';
|
|
$data['csstidy']['replace_colors']['papayawhip'] = '#ffefd5';
|
|
$data['csstidy']['replace_colors']['peachpuff'] = '#ffdab9';
|
|
$data['csstidy']['replace_colors']['peru'] = '#cd853f';
|
|
$data['csstidy']['replace_colors']['pink'] = '#ffc0cb';
|
|
$data['csstidy']['replace_colors']['plum'] = '#dda0dd';
|
|
$data['csstidy']['replace_colors']['powderblue'] = '#b0e0e6';
|
|
$data['csstidy']['replace_colors']['rosybrown'] = '#bc8f8f';
|
|
$data['csstidy']['replace_colors']['royalblue'] = '#4169e1';
|
|
$data['csstidy']['replace_colors']['saddlebrown'] = '#8b4513';
|
|
$data['csstidy']['replace_colors']['salmon'] = '#fa8072';
|
|
$data['csstidy']['replace_colors']['sandybrown'] = '#f4a460';
|
|
$data['csstidy']['replace_colors']['seagreen'] = '#2e8b57';
|
|
$data['csstidy']['replace_colors']['seashell'] = '#fff5ee';
|
|
$data['csstidy']['replace_colors']['sienna'] = '#a0522d';
|
|
$data['csstidy']['replace_colors']['skyblue'] = '#87ceeb';
|
|
$data['csstidy']['replace_colors']['slateblue'] = '#6a5acd';
|
|
$data['csstidy']['replace_colors']['slategray'] = '#708090';
|
|
$data['csstidy']['replace_colors']['snow'] = '#fffafa';
|
|
$data['csstidy']['replace_colors']['springgreen'] = '#00ff7f';
|
|
$data['csstidy']['replace_colors']['steelblue'] = '#4682b4';
|
|
$data['csstidy']['replace_colors']['tan'] = '#d2b48c';
|
|
$data['csstidy']['replace_colors']['thistle'] = '#d8bfd8';
|
|
$data['csstidy']['replace_colors']['tomato'] = '#ff6347';
|
|
$data['csstidy']['replace_colors']['turquoise'] = '#40e0d0';
|
|
$data['csstidy']['replace_colors']['violet'] = '#ee82ee';
|
|
$data['csstidy']['replace_colors']['violetred'] = '#d02090';
|
|
$data['csstidy']['replace_colors']['wheat'] = '#f5deb3';
|
|
$data['csstidy']['replace_colors']['whitesmoke'] = '#f5f5f5';
|
|
$data['csstidy']['replace_colors']['yellowgreen'] = '#9acd32';
|
|
|
|
/**
|
|
* A list of all shorthand properties that are divided into four properties and/or have four subvalues.
|
|
*
|
|
* @see dissolve_4value_shorthands()
|
|
* @see merge_4value_shorthands()
|
|
*/
|
|
$data['csstidy']['shorthands'] = array();
|
|
$data['csstidy']['shorthands']['border-color'] = array( 'border-top-color', 'border-right-color', 'border-bottom-color', 'border-left-color' );
|
|
$data['csstidy']['shorthands']['border-style'] = array( 'border-top-style', 'border-right-style', 'border-bottom-style', 'border-left-style' );
|
|
$data['csstidy']['shorthands']['border-width'] = array( 'border-top-width', 'border-right-width', 'border-bottom-width', 'border-left-width' );
|
|
$data['csstidy']['shorthands']['margin'] = array( 'margin-top', 'margin-right', 'margin-bottom', 'margin-left' );
|
|
$data['csstidy']['shorthands']['margin-block'] = array( 'margin-block-start', 'margin-block-end' );
|
|
$data['csstidy']['shorthands']['margin-inline'] = array( 'margin-inline-start', 'margin-inline-end' );
|
|
$data['csstidy']['shorthands']['padding'] = array( 'padding-top', 'padding-right', 'padding-bottom', 'padding-left' );
|
|
|
|
/**
|
|
* All CSS Properties.
|
|
*
|
|
* @see CSSTidy::property_is_next()
|
|
*/
|
|
$data['csstidy']['all_properties']['accent-color'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['align-content'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['align-items'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['align-self'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['alignment-adjust'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['alignment-baseline'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['animation'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['animation-delay'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['animation-direction'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['animation-duration'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['animation-fill-mode'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['animation-iteration-count'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['animation-name'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['animation-play-state'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['animation-timing-function'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['appearance'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['aspect-ratio'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['azimuth'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['backface-visibility'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['background'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['background-attachment'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['background-clip'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['background-color'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['background-image'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['background-origin'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['background-position'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['background-repeat'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['background-size'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['baseline-shift'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['bleed'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['bookmark-label'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['bookmark-level'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['bookmark-state'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['bookmark-target'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['border'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-bottom'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-bottom-color'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-bottom-left-radius'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['border-bottom-right-radius'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['border-bottom-style'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-bottom-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-collapse'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-color'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-image'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['border-image-outset'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['border-image-repeat'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['border-image-slice'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['border-image-source'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['border-image-width'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['border-left'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-left-color'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-left-style'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-left-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-radius'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['border-right'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-right-color'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-right-style'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-right-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-spacing'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-style'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-top'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-top-color'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-top-left-radius'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['border-top-right-radius'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['border-top-style'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-top-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['border-width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['bottom'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['box-decoration-break'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['box-shadow'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['box-sizing'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['break-after'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['break-before'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['break-inside'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['caption-side'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['clear'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['clip'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['clip-path'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['color'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['color-profile'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['column-count'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['column-fill'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['column-gap'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['column-rule'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['column-rule-color'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['column-rule-style'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['column-rule-width'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['column-span'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['column-width'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['columns'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['content'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['counter-increment'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['counter-reset'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['crop'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['cue'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['cue-after'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['cue-before'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['cursor'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['direction'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['display'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['dominant-baseline'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['drop-initial-after-adjust'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['drop-initial-after-align'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['drop-initial-before-adjust'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['drop-initial-before-align'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['drop-initial-size'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['drop-initial-value'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['elevation'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['empty-cells'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['fill'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['fit'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['fit-position'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['flex'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['flex-align'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['flex-basis'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['flex-direction'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['flex-flow'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['flex-grow'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['flex-line-pack'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['flex-order'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['flex-pack'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['flex-shrink'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['flex-wrap'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['float'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['float-offset'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['font'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['font-family'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['font-size'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['font-size-adjust'] = 'CSS2.0,CSS3.0';
|
|
$data['csstidy']['all_properties']['font-stretch'] = 'CSS2.0,CSS3.0';
|
|
$data['csstidy']['all_properties']['font-style'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['font-variant'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['font-weight'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['gap'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid-area'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid-auto-columns'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid-auto-flow'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid-auto-rows'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid-column'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid-columns'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid-column-end'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid-column-gap'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid-column-start'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid-gap'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid-row'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid-rows'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid-row-end'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid-row-gap'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid-row-start'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid-template'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid-template-areas'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid-template-columns'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['grid-template-rows'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['hanging-punctuation'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['height'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['hyphenate-after'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['hyphenate-before'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['hyphenate-character'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['hyphenate-lines'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['hyphenate-resource'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['hyphens'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['icon'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['image-orientation'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['image-rendering'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['image-resolution'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['inline-box-align'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['justify-content'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['justify-items'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['justify-self'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['left'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['letter-spacing'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['line-break'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['line-height'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['line-stacking'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['line-stacking-ruby'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['line-stacking-shift'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['line-stacking-strategy'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['list-style'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['list-style-image'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['list-style-position'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['list-style-type'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['margin'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['margin-bottom'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['margin-left'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['margin-right'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['margin-top'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['margin-block'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['margin-block-start'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['margin-block-end'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['margin-inline'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['margin-inline-start'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['margin-inline-end'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['marker-offset'] = 'CSS2.0,CSS3.0';
|
|
$data['csstidy']['all_properties']['marks'] = 'CSS2.0,CSS3.0';
|
|
$data['csstidy']['all_properties']['marquee-direction'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['marquee-loop'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['marquee-play-count'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['marquee-speed'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['marquee-style'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['mask-clip'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['mask-composite'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['mask-image'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['mask-mode'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['mask-origin'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['mask-position'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['mask-repeat'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['mask-size'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['max-height'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['max-width'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['min-height'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['min-width'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['move-to'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['nav-down'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['nav-index'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['nav-left'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['nav-right'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['nav-up'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['object-fit'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['object-position'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['opacity'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['order'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['orphans'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['outline'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['outline-color'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['outline-offset'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['outline-style'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['outline-width'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['overflow'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['overflow-style'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['overflow-wrap'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['overflow-x'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['overflow-y'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['padding'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['padding-bottom'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['padding-left'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['padding-right'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['padding-top'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['page'] = 'CSS2.0,CSS3.0';
|
|
$data['csstidy']['all_properties']['page-break-after'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['page-break-before'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['page-break-inside'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['page-policy'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['pause'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['pause-after'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['pause-before'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['perspective'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['perspective-origin'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['phonemes'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['pitch'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['pitch-range'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['play-during'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['position'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['presentation-level'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['punctuation-trim'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['quotes'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['rendering-intent'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['resize'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['rest'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['rest-after'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['rest-before'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['richness'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['right'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['rotation'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['rotation-point'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['ruby-align'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['ruby-overhang'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['ruby-position'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['ruby-span'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-behavior'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-margin'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-margin-block'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-margin-block-end'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-margin-block-start'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-margin-bottom'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-margin-inline'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-margin-inline-end'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-margin-inline-start'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-margin-left'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-margin-right'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-margin-top'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-padding'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-padding-block'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-padding-block-end'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-padding-block-start'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-padding-bottom'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-padding-inline'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-padding-inline-end'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-padding-inline-start'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-padding-left'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-padding-right'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-padding-top'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-snap-align'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['scroll-snap-stop'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['size'] = 'CSS2.0,CSS3.0';
|
|
$data['csstidy']['all_properties']['speak'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['speak-header'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['speak-numeral'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['speak-punctuation'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['speech-rate'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['src'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['stress'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['string-set'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['stroke'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['tab-size'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['table-layout'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['target'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['target-name'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['target-new'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['target-position'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['text-align'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['text-align-last'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['text-decoration'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['text-decoration-color'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['text-decoration-line'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['text-decoration-skip'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['text-decoration-style'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['text-emphasis'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['text-emphasis-color'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['text-emphasis-position'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['text-emphasis-style'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['text-height'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['text-indent'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['text-justify'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['text-outline'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['text-shadow'] = 'CSS2.0,CSS3.0';
|
|
$data['csstidy']['all_properties']['text-size-adjust'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['text-space-collapse'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['text-transform'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['text-underline-offset'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['text-underline-position'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['text-wrap'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['top'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['transform'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['transform-origin'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['transform-style'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['transition'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['transition-delay'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['transition-duration'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['transition-property'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['transition-timing-function'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['unicode-bidi'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['vertical-align'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['visibility'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['voice-balance'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['voice-duration'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['voice-family'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['voice-pitch'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['voice-pitch-range'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['voice-rate'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['voice-stress'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['voice-volume'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['volume'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['white-space'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['widows'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['word-break'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['word-spacing'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['word-wrap'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['z-index'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['zoom'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['--custom'] = 'CSS3.0'; // Placeholder for custom properties, used in TablePress_CSSTidy::property_is_valid().
|
|
|
|
/**
|
|
* An array containing all properties that can accept a quoted string as a value.
|
|
*/
|
|
$data['csstidy']['quoted_string_properties'] = array( 'content', 'font', 'font-family', 'quotes' );
|
|
|
|
/**
|
|
* An array containing all properties that can be defined multiple times without being overwritten.
|
|
* All unit values are included so that units like rem can be supported with fallbacks to px or em.
|
|
*/
|
|
$data['csstidy']['multiple_properties'] = array_merge( $data['csstidy']['color_values'], $data['csstidy']['unit_values'], array( 'transition', 'background-image', 'border-image', 'list-style-image' ) );
|
|
|
|
/**
|
|
* An array containing all predefined templates.
|
|
*
|
|
* @see CSSTidy::load_template()
|
|
*/
|
|
$data['csstidy']['predefined_templates']['default'][] = ''; // string before @rule.
|
|
$data['csstidy']['predefined_templates']['default'][] = " {\n"; // bracket after @-rule.
|
|
$data['csstidy']['predefined_templates']['default'][] = ''; // string before selector.
|
|
$data['csstidy']['predefined_templates']['default'][] = " {\n"; // bracket after selector.
|
|
$data['csstidy']['predefined_templates']['default'][] = "\t"; // string before property.
|
|
$data['csstidy']['predefined_templates']['default'][] = ' '; // string after property+before value.
|
|
$data['csstidy']['predefined_templates']['default'][] = ';'; // string after value.
|
|
$data['csstidy']['predefined_templates']['default'][] = '}'; // closing bracket - selector.
|
|
$data['csstidy']['predefined_templates']['default'][] = "\n\n"; // space between blocks {...}.
|
|
$data['csstidy']['predefined_templates']['default'][] = "\n}\n\n"; // closing bracket @-rule.
|
|
$data['csstidy']['predefined_templates']['default'][] = "\t"; // indent in @-rule.
|
|
$data['csstidy']['predefined_templates']['default'][] = ''; // before comment.
|
|
$data['csstidy']['predefined_templates']['default'][] = "\n"; // after comment.
|
|
$data['csstidy']['predefined_templates']['default'][] = "\n"; // after each line @-rule.
|
|
|
|
$data['csstidy']['predefined_templates']['low'][] = '<span class="at">';
|
|
$data['csstidy']['predefined_templates']['low'][] = '</span> <span class="format">{</span>' . "\n";
|
|
$data['csstidy']['predefined_templates']['low'][] = '<span class="selector">';
|
|
$data['csstidy']['predefined_templates']['low'][] = '</span>' . "\n" . '<span class="format">{</span>' . "\n";
|
|
$data['csstidy']['predefined_templates']['low'][] = ' <span class="property">';
|
|
$data['csstidy']['predefined_templates']['low'][] = '</span><span class="value">';
|
|
$data['csstidy']['predefined_templates']['low'][] = '</span><span class="format">;</span>' . "\n";
|
|
$data['csstidy']['predefined_templates']['low'][] = '<span class="format">}</span>';
|
|
$data['csstidy']['predefined_templates']['low'][] = "\n\n";
|
|
$data['csstidy']['predefined_templates']['low'][] = "\n" . '<span class="format">}</span>' . "\n\n";
|
|
$data['csstidy']['predefined_templates']['low'][] = ' ';
|
|
$data['csstidy']['predefined_templates']['low'][] = '<span class="comment">';
|
|
$data['csstidy']['predefined_templates']['low'][] = "</span>\n";
|
|
$data['csstidy']['predefined_templates']['low'][] = "\n";
|
|
|
|
$data['csstidy']['predefined_templates']['high'][] = '<span class="at">';
|
|
$data['csstidy']['predefined_templates']['high'][] = '</span> <span class="format">{</span>' . "\n";
|
|
$data['csstidy']['predefined_templates']['high'][] = '<span class="selector">';
|
|
$data['csstidy']['predefined_templates']['high'][] = '</span><span class="format">{</span>';
|
|
$data['csstidy']['predefined_templates']['high'][] = '<span class="property">';
|
|
$data['csstidy']['predefined_templates']['high'][] = '</span><span class="value">';
|
|
$data['csstidy']['predefined_templates']['high'][] = '</span><span class="format">;</span>';
|
|
$data['csstidy']['predefined_templates']['high'][] = '<span class="format">}</span>';
|
|
$data['csstidy']['predefined_templates']['high'][] = "\n";
|
|
$data['csstidy']['predefined_templates']['high'][] = "\n" . '<span class="format">}' . "\n" . '</span>';
|
|
$data['csstidy']['predefined_templates']['high'][] = '';
|
|
$data['csstidy']['predefined_templates']['high'][] = '<span class="comment">';
|
|
$data['csstidy']['predefined_templates']['high'][] = "</span>\n";
|
|
$data['csstidy']['predefined_templates']['high'][] = "\n";
|
|
|
|
$data['csstidy']['predefined_templates']['highest'][] = '<span class="at">';
|
|
$data['csstidy']['predefined_templates']['highest'][] = '</span><span class="format">{</span>';
|
|
$data['csstidy']['predefined_templates']['highest'][] = '<span class="selector">';
|
|
$data['csstidy']['predefined_templates']['highest'][] = '</span><span class="format">{</span>';
|
|
$data['csstidy']['predefined_templates']['highest'][] = '<span class="property">';
|
|
$data['csstidy']['predefined_templates']['highest'][] = '</span><span class="value">';
|
|
$data['csstidy']['predefined_templates']['highest'][] = '</span><span class="format">;</span>';
|
|
$data['csstidy']['predefined_templates']['highest'][] = '<span class="format">}</span>';
|
|
$data['csstidy']['predefined_templates']['highest'][] = '';
|
|
$data['csstidy']['predefined_templates']['highest'][] = '<span class="format">}</span>';
|
|
$data['csstidy']['predefined_templates']['highest'][] = '';
|
|
$data['csstidy']['predefined_templates']['highest'][] = '<span class="comment">';
|
|
$data['csstidy']['predefined_templates']['highest'][] = "</span>\n";
|
|
$data['csstidy']['predefined_templates']['highest'][] = '';
|
|
|
|
// Support browser prefixes for properties only in the latest CSS draft.
|
|
foreach ( $data['csstidy']['all_properties'] as $property => $levels ) {
|
|
if ( ! str_contains( $levels, ',' ) ) {
|
|
$data['csstidy']['all_properties'][ '-moz-' . $property ] = $levels;
|
|
$data['csstidy']['all_properties'][ '-webkit-' . $property ] = $levels;
|
|
$data['csstidy']['all_properties'][ '-ms-' . $property ] = $levels;
|
|
$data['csstidy']['all_properties'][ '-o-' . $property ] = $levels;
|
|
|
|
if ( in_array( $property, $data['csstidy']['unit_values'], true ) ) {
|
|
$data['csstidy']['unit_values'][] = '-moz-' . $property;
|
|
$data['csstidy']['unit_values'][] = '-webkit-' . $property;
|
|
$data['csstidy']['unit_values'][] = '-ms-' . $property;
|
|
$data['csstidy']['unit_values'][] = '-o-' . $property;
|
|
}
|
|
|
|
if ( in_array( $property, $data['csstidy']['color_values'], true ) ) {
|
|
$data['csstidy']['color_values'][] = '-moz-' . $property;
|
|
$data['csstidy']['color_values'][] = '-webkit-' . $property;
|
|
$data['csstidy']['color_values'][] = '-ms-' . $property;
|
|
$data['csstidy']['color_values'][] = '-o-' . $property;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Allow vendor prefixes for any property that is allowed to be used multiple times inside a single selector.
|
|
foreach ( $data['csstidy']['multiple_properties'] as $property ) {
|
|
if ( '-' !== $property[0] ) {
|
|
$data['csstidy']['multiple_properties'][] = '-o-' . $property;
|
|
$data['csstidy']['multiple_properties'][] = '-ms-' . $property;
|
|
$data['csstidy']['multiple_properties'][] = '-webkit-' . $property;
|
|
$data['csstidy']['multiple_properties'][] = '-moz-' . $property;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Non-standard CSS properties. They're not part of any spec, but we say
|
|
* they're in all of them so that we can support them.
|
|
*/
|
|
$data['csstidy']['all_properties']['-webkit-user-select'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['-ms-user-select'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['user-select'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['-webkit-filter'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['-moz-filter'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['-ms-filter'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['filter'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['scrollbar-face-color'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['-ms-interpolation-mode'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['text-rendering'] = 'CSS2.0,CSS2.1,CSS3.0';
|
|
$data['csstidy']['all_properties']['-webkit-transform-origin-x'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['-webkit-transform-origin-y'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['-webkit-transform-origin-z'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['-webkit-font-smoothing'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['-moz-osx-font-smoothing'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['-font-smooth'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['text-overflow'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['-o-text-overflow'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['-ms-touch-action'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['-webkit-overflow-scrolling'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['pointer-events'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['font-feature-settings'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['font-kerning'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['font-language-override'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['font-synthesis'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['font-variant-alternates'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['font-variant-caps'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['font-variant-east-asian'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['font-variant-ligatures'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['font-variant-numeric'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['font-variant-position'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['font-variation-settings'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['line-height-step'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['-webkit-text-fill-color'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['-webkit-backdrop-filter'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['backdrop-filter'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['-webkit-box-orient'] = 'CSS3.0';
|
|
$data['csstidy']['all_properties']['-webkit-line-clamp'] = 'CSS3.0';
|
|
|
|
return $data;
|