com.phloc.css.property.ECSSProperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of phloc-css-jdk5 Show documentation
Show all versions of phloc-css-jdk5 Show documentation
phloc CSS parser an other components
/**
* Copyright (C) 2006-2014 phloc systems
* http://www.phloc.com
* office[at]phloc[dot]com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.phloc.css.property;
import java.util.EnumSet;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import com.phloc.commons.annotations.Nonempty;
import com.phloc.commons.annotations.ReturnsMutableCopy;
import com.phloc.commons.collections.ContainerHelper;
import com.phloc.commons.lang.EnumHelper;
import com.phloc.commons.name.IHasName;
import com.phloc.commons.string.StringHelper;
import com.phloc.css.ECSSSpecification;
import com.phloc.css.ECSSVersion;
import com.phloc.css.ICSSVersionAware;
import com.phloc.css.annotations.DeprecatedInCSS30;
/**
* Contains a list of most CSS property names.
* Source of Webkit property names:
* http://trac.webkit.org/export/0/trunk/Source/WebCore/css/CSSPropertyNames.in
*
* MS specific property names:
* http://msdn.microsoft.com/en-us/library/ie/hh772373%28v=vs.85%29.aspx
* http://blogs.msdn.com/b/ie/archive/2008/09/08/microsoft-css-vendor-extensions
* .aspx
*
* Mozilla specific property names:
* https://developer.mozilla.org/en/CSS_Reference/Mozilla_Extensions
*
* CSS 3.0: see {@link ECSSSpecification}
*
* @author Philip Helger
*/
public enum ECSSProperty implements IHasName, ICSSVersionAware
{
ALIGN_CONTENT ("align-content", ECSSVersion.CSS30, ECSSSpecification.CSS3_FLEXBOX, ECSSSpecification.CSS3_ALIGN),
ALIGN_ITEMS ("align-items", ECSSVersion.CSS30, ECSSSpecification.CSS3_FLEXBOX, ECSSSpecification.CSS3_ALIGN),
ALIGN_SELF ("align-self", ECSSVersion.CSS30, ECSSSpecification.CSS3_FLEXBOX, ECSSSpecification.CSS3_ALIGN),
ALIGNMENT_ADJUST ("alignment-adjust", ECSSVersion.CSS30, ECSSSpecification.CSS3_LINEBOX),
ALIGNMENT_BASELINE ("alignment-baseline", ECSSVersion.CSS30, ECSSSpecification.CSS3_LINEBOX),
ALL ("all", ECSSVersion.CSS30, ECSSSpecification.CSS3_CASCADE),
ANIMATION ("animation", ECSSVersion.CSS30, ECSSSpecification.CSS3_ANIMATIONS),
ANIMATION_DELAY ("animation-delay", ECSSVersion.CSS30, ECSSSpecification.CSS3_ANIMATIONS),
ANIMATION_DIRECTION ("animation-direction", ECSSVersion.CSS30, ECSSSpecification.CSS3_ANIMATIONS),
ANIMATION_DURATION ("animation-duration", ECSSVersion.CSS30, ECSSSpecification.CSS3_ANIMATIONS),
ANIMATION_FILL_MODE ("animation-fill-mode", ECSSVersion.CSS30, ECSSSpecification.CSS3_ANIMATIONS),
ANIMATION_ITERATION_COUNT ("animation-iteration-count", ECSSVersion.CSS30, ECSSSpecification.CSS3_ANIMATIONS),
ANIMATION_NAME ("animation-name", ECSSVersion.CSS30, ECSSSpecification.CSS3_ANIMATIONS),
ANIMATION_PLAY_STATE ("animation-play-state", ECSSVersion.CSS30, ECSSSpecification.CSS3_ANIMATIONS),
ANIMATION_TIMING_FUNCTION ("animation-timing-function", ECSSVersion.CSS30, ECSSSpecification.CSS3_ANIMATIONS),
AZIMUTH ("azimuth", ECSSVersion.CSS21, ECSSSpecification.CSS2),
BACKFACE_VISIBILITY ("backface-visibility", ECSSVersion.CSS30, ECSSSpecification.CSS3_TRANSFORMS),
BACKGROUND ("background", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BACKGROUND_ATTACHMENT ("background-attachment", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BACKGROUND_CLIP ("background-clip", ECSSVersion.CSS30, ECSSSpecification.CSS3_BACKGROUND),
BACKGROUND_COLOR ("background-color", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BACKGROUND_IMAGE ("background-image", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BACKGROUND_ORIGIN ("background-origin", ECSSVersion.CSS30, ECSSSpecification.CSS3_BACKGROUND),
BACKGROUND_POSITION ("background-position", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BACKGROUND_REPEAT ("background-repeat", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BACKGROUND_SIZE ("background-size", ECSSVersion.CSS30, ECSSSpecification.CSS3_BACKGROUND),
BASELINE_SHIFT ("baseline-shift", ECSSVersion.CSS30, ECSSSpecification.CSS3_LINEBOX),
BLEED ("bleed", ECSSVersion.CSS30, ECSSSpecification.CSS3_GCPM),
BOOKMARK_LABEL ("bookmark-label", ECSSVersion.CSS30, ECSSSpecification.CSS3_GCPM),
BOOKMARK_LEVEL ("bookmark-level", ECSSVersion.CSS30, ECSSSpecification.CSS3_GCPM),
BOOKMARK_STATE ("bookmark-state", ECSSVersion.CSS30, ECSSSpecification.CSS3_GCPM),
BOOKMARK_TARGET ("bookmark-target", ECSSVersion.CSS30, ECSSSpecification.CSS3_GCPM),
BORDER ("border", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BORDER_BOTTOM ("border-bottom", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BORDER_BOTTOM_COLOR ("border-bottom-color", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BORDER_BOTTOM_LEFT_RADIUS ("border-bottom-left-radius", ECSSVersion.CSS30, ECSSSpecification.CSS3_BACKGROUND),
BORDER_BOTTOM_RIGHT_RADIUS ("border-bottom-right-radius", ECSSVersion.CSS30, ECSSSpecification.CSS3_BACKGROUND),
BORDER_BOTTOM_STYLE ("border-bottom-style", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BORDER_BOTTOM_WIDTH ("border-bottom-width", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BORDER_COLLAPSE ("border-collapse", ECSSVersion.CSS21, ECSSSpecification.CSS2),
BORDER_COLOR ("border-color", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BORDER_IMAGE ("border-image", ECSSVersion.CSS30, ECSSSpecification.CSS3_BACKGROUND),
BORDER_IMAGE_OUTSET ("border-image-outset", ECSSVersion.CSS30, ECSSSpecification.CSS3_BACKGROUND),
BORDER_IMAGE_REPEAT ("border-image-repeat", ECSSVersion.CSS30, ECSSSpecification.CSS3_BACKGROUND),
BORDER_IMAGE_SLICE ("border-image-slice", ECSSVersion.CSS30, ECSSSpecification.CSS3_BACKGROUND),
BORDER_IMAGE_SOURCE ("border-image-source", ECSSVersion.CSS30, ECSSSpecification.CSS3_BACKGROUND),
BORDER_IMAGE_WIDTH ("border-image-width", ECSSVersion.CSS30, ECSSSpecification.CSS3_BACKGROUND),
BORDER_LEFT ("border-left", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BORDER_LEFT_COLOR ("border-left-color", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BORDER_LEFT_STYLE ("border-left-style", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BORDER_LEFT_WIDTH ("border-left-width", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BORDER_RADIUS ("border-radius", ECSSVersion.CSS30, ECSSSpecification.CSS3_BACKGROUND),
BORDER_RIGHT ("border-right", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BORDER_RIGHT_COLOR ("border-right-color", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BORDER_RIGHT_STYLE ("border-right-style", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BORDER_RIGHT_WIDTH ("border-right-width", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BORDER_SPACING ("border-spacing", ECSSVersion.CSS21, ECSSSpecification.CSS2),
BORDER_STYLE ("border-style", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BORDER_TOP ("border-top", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BORDER_TOP_COLOR ("border-top-color", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BORDER_TOP_LEFT_RADIUS ("border-top-left-radius", ECSSVersion.CSS30, ECSSSpecification.CSS3_BACKGROUND),
BORDER_TOP_RIGHT_RADIUS ("border-top-right-radius", ECSSVersion.CSS30, ECSSSpecification.CSS3_BACKGROUND),
BORDER_TOP_STYLE ("border-top-style", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BORDER_TOP_WIDTH ("border-top-width", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BORDER_WIDTH ("border-width", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BACKGROUND),
BOTTOM ("bottom", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_POSITIONING),
BOX_DECORATION_BREAK ("box-decoration-break", ECSSVersion.CSS30, ECSSSpecification.CSS3_BACKGROUND),
BOX_SHADOW ("box-shadow", ECSSVersion.CSS30, ECSSSpecification.CSS3_BACKGROUND),
BOX_SIZING ("box-sizing", ECSSVersion.CSS30, ECSSSpecification.CSS3_UI),
BREAK_AFTER ("break-after", ECSSVersion.CSS30, ECSSSpecification.CSS3_MULTICOL, ECSSSpecification.CSS3_BREAK, ECSSSpecification.CSS3_REGIONS),
BREAK_BEFORE ("break-before", ECSSVersion.CSS30, ECSSSpecification.CSS3_MULTICOL, ECSSSpecification.CSS3_BREAK, ECSSSpecification.CSS3_REGIONS),
BREAK_INSIDE ("break-inside", ECSSVersion.CSS30, ECSSSpecification.CSS3_MULTICOL, ECSSSpecification.CSS3_BREAK, ECSSSpecification.CSS3_REGIONS),
CAPTION_SIDE ("caption-side", ECSSVersion.CSS21, ECSSSpecification.CSS2),
CLEAR ("clear", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2),
CLIP ("clip", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_POSITIONING, ECSSSpecification.CSS_MASKING),
CLIP_PATH ("clip-path", ECSSVersion.CSS30, ECSSSpecification.CSS_MASKING),
CLIP_RULE ("clip-rule", ECSSVersion.CSS30, ECSSSpecification.CSS_MASKING),
COLOR ("color", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_COLOR),
COLOR_INTERPOLATION_FILTERS ("color-interpolation-filters", ECSSVersion.CSS30, ECSSSpecification.FILTER_EFFECTS),
COLUMNS ("columns", ECSSVersion.CSS30, ECSSSpecification.CSS3_MULTICOL),
COLUMNS_SPAN ("columns-span", ECSSVersion.CSS30, ECSSSpecification.CSS3_MULTICOL),
COLUMNS_WIDTH ("columns-width", ECSSVersion.CSS30, ECSSSpecification.CSS3_MULTICOL),
COLUMN_COUNT ("column-count", ECSSVersion.CSS30, ECSSSpecification.CSS3_MULTICOL),
COLUMN_FILL ("column-fill", ECSSVersion.CSS30, ECSSSpecification.CSS3_MULTICOL),
COLUMN_GAP ("column-gap", ECSSVersion.CSS30, ECSSSpecification.CSS3_MULTICOL),
COLUMN_RULE ("column-rule", ECSSVersion.CSS30, ECSSSpecification.CSS3_MULTICOL),
COLUMN_RULE_COLOR ("column-rule-color", ECSSVersion.CSS30, ECSSSpecification.CSS3_MULTICOL),
COLUMN_RULE_STYLE ("column-rule-style", ECSSVersion.CSS30, ECSSSpecification.CSS3_MULTICOL),
COLUMN_RULE_WIDTH ("column-rule-width", ECSSVersion.CSS30, ECSSSpecification.CSS3_MULTICOL),
COLUMN_WIDTH ("column-width", ECSSVersion.CSS30, ECSSSpecification.CSS3_MULTICOL),
CONTENT ("content", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_UI),
COUNTER_INCREMENT ("counter-increment", ECSSVersion.CSS21, ECSSSpecification.CSS2),
COUNTER_RESET ("counter-reset", ECSSVersion.CSS21, ECSSSpecification.CSS2),
CUE ("cue", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_SPEECH),
CUE_AFTER ("cue-after", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_SPEECH),
CUE_BEFORE ("cue-before", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_SPEECH),
CURSOR ("cursor", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_UI),
DIRECTION ("direction", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_WRITING_MODES),
DISPLAY ("display", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_FLEXBOX, ECSSSpecification.CSS3_LISTS),
DOMINANT_BASELINE ("dominant-baseline", ECSSVersion.CSS30, ECSSSpecification.CSS3_LINEBOX),
DROP_INITIAL_AFTER_ADJUST ("drop-initial-after-adjust", ECSSVersion.CSS30, ECSSSpecification.CSS3_LINEBOX),
DROP_INITIAL_AFTER_ALIGN ("drop-initial-after-align", ECSSVersion.CSS30, ECSSSpecification.CSS3_LINEBOX),
DROP_INITIAL_BEFORE_ADJUST ("drop-initial-before-adjust", ECSSVersion.CSS30, ECSSSpecification.CSS3_LINEBOX),
DROP_INITIAL_BEFORE_ALIGN ("drop-initial-before-align", ECSSVersion.CSS30, ECSSSpecification.CSS3_LINEBOX),
DROP_INITIAL_SIZE ("drop-initial-size", ECSSVersion.CSS30, ECSSSpecification.CSS3_LINEBOX),
DROP_INITIAL_VALUE ("drop-initial-value", ECSSVersion.CSS30, ECSSSpecification.CSS3_LINEBOX),
ELEVATION ("elevation", ECSSVersion.CSS21, ECSSSpecification.CSS2),
EMPTY_CELLS ("empty-cells", ECSSVersion.CSS21, ECSSSpecification.CSS2),
ENABLE_BACKGROUND ("enable-background", ECSSVersion.CSS30, ECSSSpecification.FILTER_EFFECTS),
FILTER ("filter", ECSSVersion.CSS30, ECSSSpecification.FILTER_EFFECTS),
FLEX ("flex", ECSSVersion.CSS30, ECSSSpecification.CSS3_FLEXBOX),
FLEX_BASIS ("flex-basis", ECSSVersion.CSS30, ECSSSpecification.CSS3_FLEXBOX),
FLEX_DIRECTION ("flex-direction", ECSSVersion.CSS30, ECSSSpecification.CSS3_FLEXBOX),
FLEX_FLOW ("flex-flow", ECSSVersion.CSS30, ECSSSpecification.CSS3_FLEXBOX),
FLEX_GROW ("flex-grow", ECSSVersion.CSS30, ECSSSpecification.CSS3_FLEXBOX),
FLEX_SHRINK ("flex-shrink", ECSSVersion.CSS30, ECSSSpecification.CSS3_FLEXBOX),
FLEX_WRAP ("flex-wrap", ECSSVersion.CSS30, ECSSSpecification.CSS3_FLEXBOX),
FLOAT ("float", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2),
FLOAT_OFFSET ("float-offset", ECSSVersion.CSS30, ECSSSpecification.CSS3_GCPM),
FLOOD_COLOR ("flood-color", ECSSVersion.CSS30, ECSSSpecification.FILTER_EFFECTS),
FLOOD_OPACITY ("flood-opactiy", ECSSVersion.CSS30, ECSSSpecification.FILTER_EFFECTS),
FLOW_FROM ("flow-from", ECSSVersion.CSS30, ECSSSpecification.CSS3_REGIONS),
FLOW_INTO ("flow-into", ECSSVersion.CSS30, ECSSSpecification.CSS3_REGIONS),
FONT ("font", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_FONTS),
FONT_FAMILY ("font-family", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_FONTS),
FONT_FEATURE_SETTINGS ("font-feature-settings", ECSSVersion.CSS30, ECSSSpecification.CSS3_FONTS),
FONT_KERNING ("font-kerning", ECSSVersion.CSS30, ECSSSpecification.CSS3_FONTS),
FONT_LANGUAGE_OVERRIDE ("font-language-override", ECSSVersion.CSS30, ECSSSpecification.CSS3_FONTS),
FONT_SIZE ("font-size", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_FONTS),
FONT_SIZE_ADJUST ("font-size-adjust", ECSSVersion.CSS30, ECSSSpecification.CSS3_FONTS),
FONT_STRETCH ("font-stretch", ECSSVersion.CSS30, ECSSSpecification.CSS3_FONTS),
FONT_STYLE ("font-style", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_FONTS),
FONT_SYNTHESIS ("font-synthesis", ECSSVersion.CSS30, ECSSSpecification.CSS3_FONTS),
FONT_VARIANT ("font-variant", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_FONTS),
FONT_VARIANT_ALTERNATES ("font-variant-alternates", ECSSVersion.CSS30, ECSSSpecification.CSS3_FONTS),
FONT_VARIANT_CAPS ("font-variant-caps", ECSSVersion.CSS30, ECSSSpecification.CSS3_FONTS),
FONT_VARIANT_EAST_ASIAN ("font-variant-east-asian", ECSSVersion.CSS30, ECSSSpecification.CSS3_FONTS),
FONT_VARIANT_LIGATURES ("font-variant-ligatures", ECSSVersion.CSS30, ECSSSpecification.CSS3_FONTS),
FONT_VARIANT_NUMERIC ("font-variant-numeric", ECSSVersion.CSS30, ECSSSpecification.CSS3_FONTS),
FONT_VARIANT_POSITION ("font-variant-position", ECSSVersion.CSS30, ECSSSpecification.CSS3_FONTS),
FONT_WEIGHT ("font-weight", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_FONTS),
GRID ("grid", ECSSVersion.CSS30, ECSSSpecification.CSS3_GRID_LAYOUT),
GRID_AREA ("grid-area", ECSSVersion.CSS30, ECSSSpecification.CSS3_GRID_LAYOUT),
GRID_AUTO_COLUMNS ("grid-auto-columns", ECSSVersion.CSS30, ECSSSpecification.CSS3_GRID_LAYOUT),
GRID_AUTO_FLOW ("grid-auto-flow", ECSSVersion.CSS30, ECSSSpecification.CSS3_GRID_LAYOUT),
GRID_AUTO_POSITION ("grid-auto-position", ECSSVersion.CSS30, ECSSSpecification.CSS3_GRID_LAYOUT),
GRID_AUTO_ROWS ("grid-auto-rows", ECSSVersion.CSS30, ECSSSpecification.CSS3_GRID_LAYOUT),
GRID_COLUMN ("grid-column", ECSSVersion.CSS30, ECSSSpecification.CSS3_GRID_LAYOUT),
GRID_COLUMN_END ("grid-column-end", ECSSVersion.CSS30, ECSSSpecification.CSS3_GRID_LAYOUT),
GRID_COLUMN_START ("grid-column-start", ECSSVersion.CSS30, ECSSSpecification.CSS3_GRID_LAYOUT),
@Deprecated
GRID_COLUMNS ("grid-columns", ECSSVersion.CSS30, ECSSSpecification.CSS3_GRID),
GRID_ROW ("grid-row", ECSSVersion.CSS30, ECSSSpecification.CSS3_GRID_LAYOUT),
GRID_ROW_END ("grid-row-end", ECSSVersion.CSS30, ECSSSpecification.CSS3_GRID_LAYOUT),
GRID_ROW_START ("grid-row-start", ECSSVersion.CSS30, ECSSSpecification.CSS3_GRID_LAYOUT),
@Deprecated
GRID_ROWS ("grid-rows", ECSSVersion.CSS30, ECSSSpecification.CSS3_GRID),
GRID_TEMPLATE ("grid-template", ECSSVersion.CSS30, ECSSSpecification.CSS3_GRID_LAYOUT),
GRID_TEMPLATE_AREAS ("grid-template-areas", ECSSVersion.CSS30, ECSSSpecification.CSS3_GRID_LAYOUT),
GRID_TEMPLATE_COLUMNS ("grid-template-columns", ECSSVersion.CSS30, ECSSSpecification.CSS3_GRID_LAYOUT),
GRID_TEMPLATE_ROWS ("grid-template-rows", ECSSVersion.CSS30, ECSSSpecification.CSS3_GRID_LAYOUT),
HANGING_PUNCTUATION ("hanging-punctuation", ECSSVersion.CSS30, ECSSSpecification.CSS3_TEXT),
HEIGHT ("height", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS_DEVICE_ADAPT),
HYPHENS ("hyphens", ECSSVersion.CSS30, ECSSSpecification.CSS3_TEXT),
ICON ("icon", ECSSVersion.CSS30, ECSSSpecification.CSS3_UI),
IME_MODE ("ime-mode", ECSSVersion.CSS30, ECSSSpecification.CSS3_UI),
INLINE_BOX_ALIGN ("inline-box-align", ECSSVersion.CSS30, ECSSSpecification.CSS3_LINEBOX),
JUSITFY_CONTENT ("justify-content", ECSSVersion.CSS30, ECSSSpecification.CSS3_FLEXBOX, ECSSSpecification.CSS3_ALIGN),
JUSITFY_ITEMS ("justify-items", ECSSVersion.CSS30, ECSSSpecification.CSS3_ALIGN),
JUSITFY_SELF ("justify-self", ECSSVersion.CSS30, ECSSSpecification.CSS3_ALIGN),
LEFT ("left", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_POSITIONING),
LETTER_SPACING ("letter-spacing", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_TEXT),
LIGHTING_COLOR ("lighting-color", ECSSVersion.CSS30, ECSSSpecification.FILTER_EFFECTS),
LINE_BREAK ("line-break", ECSSVersion.CSS30, ECSSSpecification.CSS3_TEXT),
LINE_HEIGHT ("line-height", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_LINEBOX),
LINE_STACKING ("line-stacking", ECSSVersion.CSS30, ECSSSpecification.CSS3_LINEBOX),
LINE_STACKING_RUBY ("line-stacking-ruby", ECSSVersion.CSS30, ECSSSpecification.CSS3_LINEBOX),
LINE_STACKING_SHIFT ("line-stacking-shift", ECSSVersion.CSS30, ECSSSpecification.CSS3_LINEBOX),
LINE_STACKING_STRATEGY ("line-stacking-strategy", ECSSVersion.CSS30, ECSSSpecification.CSS3_LINEBOX),
LIST_STYLE ("list-style", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_LISTS),
LIST_STYLE_IMAGE ("list-style-image", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_LISTS),
LIST_STYLE_POSITION ("list-style-position", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_LISTS),
LIST_STYLE_TYPE ("list-style-type", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_LISTS),
MARGIN ("margin", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2),
MARGIN_BOTTOM ("margin-bottom", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2),
MARGIN_LEFT ("margin-left", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2),
MARGIN_RIGHT ("margin-right", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2),
MARGIN_TOP ("margin-top", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2),
MARKS ("marks", ECSSVersion.CSS30, ECSSSpecification.CSS3_GCPM),
MARQUEE_DIRECTION ("marquee-direction", ECSSVersion.CSS30, ECSSSpecification.CSS3_MARQUEE),
MARQUEE_PLAY_COUNT ("marquee-play-count", ECSSVersion.CSS30, ECSSSpecification.CSS3_MARQUEE),
MARQUEE_SPEED ("marquee-speed", ECSSVersion.CSS30, ECSSSpecification.CSS3_MARQUEE),
MARQUEE_STYLE ("marquee-style", ECSSVersion.CSS30, ECSSSpecification.CSS3_MARQUEE),
MASK ("mask", ECSSVersion.CSS30, ECSSSpecification.CSS_MASKING),
MASK_BOX_IMAGE ("mask-box-image", ECSSVersion.CSS30, ECSSSpecification.CSS_MASKING),
MASK_BOX_IMAGE_OUTSET ("mask-box-image-outset", ECSSVersion.CSS30, ECSSSpecification.CSS_MASKING),
MASK_BOX_IMAGE_REPEAT ("mask-box-image-repeat", ECSSVersion.CSS30, ECSSSpecification.CSS_MASKING),
MASK_BOX_IMAGE_SLICE ("mask-box-image-slice", ECSSVersion.CSS30, ECSSSpecification.CSS_MASKING),
MASK_BOX_IMAGE_SOURCE ("mask-box-image-source", ECSSVersion.CSS30, ECSSSpecification.CSS_MASKING),
MASK_BOX_IMAGE_WIDTH ("mask-box-image-width", ECSSVersion.CSS30, ECSSSpecification.CSS_MASKING),
MASK_CLIP ("mask-clip", ECSSVersion.CSS30, ECSSSpecification.CSS_MASKING),
MASK_IMAGE ("mask-image", ECSSVersion.CSS30, ECSSSpecification.CSS_MASKING),
MASK_ORIGIN ("mask-origin", ECSSVersion.CSS30, ECSSSpecification.CSS_MASKING),
MASK_POSITION ("mask-position", ECSSVersion.CSS30, ECSSSpecification.CSS_MASKING),
MASK_REPEAT ("mask-repeat", ECSSVersion.CSS30, ECSSSpecification.CSS_MASKING),
MASK_SIZE ("mask-size", ECSSVersion.CSS30, ECSSSpecification.CSS_MASKING),
MASK_SOURCE_TYPE ("mask-source-type", ECSSVersion.CSS30, ECSSSpecification.CSS_MASKING),
MASK_TYPE ("mask-type", ECSSVersion.CSS30, ECSSSpecification.CSS_MASKING),
MAX_HEIGHT ("max-height", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS_DEVICE_ADAPT),
MAX_LINES ("max-lines", ECSSVersion.CSS30, ECSSSpecification.CSS_OVERFLOW_3),
MAX_WIDTH ("max-width", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS_DEVICE_ADAPT),
MAX_ZOOM ("max-zoom", ECSSVersion.CSS30, ECSSSpecification.CSS_DEVICE_ADAPT),
MIN_HEIGHT ("min-height", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_FLEXBOX, ECSSSpecification.CSS_DEVICE_ADAPT),
MIN_WIDTH ("min-width", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_FLEXBOX, ECSSSpecification.CSS_DEVICE_ADAPT),
MIN_ZOOM ("min-zoom", ECSSVersion.CSS30, ECSSSpecification.CSS_DEVICE_ADAPT),
NAV_DOWN ("nav-down", ECSSVersion.CSS30, ECSSSpecification.CSS3_UI),
NAV_INDEX ("nav-index", ECSSVersion.CSS30, ECSSSpecification.CSS3_UI),
NAV_LEFT ("nav-left", ECSSVersion.CSS30, ECSSSpecification.CSS3_UI),
NAV_RIGHT ("nav-right", ECSSVersion.CSS30, ECSSSpecification.CSS3_UI),
NAV_UP ("nav-up", ECSSVersion.CSS30, ECSSSpecification.CSS3_UI),
OPACITY ("opacity", ECSSVersion.CSS30, ECSSSpecification.CSS3_COLOR),
ORDER ("order", ECSSVersion.CSS30, ECSSSpecification.CSS3_FLEXBOX),
ORIENTATION ("orientation", ECSSVersion.CSS30, ECSSSpecification.CSS_DEVICE_ADAPT),
ORPHANS ("orphans", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BREAK),
OUTLINE ("outline", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_UI),
OUTLINE_COLOR ("outline-color", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_UI),
OUTLINE_OFFSET ("outline-offset", ECSSVersion.CSS30, ECSSSpecification.CSS3_UI),
OUTLINE_STYLE ("outline-style", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_UI),
OUTLINE_WIDTH ("outline-width", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_UI),
OVERFLOW ("overflow", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS_OVERFLOW_3),
OVERFLOW_STYLE ("overflow-style", ECSSVersion.CSS30, ECSSSpecification.CSS3_MARQUEE),
OVERFLOW_WRAP ("overflow-wrap", ECSSVersion.CSS30, ECSSSpecification.CSS3_TEXT),
OVERFLOW_X ("overflow-x", ECSSVersion.CSS30, ECSSSpecification.CSS_OVERFLOW_3),
OVERFLOW_Y ("overflow-y", ECSSVersion.CSS30, ECSSSpecification.CSS_OVERFLOW_3),
PADDING ("padding", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2),
PADDING_BOTTOM ("padding-bottom", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2),
PADDING_LEFT ("padding-left", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2),
PADDING_RIGHT ("padding-right", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2),
PADDING_TOP ("padding-top", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2),
PAGE_BREAK_AFTER ("page-break-after", ECSSVersion.CSS21, ECSSSpecification.CSS2),
PAGE_BREAK_BEFORE ("page-break-before", ECSSVersion.CSS21, ECSSSpecification.CSS2),
PAGE_BREAK_INSIDE ("page-break-inside", ECSSVersion.CSS21, ECSSSpecification.CSS2),
PAUSE ("pause", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_SPEECH),
PAUSE_AFTER ("pause-after", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_SPEECH),
PAUSE_BEFORE ("pause-before", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_SPEECH),
PERSPECTIVE ("perspective", ECSSVersion.CSS30, ECSSSpecification.CSS3_TRANSFORMS),
PERSPECTIVE_ORIGIN ("perspective-origin", ECSSVersion.CSS30, ECSSSpecification.CSS3_TRANSFORMS),
PITCH ("pitch", ECSSVersion.CSS21, ECSSSpecification.CSS2),
PITCH_RANGE ("pitch-range", ECSSVersion.CSS21, ECSSSpecification.CSS2),
PLAY_DURING ("play-during", ECSSVersion.CSS21, ECSSSpecification.CSS2),
POSITION ("position", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_POSITIONING),
QUOTES ("quotes", ECSSVersion.CSS21, ECSSSpecification.CSS2),
REGION_FRAGMENT ("region-fragment", ECSSVersion.CSS30, ECSSSpecification.CSS3_REGIONS),
RESIZE ("resize", ECSSVersion.CSS30, ECSSSpecification.CSS3_UI),
RESOLUTION ("resolution", ECSSVersion.CSS30, ECSSSpecification.CSS_DEVICE_ADAPT),
REST ("rest", ECSSVersion.CSS30, ECSSSpecification.CSS3_SPEECH),
REST_AFTER ("rest-after", ECSSVersion.CSS30, ECSSSpecification.CSS3_SPEECH),
REST_BEFORE ("rest-before", ECSSVersion.CSS30, ECSSSpecification.CSS3_SPEECH),
RICHNESS ("richness", ECSSVersion.CSS21, ECSSSpecification.CSS2),
RIGHT ("right", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_POSITIONING),
RUBY_ALIGN ("ruby-align", ECSSVersion.CSS30, ECSSSpecification.CSS3_RUBY),
RUBY_OVERHANG ("ruby-overhang", ECSSVersion.CSS30, ECSSSpecification.CSS3_RUBY),
RUBY_POSITION ("ruby-position", ECSSVersion.CSS30, ECSSSpecification.CSS3_RUBY),
RUBY_SPAN ("ruby-span", ECSSVersion.CSS30, ECSSSpecification.CSS3_RUBY),
SHAPE_OUTSIDE ("shape-outside", ECSSVersion.CSS30, ECSSSpecification.CSS_SHAPES),
SHAPE_IMAGE_THRESHOLD ("shape-image-threshold", ECSSVersion.CSS30, ECSSSpecification.CSS_SHAPES),
SHAPE_MARGIN ("shape-margin", ECSSVersion.CSS30, ECSSSpecification.CSS_SHAPES),
SPEAK ("speak", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_SPEECH),
SPEAK_AS ("speak-as", ECSSVersion.CSS30, ECSSSpecification.CSS3_SPEECH),
SPEAK_HEADER ("speak-header", ECSSVersion.CSS21, ECSSSpecification.CSS2),
SPEAK_NUMERAL ("speak-numeral", ECSSVersion.CSS21, ECSSSpecification.CSS2),
SPEAK_PUNCTUATION ("speak-punctuation", ECSSVersion.CSS21, ECSSSpecification.CSS2),
SPEECH_RATE ("speech-rate", ECSSVersion.CSS21, ECSSSpecification.CSS2),
SRC ("src", ECSSVersion.CSS30, ECSSSpecification.CSS3_FONTS),
STRESS ("stress", ECSSVersion.CSS21, ECSSSpecification.CSS2),
STRING_SET ("string-set", ECSSVersion.CSS30, ECSSSpecification.CSS3_GCPM),
TABLE_LAYOUT ("table-layout", ECSSVersion.CSS21, ECSSSpecification.CSS2),
TAB_SIZE ("tab-size", ECSSVersion.CSS30, ECSSSpecification.CSS3_TEXT),
@Deprecated
TARGET ("target", ECSSVersion.CSS30, ECSSSpecification.CSS3_HYPERLINKS),
@Deprecated
TARGET_NAME ("target-name", ECSSVersion.CSS30, ECSSSpecification.CSS3_HYPERLINKS),
@Deprecated
TARGET_NEW ("target-new", ECSSVersion.CSS30, ECSSSpecification.CSS3_HYPERLINKS),
@Deprecated
TARGET_POSITION ("target-position", ECSSVersion.CSS30, ECSSSpecification.CSS3_HYPERLINKS),
TEXT_ALIGN ("text-align", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_TEXT),
TEXT_ALIGN_LAST ("text-align-last", ECSSVersion.CSS30, ECSSSpecification.CSS3_TEXT),
TEXT_COMBINE_HORIZONTAL ("text-combine-horizontal", ECSSVersion.CSS30, ECSSSpecification.CSS3_WRITING_MODES),
TEXT_DECORATION ("text-decoration", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2),
TEXT_HEIGHT ("text-height", ECSSVersion.CSS30, ECSSSpecification.CSS3_LINEBOX),
TEXT_INDENT ("text-indent", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_TEXT),
TEXT_JUSTIFY ("text-justify", ECSSVersion.CSS30, ECSSSpecification.CSS3_TEXT),
TEXT_ORIENTATION ("text-orientation", ECSSVersion.CSS30, ECSSSpecification.CSS3_WRITING_MODES),
TEXT_OVERFLOW ("text-overflow", ECSSVersion.CSS30, ECSSSpecification.CSS3_UI),
TEXT_TRANSFORM ("text-transform", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_TEXT),
TOP ("top", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_POSITIONING),
TRANSFORM ("transform", ECSSVersion.CSS30, ECSSSpecification.CSS3_TRANSFORMS),
TRANSFORM_ORIGIN ("transform-origin", ECSSVersion.CSS30, ECSSSpecification.CSS3_TRANSFORMS),
TRANSFORM_STYLE ("transform-style", ECSSVersion.CSS30, ECSSSpecification.CSS3_TRANSFORMS),
TRANSITION ("transition", ECSSVersion.CSS30, ECSSSpecification.CSS3_TRANSITIONS),
TRANSITION_DELAY ("transition-delay", ECSSVersion.CSS30, ECSSSpecification.CSS3_TRANSITIONS),
TRANSITION_DURATION ("transition-duration", ECSSVersion.CSS30, ECSSSpecification.CSS3_TRANSITIONS),
TRANSITION_PROPERTY ("transition-property", ECSSVersion.CSS30, ECSSSpecification.CSS3_TRANSITIONS),
TRANSITION_TIMING_FUNCTION ("transition-timing-function", ECSSVersion.CSS30, ECSSSpecification.CSS3_TRANSITIONS),
UNICODE_BIDI ("unicode-bidi", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_WRITING_MODES),
UNICODE_RANGE ("unicode-range", ECSSVersion.CSS30, ECSSSpecification.CSS3_FONTS),
USER_ZOOM ("user-zoom", ECSSVersion.CSS30, ECSSSpecification.CSS_DEVICE_ADAPT),
VERTICAL_ALIGN ("vertical-align", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_LINEBOX),
VISIBILITY ("visibility", ECSSVersion.CSS21, ECSSSpecification.CSS2),
VOICE_BALANCE ("voice-balance", ECSSVersion.CSS30, ECSSSpecification.CSS3_SPEECH),
VOICE_DURATION ("voice-duration", ECSSVersion.CSS30, ECSSSpecification.CSS3_SPEECH),
VOICE_FAMILY ("voice-family", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_SPEECH),
VOICE_PITCH ("voice-pitch", ECSSVersion.CSS30, ECSSSpecification.CSS3_SPEECH),
VOICE_RANGE ("voice-range", ECSSVersion.CSS30, ECSSSpecification.CSS3_SPEECH),
VOICE_RATE ("voice-rate", ECSSVersion.CSS30, ECSSSpecification.CSS3_SPEECH),
VOICE_STRESS ("voice-stress", ECSSVersion.CSS30, ECSSSpecification.CSS3_SPEECH),
VOICE_VOLUME ("voice-volume", ECSSVersion.CSS30, ECSSSpecification.CSS3_SPEECH),
VOLUME ("volume", ECSSVersion.CSS21, ECSSSpecification.CSS2),
WHITE_SPACE ("white-space", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_TEXT),
WIDOWS ("widows", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_BREAK),
WIDTH ("width", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS_DEVICE_ADAPT),
WORD_BREAK ("word-break", ECSSVersion.CSS30, ECSSSpecification.CSS3_TEXT),
WORD_SPACING ("word-spacing", ECSSVersion.CSS10, ECSSSpecification.CSS1, ECSSSpecification.CSS2, ECSSSpecification.CSS3_TEXT),
// For legacy reasons, UAs must treat ‘word-wrap’ as an alternate name for the
// ‘overflow-wrap’ property, as if it were a shorthand of ‘overflow-wrap’.
WORD_WRAP ("word-wrap", ECSSVersion.CSS30, ECSSSpecification.CSS3_TEXT),
WRAP_FLOW ("wrap-flow", ECSSVersion.CSS30, ECSSSpecification.CSS3_EXCLUSIONS),
WRAP_THROUGH ("wrap-through", ECSSVersion.CSS30, ECSSSpecification.CSS3_EXCLUSIONS),
WRITING_MODE ("writing-mode", ECSSVersion.CSS30, ECSSSpecification.CSS3_WRITING_MODES),
ZOOM ("zoom", ECSSVersion.CSS30, ECSSSpecification.CSS_DEVICE_ADAPT),
Z_INDEX ("z-index", ECSSVersion.CSS21, ECSSSpecification.CSS2, ECSSSpecification.CSS3_POSITIONING),
// Old and deprecated elements
@DeprecatedInCSS30
_SCROLLBAR_3DLIGHT_COLOR ("scrollbar-3dlight-color"),
@DeprecatedInCSS30
_SCROLLBAR_ARROW_COLOR ("scrollbar-arrow-color"),
@DeprecatedInCSS30
_SCROLLBAR_BASE_COLOR ("scrollbar-base-color"),
@DeprecatedInCSS30
_SCROLLBAR_DARKSHADOW_COLOR ("scrollbar-darkshadow-color"),
@DeprecatedInCSS30
_SCROLLBAR_FACE_COLOR ("scrollbar-face-color"),
@DeprecatedInCSS30
_SCROLLBAR_HIGHLIGHT_COLOR ("scrollbar-highlight-color"),
@DeprecatedInCSS30
_SCROLLBAR_SHADOW_COLOR ("scrollbar-shadow-color"),
@DeprecatedInCSS30
_SCROLLBAR_TRACK_COLOR ("scrollbar-track-color"),
// Do not use the following manually:
_KHTML_BORDER_RADIUS ("-khtml-border-radius"),
_KHTML_BORDER_TOP_LEFT_RADIUS ("-khtml-border-top-left-radius"),
_KHTML_BORDER_TOP_RIGHT_RADIUS ("-khtml-border-top-right-radius"),
_KHTML_BORDER_BOTTOM_LEFT_RADIUS ("-khtml-border-bottom-left-radius"),
_KHTML_BORDER_BOTTOM_RIGHT_RADIUS ("-khtml-border-bottom-right-radius"),
_MOZ_APPEARANCE ("-moz-appearance"),
_MOZ_BACKGROUND_CLIP ("-moz-background-clip"),
_MOZ_BACKGROUND_INLINE_POLICY ("-moz-background-inline-policy"),
_MOZ_BACKGROUND_ORIGIN ("-moz-background-origin"),
_MOZ_BACKGROUND_SIZE ("-moz-background-size"),
_MOZ_BINDING ("-moz-binding"),
_MOZ_BORDER_BOTTOM_COLORS ("-moz-border-bottom-colors"),
_MOZ_BORDER_END ("-moz-border-end"),
_MOZ_BORDER_END_COLOR ("-moz-border-end-color"),
_MOZ_BORDER_END_STYLE ("-moz-border-end-style"),
_MOZ_BORDER_END_WIDTH ("-moz-border-end-width"),
_MOZ_BORDER_IMAGE ("-moz-border-image"),
_MOZ_BORDER_LEFT_COLORS ("-moz-border-left-colors"),
_MOZ_BORDER_RADIUS ("-moz-border-radius"),
_MOZ_BORDER_RADIUS_BOTTOMLEFT ("-moz-border-radius-bottomleft"),
_MOZ_BORDER_RADIUS_BOTTOMRIGHT ("-moz-border-radius-bottomright"),
_MOZ_BORDER_RADIUS_TOPLEFT ("-moz-border-radius-topleft"),
_MOZ_BORDER_RADIUS_TOPRIGHT ("-moz-border-radius-topright"),
_MOZ_BORDER_RIGHT_COLORS ("-moz-border-right-colors"),
_MOZ_BORDER_START ("-moz-border-start"),
_MOZ_BORDER_START_COLOR ("-moz-border-start-color"),
_MOZ_BORDER_START_STYLE ("-moz-border-start-style"),
_MOZ_BORDER_START_WIDTH ("-moz-border-start-width"),
_MOZ_BORDER_TOP_COLORS ("-moz-border-top-colors"),
_MOZ_BOX_ALIGN ("-moz-box-align"),
_MOZ_BOX_DIRECTION ("-moz-box-direction"),
_MOZ_BOX_FLEX ("-moz-box-flex"),
_MOZ_BOX_FLEXGROUP ("-moz-box-flexgroup"),
_MOZ_BOX_ORDINAL_GROUP ("-moz-box-ordinal-group"),
_MOZ_BOX_ORIENT ("-moz-box-orient"),
_MOZ_BOX_PACK ("-moz-box-pack"),
_MOZ_BOX_SHADOW ("-moz-box-shadow"),
_MOZ_BOX_SIZING ("-moz-box-sizing"),
_MOZ_COLUMN_COUNT ("-moz-column-count"),
_MOZ_COLUMN_GAP ("-moz-column-gap"),
_MOZ_COLUMN_RULE ("-moz-column-rule"),
_MOZ_COLUMN_RULE_COLOR ("-moz-column-rule-color"),
_MOZ_COLUMN_RULE_STYLE ("-moz-column-rule-style"),
_MOZ_COLUMN_RULE_WIDTH ("-moz-column-rule-width"),
_MOZ_COLUMN_WIDTH ("-moz-column-width"),
_MOZ_FILTER ("-moz-filter"),
_MOZ_FLOAT_EDGE ("-moz-float-edge"),
_MOZ_FONT_FEATURE_SETTINGS ("-moz-font-feature-settings"),
_MOZ_FONT_LANGUAGE_OVERRIDE ("-moz-font-language-override"),
_MOZ_FORCE_BROKEN_IMAGE_ICON ("-moz-force-broken-image-icon"),
_MOZ_IMAGE_REGION ("-moz-image-region"),
_MOZ_MARGIN_END ("-moz-margin-end"),
_MOZ_MARGIN_START ("-moz-margin-start"),
_MOZ_MASK ("-moz-mask"),
_MOZ_OPACITY ("-moz-opacity"),
_MOZ_OUTLINE ("-moz-outline"),
_MOZ_OUTLINE_COLOR ("-moz-outline-color"),
_MOZ_OUTLINE_OFFSET ("-moz-outline-offset"),
_MOZ_OUTLINE_RADIUS ("-moz-outline-radius"),
_MOZ_OUTLINE_RADIUS_BOTTOMLEFT ("-moz-outline-radius-bottomleft"),
_MOZ_OUTLINE_RADIUS_BOTTOMRIGHT ("-moz-outline-radius-bottomright"),
_MOZ_OUTLINE_RADIUS_TOPLEFT ("-moz-outline-radius-topleft"),
_MOZ_OUTLINE_RADIUS_TOPRIGHT ("-moz-outline-radius-topright"),
_MOZ_OUTLINE_STYLE ("-moz-outline-style"),
_MOZ_OUTLINE_WIDTH ("-moz-outline-width"),
_MOZ_PADDING_END ("-moz-padding-end"),
_MOZ_PADDING_START ("-moz-padding-start"),
_MOZ_STACK_SIZING ("-moz-stack-sizing"),
_MOZ_TAB_SIZE ("-moz-tab-size"),
_MOZ_TEXT_BLINK ("-moz-text-blink"),
_MOZ_TEXT_DECORATION_COLOR ("-moz-text-decoration-color"),
_MOZ_TEXT_DECORATION_LINE ("-moz-text-decoration-line"),
_MOZ_TEXT_DECORATION_STYLE ("-moz-text-decoration-style"),
_MOZ_TRANSFORM ("-moz-transform"),
_MOZ_TRANSFORM_ORIGIN ("-moz-transform-origin"),
_MOZ_TRANSITION ("-moz-transition"),
_MOZ_TRANSITION_DELAY ("-moz-transition-delay"),
_MOZ_TRANSITION_DURATION ("-moz-transition-duration"),
_MOZ_TRANSITION_PROPERTY ("-moz-transition-property"),
_MOZ_TRANSITION_TIMING_FUNCTION ("-moz-transition-timing-function"),
_MOZ_USER_FOCUS ("-moz-user-focus"),
_MOZ_USER_INPUT ("-moz-user-input"),
_MOZ_USER_MODIFY ("-moz-user-modify"),
_MOZ_USER_SELECT ("-moz-user-select"),
_MOZ_WINDOW_SHADOW ("-moz-window-shadow"),
_MS_ACCELERATOR ("-ms-accelerator"),
_MS_BACKGROUND_POSITION_X ("-ms-background-position-x"),
_MS_BACKGROUND_POSITION_Y ("-ms-background-position-y"),
_MS_BEHAVIOR ("-ms-behavior"),
_MS_BLOCK_PROGRESSION ("-ms-block-progression"),
_MS_BOX_SHADOW ("-ms-box-shadow"),
_MS_BOX_SIZING ("-ms-box-sizing"),
_MS_FILTER ("-ms-filter"),
_MS_FULLSCREEN ("-ms-fullscreen"),
_MS_IME_MODE ("-ms-ime-mode"),
_MS_INTERPOLATION_MODE ("-ms-interpolation-mode"),
_MS_LAYOUT_FLOW ("-ms-layout-flow"),
_MS_LAYOUT_GRID ("-ms-layout-grid"),
_MS_LAYOUT_GRID_CHAR ("-ms-layout-grid-char"),
_MS_LAYOUT_GRID_LINE ("-ms-layout-grid-line"),
_MS_LAYOUT_GRID_MODE ("-ms-layout-grid-mode"),
_MS_LAYOUT_GRID_TYPE ("-ms-layout-grid-type"),
_MS_LINE_BREAK ("-ms-line-break"),
_MS_LINE_GRID_MODE ("-ms-line-grid-mode"),
_MS_OVERFLOW_X ("-ms-overflow-x"),
_MS_OVERFLOW_Y ("-ms-overflow-y"),
_MS_SCROLLBAR_3DLIGHT_COLOR ("-ms-scrollbar-3dlight-color"),
_MS_SCROLLBAR_ARROW_COLOR ("-ms-scrollbar-arrow-color"),
_MS_SCROLLBAR_BASE_COLOR ("-ms-scrollbar-base-color"),
_MS_SCROLLBAR_DARKSHADOW_COLOR ("-ms-scrollbar-darkshadow-color"),
_MS_SCROLLBAR_FACE_COLOR ("-ms-scrollbar-face-color"),
_MS_SCROLLBAR_HIGHLIGHT_COLOR ("-ms-scrollbar-highlight-color"),
_MS_SCROLLBAR_SHADOW_COLOR ("-ms-scrollbar-shadow-color"),
_MS_SCROLLBAR_TRACK_COLOR ("-ms-scrollbar-track-color"),
_MS_TEXT_ALIGN_LAST ("-ms-text-align-last"),
_MS_TEXT_AUTOSPACE ("-ms-text-autospace"),
_MS_TEXT_JUSTIFY ("-ms-text-justify"),
_MS_TEXT_KASHIDA_SPACE ("-ms-text-kashida-space"),
_MS_TEXT_OVERFLOW ("-ms-text-overflow"),
_MS_TEXT_SIZE_ADJUST ("-ms-text-size-adjust"),
_MS_TEXT_UNDERLINE_POSITION ("-ms-text-underline-position"),
_MS_WORD_BREAK ("-ms-word-break"),
_MS_WORD_WRAP ("-ms-word-wrap"),
_MS_WRITING_MODE ("-ms-writing-mode"),
_MS_ZOOM ("-ms-zoom"),
_O_BOX_SHADOW ("-o-box-shadow"),
_O_BOX_SIZING ("-o-box-sizing"),
_EPUB_CAPTION_SIDE ("-epub-caption-side"),
_EPUB_HYPHENS ("-epub-hyphens"),
_EPUB_TEXT_COMBINE ("-epub-text-combine"),
_EPUB_TEXT_EMPHASIS ("-epub-text-emphasis"),
_EPUB_TEXT_EMPHASIS_COLOR ("-epub-text-emphasis-color"),
_EPUB_TEXT_EMPHASIS_STYLE ("-epub-text-emphasis-style"),
_EPUB_TEXT_ORIENTATION ("-epub-text-orientation"),
_EPUB_TEXT_TRANSFORM ("-epub-text-transform"),
_EPUB_WORD_BREAK ("-epub-word-break"),
_EPUB_WRITING_MODE ("-epub-writing-mode"),
_WEBKIT_ALIGN_CONTENT ("-webkit-align-content"),
_WEBKIT_ALIGN_ITEMS ("-webkit-align-items"),
_WEBKIT_ALIGN_SELF ("-webkit-align-self"),
_WEBKIT_ANIMATION ("-webkit-animation"),
_WEBKIT_ANIMATION_DELAY ("-webkit-animation-delay"),
_WEBKIT_ANIMATION_DIRECTION ("-webkit-animation-direction"),
_WEBKIT_ANIMATION_DURATION ("-webkit-animation-duration"),
_WEBKIT_ANIMATION_FILL_MODE ("-webkit-animation-fill-mode"),
_WEBKIT_ANIMATION_ITERATION_COUNT ("-webkit-animation-iteration-count"),
_WEBKIT_ANIMATION_NAME ("-webkit-animation-name"),
_WEBKIT_ANIMATION_PLAY_STATE ("-webkit-animation-play-state"),
_WEBKIT_ANIMATION_TIMING_FUNCTION ("-webkit-animation-timing-function"),
_WEBKIT_APPEARANCE ("-webkit-appearance"),
_WEBKIT_APP_REGION ("-webkit-app-region"),
_WEBKIT_ASPECT_RATIO ("-webkit-aspect-ratio"),
_WEBKIT_BACKFACE_VISIBILITY ("-webkit-backface-visibility"),
_WEBKIT_BACKGROUND_BLEND_MODE ("-webkit-background-blend-mode"),
_WEBKIT_BACKGROUND_CLIP ("-webkit-background-clip"),
_WEBKIT_BACKGROUND_COMPOSITE ("-webkit-background-composite"),
_WEBKIT_BACKGROUND_ORIGIN ("-webkit-background-origin"),
_WEBKIT_BACKGROUND_SIZE ("-webkit-background-size"),
_WEBKIT_BLEND_MODE ("-webkit-blend-mode"),
_WEBKIT_BORDER_AFTER ("-webkit-border-after"),
_WEBKIT_BORDER_AFTER_COLOR ("-webkit-border-after-color"),
_WEBKIT_BORDER_AFTER_STYLE ("-webkit-border-after-style"),
_WEBKIT_BORDER_AFTER_WIDTH ("-webkit-border-after-width"),
_WEBKIT_BORDER_BEFORE ("-webkit-border-before"),
_WEBKIT_BORDER_BEFORE_COLOR ("-webkit-border-before-color"),
_WEBKIT_BORDER_BEFORE_STYLE ("-webkit-border-before-style"),
_WEBKIT_BORDER_BEFORE_WIDTH ("-webkit-border-before-width"),
_WEBKIT_BORDER_BOTTOM_LEFT_RADIUS ("-webkit-border-bottom-left-radius"),
_WEBKIT_BORDER_BOTTOM_RIGHT_RADIUS ("-webkit-border-bottom-right-radius"),
_WEBKIT_BORDER_END ("-webkit-border-end"),
_WEBKIT_BORDER_END_COLOR ("-webkit-border-end-color"),
_WEBKIT_BORDER_END_STYLE ("-webkit-border-end-style"),
_WEBKIT_BORDER_END_WIDTH ("-webkit-border-end-width"),
_WEBKIT_BORDER_FIT ("-webkit-border-fit"),
_WEBKIT_BORDER_HORIZONTAL_SPACING ("-webkit-border-horizontal-spacing"),
_WEBKIT_BORDER_IMAGE ("-webkit-border-image"),
_WEBKIT_BORDER_RADIUS ("-webkit-border-radius"),
_WEBKIT_BORDER_START ("-webkit-border-start"),
_WEBKIT_BORDER_START_COLOR ("-webkit-border-start-color"),
_WEBKIT_BORDER_START_STYLE ("-webkit-border-start-style"),
_WEBKIT_BORDER_START_WIDTH ("-webkit-border-start-width"),
_WEBKIT_BORDER_TOP_LEFT_RADIUS ("-webkit-border-top-left-radius"),
_WEBKIT_BORDER_TOP_RIGHT_RADIUS ("-webkit-border-top-right-radius"),
_WEBKIT_BORDER_VERTICAL_SPACING ("-webkit-border-vertical-spacing"),
_WEBKIT_BOX_ALIGN ("-webkit-box-align"),
_WEBKIT_BOX_DECORATION_BREAK ("-webkit-box-decoration-break"),
_WEBKIT_BOX_DIRECTION ("-webkit-box-direction"),
_WEBKIT_BOX_FLEX ("-webkit-box-flex"),
_WEBKIT_BOX_FLEX_GROUP ("-webkit-box-flex-group"),
_WEBKIT_BOX_LINES ("-webkit-box-lines"),
_WEBKIT_BOX_ORDINAL_GROUP ("-webkit-box-ordinal-group"),
_WEBKIT_BOX_ORIENT ("-webkit-box-orient"),
_WEBKIT_BOX_PACK ("-webkit-box-pack"),
_WEBKIT_BOX_REFLECT ("-webkit-box-reflect"),
_WEBKIT_BOX_SHADOW ("-webkit-box-shadow"),
_WEBKIT_BOX_SIZING ("-webkit-box-sizing"),
_WEBKIT_CLIP_PATH ("-webkit-clip-path"),
_WEBKIT_COLOR_CORRECTION ("-webkit-color-correction"),
_WEBKIT_COLUMNS ("-webkit-columns"),
_WEBKIT_COLUMN_AXIS ("-webkit-column-axis"),
_WEBKIT_COLUMN_BREAK_AFTER ("-webkit-column-break-after"),
_WEBKIT_COLUMN_BREAK_BEFORE ("-webkit-column-break-before"),
_WEBKIT_COLUMN_BREAK_INSIDE ("-webkit-column-break-inside"),
_WEBKIT_COLUMN_COUNT ("-webkit-column-count"),
_WEBKIT_COLUMN_GAP ("-webkit-column-gap"),
_WEBKIT_COLUMN_PROGRESSION ("-webkit-column-progression"),
_WEBKIT_COLUMN_RULE ("-webkit-column-rule"),
_WEBKIT_COLUMN_RULE_COLOR ("-webkit-column-rule-color"),
_WEBKIT_COLUMN_RULE_STYLE ("-webkit-column-rule-style"),
_WEBKIT_COLUMN_RULE_WIDTH ("-webkit-column-rule-width"),
_WEBKIT_COLUMN_SPAN ("-webkit-column-span"),
_WEBKIT_COLUMN_WIDTH ("-webkit-column-width"),
_WEBKIT_CURSOR_VISIBILITY ("-webkit-cursor-visibility"),
_WEBKIT_DASHBOARD_REGION ("-webkit-dashboard-region"),
_WEBKIT_FILTER ("-webkit-filter"),
_WEBKIT_FLEX ("-webkit-flex"),
_WEBKIT_FLEX_BASIS ("-webkit-flex-basis"),
_WEBKIT_FLEX_DIRECTION ("-webkit-flex-direction"),
_WEBKIT_FLEX_FLOW ("-webkit-flex-flow"),
_WEBKIT_FLEX_GROW ("-webkit-flex-grow"),
_WEBKIT_FLEX_SHRINK ("-webkit-flex-shrink"),
_WEBKIT_FLEX_WRAP ("-webkit-flex-wrap"),
_WEBKIT_FLOW_FROM ("-webkit-flow-from"),
_WEBKIT_FLOW_INTO ("-webkit-flow-into"),
_WEBKIT_FONT_FEATURE_SETTINGS ("-webkit-font-feature-settings"),
_WEBKIT_FONT_KERNING ("-webkit-font-kerning"),
_WEBKIT_FONT_SIZE_DELTA ("-webkit-font-size-delta"),
_WEBKIT_FONT_SMOOTHING ("-webkit-font-smoothing"),
_WEBKIT_FONT_VARIANT_LIGATURES ("-webkit-font-variant-ligatures"),
_WEBKIT_GRID_AUTO_COLUMNS ("-webkit-grid-auto-columns"),
_WEBKIT_GRID_AUTO_FLOW ("-webkit-grid-auto-flow"),
_WEBKIT_GRID_AUTO_ROWS ("-webkit-grid-auto-rows"),
_WEBKIT_GRID_COLUMN ("-webkit-grid-column"),
_WEBKIT_GRID_COLUMN_END ("-webkit-grid-column-end"),
_WEBKIT_GRID_COLUMN_START ("-webkit-grid-column-start"),
_WEBKIT_GRID_DEFINITION_COLUMNS ("-webkit-grid-definition-columns"),
_WEBKIT_GRID_DEFINITION_ROWS ("-webkit-grid-definition-rows"),
_WEBKIT_GRID_ROW ("-webkit-grid-row"),
_WEBKIT_GRID_ROW_END ("-webkit-grid-row-end"),
_WEBKIT_GRID_ROW_START ("-webkit-grid-row-start"),
_WEBKIT_HIGHLIGHT ("-webkit-highlight"),
_WEBKIT_HYPHENATE_CHARACTER ("-webkit-hyphenate-character"),
_WEBKIT_HYPHENATE_LIMIT_AFTER ("-webkit-hyphenate-limit-after"),
_WEBKIT_HYPHENATE_LIMIT_BEFORE ("-webkit-hyphenate-limit-before"),
_WEBKIT_HYPHENATE_LIMIT_LINES ("-webkit-hyphenate-limit-lines"),
_WEBKIT_HYPHENS ("-webkit-hyphens"),
_WEBKIT_JUSTIFY_CONTENT ("-webkit-justify-content"),
_WEBKIT_LINE_ALIGN ("-webkit-line-align"),
_WEBKIT_LINE_BOX_CONTAIN ("-webkit-line-box-contain"),
_WEBKIT_LINE_BREAK ("-webkit-line-break"),
_WEBKIT_LINE_CLAMP ("-webkit-line-clamp"),
_WEBKIT_LINE_GRID ("-webkit-line-grid"),
_WEBKIT_LINE_SNAP ("-webkit-line-snap"),
_WEBKIT_LOCALE ("-webkit-locale"),
_WEBKIT_LOGICAL_HEIGHT ("-webkit-logical-height"),
_WEBKIT_LOGICAL_WIDTH ("-webkit-logical-width"),
_WEBKIT_MARGIN_AFTER ("-webkit-margin-after"),
_WEBKIT_MARGIN_AFTER_COLLAPSE ("-webkit-margin-after-collapse"),
_WEBKIT_MARGIN_BEFORE ("-webkit-margin-before"),
_WEBKIT_MARGIN_BEFORE_COLLAPSE ("-webkit-margin-before-collapse"),
_WEBKIT_MARGIN_BOTTOM_COLLAPSE ("-webkit-margin-bottom-collapse"),
_WEBKIT_MARGIN_COLLAPSE ("-webkit-margin-collapse"),
_WEBKIT_MARGIN_END ("-webkit-margin-end"),
_WEBKIT_MARGIN_START ("-webkit-margin-start"),
_WEBKIT_MARGIN_TOP_COLLAPSE ("-webkit-margin-top-collapse"),
_WEBKIT_MARQUEE ("-webkit-marquee"),
_WEBKIT_MARQUEE_DIRECTION ("-webkit-marquee-direction"),
_WEBKIT_MARQUEE_INCREMENT ("-webkit-marquee-increment"),
_WEBKIT_MARQUEE_REPETITION ("-webkit-marquee-repetition"),
_WEBKIT_MARQUEE_SPEED ("-webkit-marquee-speed"),
_WEBKIT_MARQUEE_STYLE ("-webkit-marquee-style"),
_WEBKIT_MASK ("-webkit-mask"),
_WEBKIT_MASK_BOX_IMAGE ("-webkit-mask-box-image"),
_WEBKIT_MASK_BOX_IMAGE_OUTSET ("-webkit-mask-box-image-outset"),
_WEBKIT_MASK_BOX_IMAGE_REPEAT ("-webkit-mask-box-image-repeat"),
_WEBKIT_MASK_BOX_IMAGE_SLICE ("-webkit-mask-box-image-slice"),
_WEBKIT_MASK_BOX_IMAGE_SOURCE ("-webkit-mask-box-image-source"),
_WEBKIT_MASK_BOX_IMAGE_WIDTH ("-webkit-mask-box-image-width"),
_WEBKIT_MASK_CLIP ("-webkit-mask-clip"),
_WEBKIT_MASK_COMPOSITE ("-webkit-mask-composite"),
_WEBKIT_MASK_IMAGE ("-webkit-mask-image"),
_WEBKIT_MASK_ORIGIN ("-webkit-mask-origin"),
_WEBKIT_MASK_POSITION ("-webkit-mask-position"),
_WEBKIT_MASK_POSITION_X ("-webkit-mask-position-x"),
_WEBKIT_MASK_POSITION_Y ("-webkit-mask-position-y"),
_WEBKIT_MASK_REPEAT ("-webkit-mask-repeat"),
_WEBKIT_MASK_REPEAT_X ("-webkit-mask-repeat-x"),
_WEBKIT_MASK_REPEAT_Y ("-webkit-mask-repeat-y"),
_WEBKIT_MASK_SIZE ("-webkit-mask-size"),
_WEBKIT_MASK_SOURCE_TYPE ("-webkit-mask-source-type"),
_WEBKIT_MAX_LOGICAL_HEIGHT ("-webkit-max-logical-height"),
_WEBKIT_MAX_LOGICAL_WIDTH ("-webkit-max-logical-width"),
_WEBKIT_MIN_LOGICAL_HEIGHT ("-webkit-min-logical-height"),
_WEBKIT_MIN_LOGICAL_WIDTH ("-webkit-min-logical-width"),
_WEBKIT_NBSP_MODE ("-webkit-nbsp-mode"),
_WEBKIT_OPACITY ("-webkit-opacity"),
_WEBKIT_ORDER ("-webkit-order"),
_WEBKIT_OVERFLOW_SCROLLING ("-webkit-overflow-scrolling"),
_WEBKIT_PADDING_AFTER ("-webkit-padding-after"),
_WEBKIT_PADDING_BEFORE ("-webkit-padding-before"),
_WEBKIT_PADDING_END ("-webkit-padding-end"),
_WEBKIT_PADDING_START ("-webkit-padding-start"),
_WEBKIT_PERSPECTIVE ("-webkit-perspective"),
_WEBKIT_PERSPECTIVE_ORIGIN ("-webkit-perspective-origin"),
_WEBKIT_PERSPECTIVE_ORIGIN_X ("-webkit-perspective-origin-x"),
_WEBKIT_PERSPECTIVE_ORIGIN_Y ("-webkit-perspective-origin-y"),
_WEBKIT_PRINT_COLOR_ADJUST ("-webkit-print-color-adjust"),
_WEBKIT_REGION_BREAK_AFTER ("-webkit-region-break-after"),
_WEBKIT_REGION_BREAK_BEFORE ("-webkit-region-break-before"),
_WEBKIT_REGION_BREAK_INSIDE ("-webkit-region-break-inside"),
_WEBKIT_REGION_FRAGMENT ("-webkit-region-fragment"),
_WEBKIT_RTL_ORDERING ("-webkit-rtl-ordering"),
_WEBKIT_RUBY_POSITION ("-webkit-ruby-position"),
_WEBKIT_SHAPE_INSIDE ("-webkit-shape-inside"),
_WEBKIT_SHAPE_MARGIN ("-webkit-shape-margin"),
_WEBKIT_SHAPE_OUTSIDE ("-webkit-shape-outside"),
_WEBKIT_SHAPE_PADDING ("-webkit-shape-padding"),
_WEBKIT_TAP_HIGHLIGHT_COLOR ("-webkit-tap-highlight-color"),
_WEBKIT_TEXT_ALIGN_LAST ("-webkit-text-align-last"),
_WEBKIT_TEXT_COMBINE ("-webkit-text-combine"),
_WEBKIT_TEXT_DECORATION ("-webkit-text-decoration"),
_WEBKIT_TEXT_DECORATIONS_IN_EFFECT ("-webkit-text-decorations-in-effect"),
_WEBKIT_TEXT_DECORATION_COLOR ("-webkit-text-decoration-color"),
_WEBKIT_TEXT_DECORATION_LINE ("-webkit-text-decoration-line"),
_WEBKIT_TEXT_DECORATION_STYLE ("-webkit-text-decoration-style"),
_WEBKIT_TEXT_EMPHASIS ("-webkit-text-emphasis"),
_WEBKIT_TEXT_EMPHASIS_COLOR ("-webkit-text-emphasis-color"),
_WEBKIT_TEXT_EMPHASIS_POSITION ("-webkit-text-emphasis-position"),
_WEBKIT_TEXT_EMPHASIS_STYLE ("-webkit-text-emphasis-style"),
_WEBKIT_TEXT_FILL_COLOR ("-webkit-text-fill-color"),
_WEBKIT_TEXT_JUSTIFY ("-webkit-text-justify"),
_WEBKIT_TEXT_ORIENTATION ("-webkit-text-orientation"),
_WEBKIT_TEXT_SECURITY ("-webkit-text-security"),
_WEBKIT_TEXT_STROKE ("-webkit-text-stroke"),
_WEBKIT_TEXT_STROKE_COLOR ("-webkit-text-stroke-color"),
_WEBKIT_TEXT_STROKE_WIDTH ("-webkit-text-stroke-width"),
_WEBKIT_TEXT_UNDERLINE_POSITION ("-webkit-text-underline-position"),
_WEBKIT_TRANSFORM ("-webkit-transform"),
_WEBKIT_TRANSFORM_ORIGIN ("-webkit-transform-origin"),
_WEBKIT_TRANSFORM_ORIGIN_X ("-webkit-transform-origin-x"),
_WEBKIT_TRANSFORM_ORIGIN_Y ("-webkit-transform-origin-y"),
_WEBKIT_TRANSFORM_ORIGIN_Z ("-webkit-transform-origin-z"),
_WEBKIT_TRANSFORM_STYLE ("-webkit-transform-style"),
_WEBKIT_TRANSITION ("-webkit-transition"),
_WEBKIT_TRANSITION_DELAY ("-webkit-transition-delay"),
_WEBKIT_TRANSITION_DURATION ("-webkit-transition-duration"),
_WEBKIT_TRANSITION_PROPERTY ("-webkit-transition-property"),
_WEBKIT_TRANSITION_TIMING_FUNCTION ("-webkit-transition-timing-function"),
_WEBKIT_USER_DRAG ("-webkit-user-drag"),
_WEBKIT_USER_MODIFY ("-webkit-user-modify"),
_WEBKIT_USER_SELECT ("-webkit-user-select"),
_WEBKIT_WRAP_FLOW ("-webkit-wrap-flow"),
_WEBKIT_WRAP_THROUGH ("-webkit-wrap-through"),
_WEBKIT_WRITING_MODE ("-webkit-writing-mode");
private final String m_sName;
private final ECSSVersion m_eVersion;
private final EnumSet m_aSpecifications;
private ECSSProperty (@Nonnull @Nonempty final String sName)
{
// Custom properties are always there
this (sName, ECSSVersion.CSS10, (ECSSSpecification []) null);
}
private ECSSProperty (@Nonnull @Nonempty final String sName, @Nonnull final ECSSVersion eVersion)
{
this (sName, eVersion, (ECSSSpecification []) null);
}
private ECSSProperty (@Nonnull @Nonempty final String sName,
@Nonnull final ECSSVersion eVersion,
@Nullable final ECSSSpecification... aSpecifications)
{
m_sName = sName;
m_eVersion = eVersion;
m_aSpecifications = ContainerHelper.newEnumSet (ECSSSpecification.class, aSpecifications);
}
/**
* @return The name of this property. E.g. color
or
* -webkit-writing-mode
*/
@Nonnull
@Nonempty
public String getName ()
{
return m_sName;
}
@Nonnull
public ECSSVersion getMinimumCSSVersion ()
{
return m_eVersion;
}
/**
* @return A copy with all specifications, where the property is defined.
* Never null
but maybe empty.
*/
@Nonnull
@ReturnsMutableCopy
public EnumSet getAllSpecifications ()
{
return ContainerHelper.newEnumSet (ECSSSpecification.class, m_aSpecifications);
}
public boolean isKHTMLSpecific ()
{
return m_sName.startsWith ("-khtml-");
}
public boolean isMicrosoftSpecific ()
{
return m_sName.startsWith ("-ms-") || m_sName.startsWith ("scrollbar-");
}
public boolean isMozillaSpecific ()
{
return m_sName.startsWith ("-moz-");
}
public boolean isOperaSpecific ()
{
return m_sName.startsWith ("-o-");
}
public boolean isEPubSpecific ()
{
return m_sName.startsWith ("-epub-");
}
public boolean isWebkitSpecific ()
{
return m_sName.startsWith ("-webkit-");
}
public boolean isBrowserSpecific ()
{
return m_sName.startsWith ("-") || m_sName.startsWith ("scrollbar-");
}
@Nullable
public static ECSSProperty getFromNameOrNull (@Nullable final String sName)
{
return EnumHelper.getFromNameOrNull (ECSSProperty.class, sName);
}
/**
* Get the real name of the property without hacking prefixes. This method
* strips the first leading '*', '_' or '$' from the name.
*
* @param sName
* The source name. May be null
.
* @return null
if the source was null
or the string
* without the leading hack indicator.
*/
@Nullable
public static String getPropertyNameHandlingHacks (@Nullable final String sName)
{
String sRealName = sName;
if (StringHelper.hasText (sRealName))
{
// IE hacks
if (sRealName.startsWith ("*") || sRealName.startsWith ("_") || sRealName.startsWith ("$"))
sRealName = sRealName.substring (1);
}
return sRealName;
}
@Nullable
public static ECSSProperty getFromNameOrNullHandlingHacks (@Nullable final String sName)
{
final String sRealName = getPropertyNameHandlingHacks (sName);
return getFromNameOrNull (sRealName);
}
}