diff options
author | Pierre Frisch | 2011-12-22 07:25:50 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-01-27 11:18:17 -0800 |
commit | b89a7ee8b956c96a1dcee995ea840feddc5d4b27 (patch) | |
tree | 0f3136ab0ecdbbbed6a83576581af0a53124d6f1 /js/panels/CSSPanel/css-shorthand-map.js | |
parent | 2401f05d1f4b94d45e4568b81fc73e67b969d980 (diff) | |
download | ninja-b89a7ee8b956c96a1dcee995ea840feddc5d4b27.tar.gz |
First commit of Ninja to ninja-internal
Signed-off-by: Valerio Virgillito <rmwh84@motorola.com>
Diffstat (limited to 'js/panels/CSSPanel/css-shorthand-map.js')
-rw-r--r-- | js/panels/CSSPanel/css-shorthand-map.js | 77 |
1 files changed, 77 insertions, 0 deletions
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 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
5 | </copyright> */ | ||
6 | |||
7 | exports.CSS_SHORTHAND_MAP = { | ||
8 | 'background-attachment' : ['background'], | ||
9 | 'background-clip' : ['background'], | ||
10 | 'background-color' : ['background'], | ||
11 | 'background-image' : ['background'], | ||
12 | 'background-origin' : ['background'], | ||
13 | 'background-position-x' : ['background', 'background-position'], | ||
14 | 'background-position-y' : ['background', 'background-position'], | ||
15 | 'background-repeat-x' : ['background', 'background-repeat'], | ||
16 | 'background-repeat-y' : ['background', 'background-repeat'], | ||
17 | |||
18 | 'border-bottom' : ['border'], | ||
19 | 'border-bottom-color' : ['border', 'border-bottom'], | ||
20 | 'border-bottom-style' : ['border', 'border-bottom'], | ||
21 | 'border-bottom-width' : ['border', 'border-bottom'], | ||
22 | |||
23 | 'border-left' : ['border'], | ||
24 | 'border-left-color' : ['border', 'border-left'], | ||
25 | 'border-left-style' : ['border', 'border-left'], | ||
26 | 'border-left-width' : ['border', 'border-left'], | ||
27 | |||
28 | 'border-right' : ['border'], | ||
29 | 'border-right-color' : ['border', 'border-right'], | ||
30 | 'border-right-style' : ['border', 'border-right'], | ||
31 | 'border-right-width' : ['border', 'border-right'], | ||
32 | |||
33 | 'border-top' : ['border'], | ||
34 | 'border-top-color' : ['border', 'border-top'], | ||
35 | 'border-top-style' : ['border', 'border-top'], | ||
36 | 'border-top-width' : ['border', 'border-top'], | ||
37 | |||
38 | 'border-color' : ['border'], | ||
39 | 'border-style' : ['border'], | ||
40 | |||
41 | 'border-image-outset' : ['border-image'], | ||
42 | 'border-image-repeat' : ['border-image'], | ||
43 | 'border-image-slice' : ['border-image'], | ||
44 | 'border-image-source' : ['border-image'], | ||
45 | 'border-image-width' : ['border-image'], | ||
46 | |||
47 | 'border-bottom-left-radius' : ['border-radius'], | ||
48 | 'border-bottom-right-radius' : ['border-radius'], | ||
49 | 'border-top-left-radius' : ['border-radius'], | ||
50 | 'border-top-right-radius' : ['border-radius'], | ||
51 | |||
52 | 'font-style' : ['font'], | ||
53 | 'font-family' : ['font'], | ||
54 | 'font-size' : ['font'], | ||
55 | 'font-style' : ['font'], | ||
56 | 'font-variant' : ['font'], | ||
57 | 'font-weight' : ['font'], | ||
58 | |||
59 | 'list-style-image' : ['list-style'], | ||
60 | 'list-style-position' : ['list-style'], | ||
61 | 'list-style-type' : ['list-style'], | ||
62 | |||
63 | 'margin-bottom' : ['margin'], | ||
64 | 'margin-left' : ['margin'], | ||
65 | 'margin-right' : ['margin'], | ||
66 | 'margin-top' : ['margin'], | ||
67 | |||
68 | 'padding-bottom' : ['padding'], | ||
69 | 'padding-left' : ['padding'], | ||
70 | 'padding-right' : ['padding'], | ||
71 | 'padding-top' : ['padding'], | ||
72 | |||
73 | '-webkit-transition-property' : ['-webkit-transition'], | ||
74 | '-webkit-transition-duration' : ['-webkit-transition'], | ||
75 | '-webkit-transition-timing-function' : ['-webkit-transition'], | ||
76 | '-webkit-transition-delay' : ['-webkit-transition'] | ||
77 | }; \ No newline at end of file | ||