OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Nikita Vasilyev. All rights reserved. | 2 * Copyright (C) 2010 Nikita Vasilyev. All rights reserved. |
3 * Copyright (C) 2010 Joseph Pecoraro. All rights reserved. | 3 * Copyright (C) 2010 Joseph Pecoraro. All rights reserved. |
4 * Copyright (C) 2010 Google Inc. All rights reserved. | 4 * Copyright (C) 2010 Google Inc. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions are | 7 * modification, are permitted provided that the following conditions are |
8 * met: | 8 * met: |
9 * | 9 * |
10 * * Redistributions of source code must retain the above copyright | 10 * * Redistributions of source code must retain the above copyright |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 "limegreen", "linen", "magenta", "mediumaquamarine", "mediumblue", "mediumor
chid", "mediumpurple", "mediumseagreen", | 156 "limegreen", "linen", "magenta", "mediumaquamarine", "mediumblue", "mediumor
chid", "mediumpurple", "mediumseagreen", |
157 "mediumslateblue", "mediumspringgreen", "mediumturquoise", "mediumvioletred"
, "midnightblue", "mintcream", | 157 "mediumslateblue", "mediumspringgreen", "mediumturquoise", "mediumvioletred"
, "midnightblue", "mintcream", |
158 "mistyrose", "moccasin", "navajowhite", "oldlace", "olivedrab", "orangered",
"orchid", "palegoldenrod", "palegreen", | 158 "mistyrose", "moccasin", "navajowhite", "oldlace", "olivedrab", "orangered",
"orchid", "palegoldenrod", "palegreen", |
159 "paleturquoise", "palevioletred", "papayawhip", "peachpuff", "peru", "pink",
"plum", "powderblue", "rosybrown", | 159 "paleturquoise", "palevioletred", "papayawhip", "peachpuff", "peru", "pink",
"plum", "powderblue", "rosybrown", |
160 "royalblue", "saddlebrown", "salmon", "sandybrown", "seagreen", "seashell",
"sienna", "skyblue", "slateblue", | 160 "royalblue", "saddlebrown", "salmon", "sandybrown", "seagreen", "seashell",
"sienna", "skyblue", "slateblue", |
161 "slategray", "slategrey", "snow", "springgreen", "steelblue", "tan", "thistl
e", "tomato", "turquoise", "violet", | 161 "slategray", "slategrey", "snow", "springgreen", "steelblue", "tan", "thistl
e", "tomato", "turquoise", "violet", |
162 "wheat", "whitesmoke", "yellowgreen" | 162 "wheat", "whitesmoke", "yellowgreen" |
163 ]; | 163 ]; |
164 | 164 |
165 WebInspector.CSSMetadata._distanceProperties = [ | 165 WebInspector.CSSMetadata._distanceProperties = [ |
166 'background-position', 'border-spacing', 'bottom', 'font-size', 'height', 'l
eft', 'letter-spacing', 'line-height', 'max-height', 'max-width', 'min-height', | 166 'background-position', 'border-spacing', 'bottom', 'font-size', 'height', 'l
eft', 'letter-spacing', 'max-height', 'max-width', 'min-height', |
167 'min-width', 'right', 'text-indent', 'top', 'width', 'word-spacing' | 167 'min-width', 'right', 'text-indent', 'top', 'width', 'word-spacing' |
168 ]; | 168 ]; |
169 | 169 |
170 WebInspector.CSSMetadata._colorAwareProperties = [ | 170 WebInspector.CSSMetadata._colorAwareProperties = [ |
171 "background", "background-color", "background-image", "border", "border-colo
r", "border-top", "border-right", "border-bottom", | 171 "background", "background-color", "background-image", "border", "border-colo
r", "border-top", "border-right", "border-bottom", |
172 "border-left", "border-top-color", "border-right-color", "border-bottom-colo
r", "border-left-color", "box-shadow", "color", | 172 "border-left", "border-top-color", "border-right-color", "border-bottom-colo
r", "border-left-color", "box-shadow", "color", |
173 "fill", "outline", "outline-color", "stroke", "text-line-through-color", "te
xt-overline-color", | 173 "fill", "outline", "outline-color", "stroke", "text-line-through-color", "te
xt-overline-color", |
174 "text-shadow", "text-underline-color", "-webkit-box-shadow", "-webkit-column
-rule-color", | 174 "text-shadow", "text-underline-color", "-webkit-box-shadow", "-webkit-column
-rule-color", |
175 "-webkit-text-decoration-color", "-webkit-text-emphasis", "-webkit-text-emph
asis-color" | 175 "-webkit-text-decoration-color", "-webkit-text-emphasis", "-webkit-text-emph
asis-color" |
176 ].keySet(); | 176 ].keySet(); |
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1020 * @param {string} longhand | 1020 * @param {string} longhand |
1021 * @return {?Array.<string>} | 1021 * @return {?Array.<string>} |
1022 */ | 1022 */ |
1023 shorthands: function(longhand) | 1023 shorthands: function(longhand) |
1024 { | 1024 { |
1025 return this._shorthands[longhand]; | 1025 return this._shorthands[longhand]; |
1026 } | 1026 } |
1027 } | 1027 } |
1028 | 1028 |
1029 WebInspector.CSSMetadata.initializeWithSupportedProperties([]); | 1029 WebInspector.CSSMetadata.initializeWithSupportedProperties([]); |
OLD | NEW |