aboutsummaryrefslogtreecommitdiff
path: root/js/panels/CSSPanel/css-shorthand-map.js
blob: bc43ebc492fd3e255b86781a118d7b477e4522b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/* <copyright>
This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
(c) Copyright 2011 Motorola Mobility, Inc.  All Rights Reserved.
</copyright> */

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']
};