237 |
CSSProperty **last_prop, *first_prop; |
CSSProperty **last_prop, *first_prop; |
238 |
const CSSPropertyDef *def; |
const CSSPropertyDef *def; |
239 |
|
|
240 |
|
val = 0; |
241 |
first_prop = NULL; |
first_prop = NULL; |
242 |
last_prop = &first_prop; |
last_prop = &first_prop; |
243 |
p = props_str; |
p = props_str; |
385 |
goto got_val; |
goto got_val; |
386 |
} |
} |
387 |
if (type & CSS_TYPE_COLOR) { |
if (type & CSS_TYPE_COLOR) { |
388 |
|
QEColor color; |
389 |
/* XXX: color parsing is not always discriminant */ |
/* XXX: color parsing is not always discriminant */ |
390 |
if (!css_get_color(&val, buf)) { |
if (!css_get_color(&color, buf)) { |
391 |
|
val = color; |
392 |
unit = CSS_VALUE_COLOR; |
unit = CSS_VALUE_COLOR; |
393 |
goto got_val; |
goto got_val; |
394 |
} |
} |