|
|
|
Lines 154-211
var gCSSProperties = {
|
Link Here
|
|---|
|
| 154 |
domProp: "MozBorderLeftColors", |
154 |
domProp: "MozBorderLeftColors", |
| 155 |
inherited: false, |
155 |
inherited: false, |
| 156 |
type: CSS_TYPE_LONGHAND, |
156 |
type: CSS_TYPE_LONGHAND, |
| 157 |
initial_values: [ "none" ], |
157 |
initial_values: [ "none" ], |
| 158 |
other_values: [ "red green", "red #fc3", "#ff00cc", "currentColor", "blue currentColor orange currentColor" ], |
158 |
other_values: [ "red green", "red #fc3", "#ff00cc", "currentColor", "blue currentColor orange currentColor" ], |
| 159 |
invalid_values: [ "red none", "red inherit", "red, green", "none red", "inherit red" ] |
159 |
invalid_values: [ "red none", "red inherit", "red, green", "none red", "inherit red" ] |
| 160 |
}, |
160 |
}, |
| 161 |
"border-radius": { |
161 |
"border-radius": { |
| 162 |
domProp: "MozBorderRadius", |
162 |
domProp: "borderRadius", |
| 163 |
inherited: false, |
163 |
inherited: false, |
| 164 |
type: CSS_TYPE_TRUE_SHORTHAND, |
164 |
type: CSS_TYPE_TRUE_SHORTHAND, |
| 165 |
subproperties: [ "border-bottom-left-radius", "border-bottom-right-radius", "border-top-left-radius", "border-top-right-radius" ], |
165 |
subproperties: [ "border-bottom-left-radius", "border-bottom-right-radius", "border-top-left-radius", "border-top-right-radius" ], |
| 166 |
initial_values: [ "0", "0px", "0px 0 0 0px" ], /* 0% ? */ |
166 |
initial_values: [ "0", "0px", "0px 0 0 0px" ], /* 0% ? */ |
| 167 |
other_values: [ "3%", "1px", "2em", "3em 2px", "2pt 3% 4em", "2px 2px 2px 2px", // circular |
167 |
other_values: [ "3%", "1px", "2em", "3em 2px", "2pt 3% 4em", "2px 2px 2px 2px", // circular |
| 168 |
"3% / 2%", "1px / 4px", "2em / 1em", "3em 2px / 2px 3em", "2pt 3% 4em / 4pt 1% 5em", "2px 2px 2px 2px / 4px 4px 4px 4px", "1pt / 2pt 3pt", "4pt 5pt / 3pt" // elliptical |
168 |
"3% / 2%", "1px / 4px", "2em / 1em", "3em 2px / 2px 3em", "2pt 3% 4em / 4pt 1% 5em", "2px 2px 2px 2px / 4px 4px 4px 4px", "1pt / 2pt 3pt", "4pt 5pt / 3pt" // elliptical |
| 169 |
], |
169 |
], |
| 170 |
invalid_values: [ "2px -2px", "inherit 2px", "inherit / 2px", "2px inherit", "2px / inherit", "2px 2px 2px 2px 2px", "1px / 2px 2px 2px 2px 2px" ] |
170 |
invalid_values: [ "2px -2px", "inherit 2px", "inherit / 2px", "2px inherit", "2px / inherit", "2px 2px 2px 2px 2px", "1px / 2px 2px 2px 2px 2px" ] |
| 171 |
}, |
171 |
}, |
| 172 |
"border-bottom-left-radius": { |
172 |
"border-bottom-left-radius": { |
| 173 |
domProp: "MozBorderRadiusBottomleft", |
173 |
domProp: "borderBottomLeftRadius", |
| 174 |
inherited: false, |
174 |
inherited: false, |
| 175 |
type: CSS_TYPE_LONGHAND, |
175 |
type: CSS_TYPE_LONGHAND, |
| 176 |
initial_values: [ "0", "0px" ], /* 0% ? */ |
176 |
initial_values: [ "0", "0px" ], /* 0% ? */ |
| 177 |
other_values: [ "3%", "1px", "2em", // circular |
177 |
other_values: [ "3%", "1px", "2em", // circular |
| 178 |
"3% 2%", "1px 4px", "2em 2pt" // elliptical |
178 |
"3% 2%", "1px 4px", "2em 2pt" // elliptical |
| 179 |
], |
179 |
], |
| 180 |
invalid_values: [ "-1px", "4px -2px", "inherit 2px", "2px inherit" ] |
180 |
invalid_values: [ "-1px", "4px -2px", "inherit 2px", "2px inherit" ] |
| 181 |
}, |
181 |
}, |
| 182 |
"border-bottom-right-radius": { |
182 |
"border-bottom-right-radius": { |
| 183 |
domProp: "MozBorderRadiusBottomright", |
183 |
domProp: "borderBottomRightRadius", |
| 184 |
inherited: false, |
184 |
inherited: false, |
| 185 |
type: CSS_TYPE_LONGHAND, |
185 |
type: CSS_TYPE_LONGHAND, |
| 186 |
initial_values: [ "0", "0px" ], /* 0% ? */ |
186 |
initial_values: [ "0", "0px" ], /* 0% ? */ |
| 187 |
other_values: [ "3%", "1px", "2em", // circular |
187 |
other_values: [ "3%", "1px", "2em", // circular |
| 188 |
"3% 2%", "1px 4px", "2em 2pt" // elliptical |
188 |
"3% 2%", "1px 4px", "2em 2pt" // elliptical |
| 189 |
], |
189 |
], |
| 190 |
invalid_values: [ "-1px", "4px -2px", "inherit 2px", "2px inherit" ] |
190 |
invalid_values: [ "-1px", "4px -2px", "inherit 2px", "2px inherit" ] |
| 191 |
}, |
191 |
}, |
| 192 |
"border-top-left-radius": { |
192 |
"border-top-left-radius": { |
| 193 |
domProp: "MozBorderRadiusTopleft", |
193 |
domProp: "borderTopLeftRadius", |
| 194 |
inherited: false, |
194 |
inherited: false, |
| 195 |
type: CSS_TYPE_LONGHAND, |
195 |
type: CSS_TYPE_LONGHAND, |
| 196 |
initial_values: [ "0", "0px" ], /* 0% ? */ |
196 |
initial_values: [ "0", "0px" ], /* 0% ? */ |
| 197 |
other_values: [ "3%", "1px", "2em", // circular |
197 |
other_values: [ "3%", "1px", "2em", // circular |
| 198 |
"3% 2%", "1px 4px", "2em 2pt" // elliptical |
198 |
"3% 2%", "1px 4px", "2em 2pt" // elliptical |
| 199 |
], |
199 |
], |
| 200 |
invalid_values: [ "-1px", "4px -2px", "inherit 2px", "2px inherit" ] |
200 |
invalid_values: [ "-1px", "4px -2px", "inherit 2px", "2px inherit" ] |
| 201 |
}, |
201 |
}, |
| 202 |
"border-top-right-radius": { |
202 |
"border-top-right-radius": { |
| 203 |
domProp: "MozBorderRadiusTopright", |
203 |
domProp: "borderTopRightRadius", |
| 204 |
inherited: false, |
204 |
inherited: false, |
| 205 |
type: CSS_TYPE_LONGHAND, |
205 |
type: CSS_TYPE_LONGHAND, |
| 206 |
initial_values: [ "0", "0px" ], /* 0% ? */ |
206 |
initial_values: [ "0", "0px" ], /* 0% ? */ |
| 207 |
other_values: [ "3%", "1px", "2em", // circular |
207 |
other_values: [ "3%", "1px", "2em", // circular |
| 208 |
"3% 2%", "1px 4px", "2em 2pt" // elliptical |
208 |
"3% 2%", "1px 4px", "2em 2pt" // elliptical |
| 209 |
], |
209 |
], |
| 210 |
invalid_values: [ "-1px", "4px -2px", "inherit 2px", "2px inherit" ] |
210 |
invalid_values: [ "-1px", "4px -2px", "inherit 2px", "2px inherit" ] |
| 211 |
}, |
211 |
}, |