From b89a7ee8b956c96a1dcee995ea840feddc5d4b27 Mon Sep 17 00:00:00 2001 From: Pierre Frisch Date: Thu, 22 Dec 2011 07:25:50 -0800 Subject: First commit of Ninja to ninja-internal Signed-off-by: Valerio Virgillito --- js/panels/CSSPanel/css-shorthand-map.js | 77 +++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 js/panels/CSSPanel/css-shorthand-map.js (limited to 'js/panels/CSSPanel/css-shorthand-map.js') diff --git a/js/panels/CSSPanel/css-shorthand-map.js b/js/panels/CSSPanel/css-shorthand-map.js new file mode 100644 index 00000000..bc43ebc4 --- /dev/null +++ b/js/panels/CSSPanel/css-shorthand-map.js @@ -0,0 +1,77 @@ +/* +This file contains proprietary software owned by Motorola Mobility, Inc.
+No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
+(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. +
*/ + +exports.CSS_SHORTHAND_MAP = { + 'background-attachment' : ['background'], + 'background-clip' : ['background'], + 'background-color' : ['background'], + 'background-image' : ['background'], + 'background-origin' : ['background'], + 'background-position-x' : ['background', 'background-position'], + 'background-position-y' : ['background', 'background-position'], + 'background-repeat-x' : ['background', 'background-repeat'], + 'background-repeat-y' : ['background', 'background-repeat'], + + 'border-bottom' : ['border'], + 'border-bottom-color' : ['border', 'border-bottom'], + 'border-bottom-style' : ['border', 'border-bottom'], + 'border-bottom-width' : ['border', 'border-bottom'], + + 'border-left' : ['border'], + 'border-left-color' : ['border', 'border-left'], + 'border-left-style' : ['border', 'border-left'], + 'border-left-width' : ['border', 'border-left'], + + 'border-right' : ['border'], + 'border-right-color' : ['border', 'border-right'], + 'border-right-style' : ['border', 'border-right'], + 'border-right-width' : ['border', 'border-right'], + + 'border-top' : ['border'], + 'border-top-color' : ['border', 'border-top'], + 'border-top-style' : ['border', 'border-top'], + 'border-top-width' : ['border', 'border-top'], + + 'border-color' : ['border'], + 'border-style' : ['border'], + + 'border-image-outset' : ['border-image'], + 'border-image-repeat' : ['border-image'], + 'border-image-slice' : ['border-image'], + 'border-image-source' : ['border-image'], + 'border-image-width' : ['border-image'], + + 'border-bottom-left-radius' : ['border-radius'], + 'border-bottom-right-radius' : ['border-radius'], + 'border-top-left-radius' : ['border-radius'], + 'border-top-right-radius' : ['border-radius'], + + 'font-style' : ['font'], + 'font-family' : ['font'], + 'font-size' : ['font'], + 'font-style' : ['font'], + 'font-variant' : ['font'], + 'font-weight' : ['font'], + + 'list-style-image' : ['list-style'], + 'list-style-position' : ['list-style'], + 'list-style-type' : ['list-style'], + + 'margin-bottom' : ['margin'], + 'margin-left' : ['margin'], + 'margin-right' : ['margin'], + 'margin-top' : ['margin'], + + 'padding-bottom' : ['padding'], + 'padding-left' : ['padding'], + 'padding-right' : ['padding'], + 'padding-top' : ['padding'], + + '-webkit-transition-property' : ['-webkit-transition'], + '-webkit-transition-duration' : ['-webkit-transition'], + '-webkit-transition-timing-function' : ['-webkit-transition'], + '-webkit-transition-delay' : ['-webkit-transition'] +}; \ No newline at end of file -- cgit v1.2.3