diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-01-29 21:54:35 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-01-29 21:54:35 +0000 |
commit | cd5950936ade8320f3801ed213df41153e573f8b (patch) | |
tree | 8f5a6443fad219c2fadd4a1865df388a1d896fbb /css/dump.c | |
parent | 5d27aa256fc1778695312fedf21f9489f8232448 (diff) | |
download | netsurf-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.c | 14 |
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) { |