Add ability to dump opacity property, too

svn path=/trunk/netsurf/; revision=11528
This commit is contained in:
John Mark Bell 2011-01-29 21:54:35 +00:00
parent 5d27aa256f
commit cd5950936a
1 changed files with 14 additions and 0 deletions

View File

@ -1209,6 +1209,20 @@ void nscss_dump_computed_style(FILE *stream, const css_computed_style *style)
break;
}
/* opacity */
val = css_computed_opacity(style, &len1);
switch (val) {
case CSS_OPACITY_SET:
fprintf(stream, "opacity: ");
dump_css_fixed(stream, len1);
fprintf(stream, " ");
break;
default:
break;
}
/* outline-color */
val = css_computed_outline_color(style, &color);
switch (val) {