summaryrefslogtreecommitdiff
path: root/src/select/computed.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2015-11-22 20:18:08 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2016-11-19 14:30:07 +0000
commitda2c006495db400134c3e788e398cbcba1dba1d0 (patch)
tree2623cb58dc94bac1e0f37070a383bdb113eaa3c5 /src/select/computed.h
parentd91bf786c42bd86a9d9159a6cd8e14e04ee29f39 (diff)
downloadlibcss-da2c006495db400134c3e788e398cbcba1dba1d0.tar.gz
libcss-da2c006495db400134c3e788e398cbcba1dba1d0.tar.bz2
Make node data contain list of partial node styles.
Diffstat (limited to 'src/select/computed.h')
-rw-r--r--src/select/computed.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/select/computed.h b/src/select/computed.h
index 57981b2..f77bda2 100644
--- a/src/select/computed.h
+++ b/src/select/computed.h
@@ -338,6 +338,10 @@ static inline css_computed_style * css__computed_style_ref(
if (style == NULL)
return NULL;
+ if (style->i.uncommon != NULL) {
+ style->i.uncommon->count++;
+ }
+
style->count++;
return style;
}