summaryrefslogtreecommitdiff
path: root/css/dump.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-01-29 21:54:35 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-01-29 21:54:35 +0000
commitcd5950936ade8320f3801ed213df41153e573f8b (patch)
tree8f5a6443fad219c2fadd4a1865df388a1d896fbb /css/dump.c
parent5d27aa256fc1778695312fedf21f9489f8232448 (diff)
downloadnetsurf-cd5950936ade8320f3801ed213df41153e573f8b.tar.gz
Add ability to dump opacity property, too
svn path=/trunk/netsurf/; revision=11528
Diffstat (limited to 'css/dump.c')
-rw-r--r--css/dump.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/css/dump.c b/css/dump.c
index 91d47a61e..1fe887400 100644
--- a/css/dump.c
+++ b/css/dump.c
@@ -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) {