summaryrefslogtreecommitdiff
path: root/src/select/computed.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-07-04 13:21:28 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-07-04 13:21:28 +0000
commit3b1a80cbb138c9c714efc0f32729506060c78c81 (patch)
tree344f832111f5dab566ed59b39ef65e42cac30cbc /src/select/computed.c
parent2f5753d607a93c8ae18aab3dd675b111af7d879d (diff)
downloadlibcss-3b1a80cbb138c9c714efc0f32729506060c78c81.tar.gz
libcss-3b1a80cbb138c9c714efc0f32729506060c78c81.tar.bz2
Move quotes property into common style block.
svn path=/trunk/libcss/; revision=8307
Diffstat (limited to 'src/select/computed.c')
-rw-r--r--src/select/computed.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/select/computed.c b/src/select/computed.c
index 7829b23..d8007c1 100644
--- a/src/select/computed.c
+++ b/src/select/computed.c
@@ -65,10 +65,7 @@ css_error css_computed_style_destroy(css_computed_style *style)
style->alloc(style->uncommon->counter_reset, 0,
style->pw);
}
-
- if (style->uncommon->quotes != NULL)
- style->alloc(style->uncommon->quotes, 0, style->pw);
-
+
if (style->uncommon->cursor != NULL)
style->alloc(style->uncommon->cursor, 0, style->pw);
@@ -86,6 +83,9 @@ css_error css_computed_style_destroy(css_computed_style *style)
if (style->font_family != NULL)
style->alloc(style->font_family, 0, style->pw);
+ if (style->quotes != NULL)
+ style->alloc(style->quotes, 0, style->pw);
+
style->alloc(style, 0, style->pw);
return CSS_OK;